I have created a simple C# .net core console application project in VS MacOS. But I get error MSB4057. There a similar question on stackoverflow but doesn't explain anything how to fix this kind of error.
The problem is same when I create asp.net core project.
Build FAILED.
/Users/abhimanyuaryan/Unity3D/LearnCSharp/LearnCSharp/LearnCSharp.csproj : error MSB4057: The target "Build" does not exist in the project.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.02
---------------------- Done ----------------------
Build: 1 error, 0 warnings
It is very important to upgrade Mono 4.8 to its latest build, (in my case)
http://www.mono-project.com
Then the bundled build environment can successfully compile the project.
It seems the built in updater does not upgrade Mono runtime as expected.
Updated: Now the installer should assist you install Mono 5.0 automatically.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With