How do I install "OutDir" on the command line with Mono xbuild.exe?

I am trying to build a C # solution in msysgit (Windows) using the same build command as with msbuild:

"C:/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe" /p:Configuration=Debug /p:OutDir="c:\projects\proudly\build" "src/Proudly.Identity.sln"

With msbuild, the build output goes to my folder /build

and all is well. Now when I run the same command with Mono xbuild like so:

"C:/Program Files (x86)/Mono/lib/mono/xbuild/12.0/bin/xbuild.exe" /p:Configuration=Debug /p:OutDir="c:\projects\proudly\build" "src/Proudly.Identity.sln"

... and my build output goes /bin/Debug

to a per project folder instead of my build folder.

I was under the impression that xbuild can be used in the same way as msbuild. Any hint what I am doing wrong?

+3
mono xbuild


source to share


No one has answered this question yet

Check out similar questions:

6
How to solve xbuild '.NETPortable, Version = v4.0, Profile = Profile344' issue on Linux
five
Targeting MONO runtime causes Xamarin Build to crash
3
Building MonoDevelop v7.0.0 on Ubuntu 16.04, with Mono 5.0
3
How can I use Mono xbuild to build a TypeScript project on Linux?
2
XBuild reports too many project files but works with MSBuild
1
Can't build PCL with xbuild on Ubuntu
0
How to compile my C # solution with msbuild from command line
0
Setting up cross-platform development for Mono / ARM
0
xbuild - where is the compiled application?
0
xbuild does not build resources from the shared project



All Articles
Loading...
X
Show
Funny
Dev
Pics