Page 1 of 1

MSBuild Not working When Attempting to Build Projects Manually

Posted: Tue Apr 23, 2019 4:53 pm
by sheafox
I am trying to use MSBuild to build our test automation projects. However, I am getting several reference warning when I do this. Also the automation exe will not work once the build process completes. Is there a step I am missing? I am using a command similar to %WINDIR%\Microsoft.NET\Framework\v3.5\MSBuild.exe project.csproj.

Re: MSBuild Not working When Attempting to Build Projects Manually

Posted: Wed Apr 24, 2019 7:15 am
by odklizec
Hi,

To build the test via msbuild, you have to use 'sln' file, instead of 'csproj' file. Also, some warnings are normal. Usually, you don't have to care about them, as long as they are not errors ;) Hope this helps?