Itai Bar
Itai Bar

Reputation: 767

Does MSBuild also link?

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

Answers (1)

Mr Qian
Mr Qian

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

Related Questions