Reputation: 767
I have used msbuild from commandline to build my sln projects. But I can't find the exe output anywhere. Can anyone explain me what I am doing wrong? Thanks
Upvotes: 0
Views: 87
Reputation: 23828
If you use MSBuild command line to build your project, it can specify the outputpath
of the project.
Use like this -p:outputpath=C:\test
, C:\test
is the new output folder of your project.
More msbuild command line arguments, you can refer to this document.
So you should use like this:
msbuild xxx\xxx.sln -t:build -p:outputpath=xxx(specified new output path)
Upvotes: 1