Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building existing sln fails with Visual Studio 2019

I just upgraded to VS2019 and am unable to build an existing solution. The Compiler generates the following error on some of the projects within the solution:

The "DisableSdkPath" parameter is not supported by the "Csc" task. Verify the parameter exists on the task, and it is a settable public instance property.

like image 548
earloc Avatar asked Dec 07 '22 12:12

earloc


1 Answers

Check if you are using the Microsoft.Net.Compilers package. Upgrading to Version 3.0.0 resolved the issue on my side.

like image 149
earloc Avatar answered Dec 10 '22 03:12

earloc