Search code examples
c#command-linemsbuild

Need to msbuild C# project of lower version on commandline, without Visual Studio


I need to msbuild C# project of lower version on commandline, I donot have Visual Studios.

I am facing the error while building the project:

Microsoft (R) Build Engine Version 2.0.50727.42
[Microsoft .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation 2005. All rights reserved.

.\Project.sln : Solution file error MSB4054: The solution file must be opened in t
he Visual Studio IDE and converted to the latest version before it can be built
by MSBuild.

I have the .sln file and previously someone did build the project from here possibly with the Version 1.0 engine.

Can someone help me with this?


Solution

  • Ok, got permission from client to install VStudios. Installed and built the program :/