I was also facing same issue got resolve by running the below command in nuget console
Install-Package Microsoft.Net.Compilers -Version 3.3.1
I was also facing same issue got resolve by running the below command in nuget console
Install-Package Microsoft.Net.Compilers -Version 3.3.1