views:

68

answers:

1

I am trying to build release mode .

like that

msbuild LP.sln /p:buildmode=release Blockquote

but i get always debug . any idea why ?

I saw and checked following posts . link text link text

thanks a lot .

+4  A: 

That depends on the contents of that buildscript. VisualStudio C# uses the parameter Configuration to switch beteen Release and Debug. Not buildmode. You might want to try the following:

msbuild LP.sln /p:Configuration=Release
Lars Truijens