Monodevelop Failure "Unknown Msbuild Failure" on Linux

MonoDevelop Error: Unknown MSBuild failure. Please try building the project again

I too had the same problem when I first installed it , I assume you went straight to file -> new-> file-> general -> emptyc# file.

Instead of that, go to file->new-> solution from there choose Console C# project or simply press ctrl + shift + N choose next ,and give project name, by default the new project has a simple hello world program run it, this time it will work.(it worked for me)

Monodevelop: MSBuild process could not be started

Go to the project options of your project in monodevelop. At Build -> General, there is a new option called Use MSBuild engine (recommended for this project type). Uncheck this option.

MonoDevelop invalid static method invocation syntax: [MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)'

I manage to run my solution with Visual Studio Code as suggested by @Lex Li.
i found an article that suggest to install C# and of course .Net Core framework and SDK and then I was able to run the solution with the Debug functionality of VS Code.

https://laroccanicola.medium.com/first-contact-with-net-core-2-and-visual-studio-code-in-linux-ubuntu-6f0d66c67739

Not sure why I never found this information in my research for a substitute of VS for Linux, maybe most of the information out there are so outdated that is just recently possible to use VS code for .Net core project. Not sure.
I hope this can save time to others



Related Topics



Leave a reply



Submit