Building C# Solution in Release mode using MSBuild.exe

前端 未结 1 788
终归单人心
终归单人心 2020-12-13 02:56

I am able to build a solution using MSBuild.exe, but my issue is I can only manage to get it to build in DEBUG mode. I need to build my solution in Release mode using MSBUIL

1条回答
  •  天涯浪人
    2020-12-13 03:33

    MsBuild.exe [Path to your solution(*.sln)] /t:Build /p:Configuration=Release /p:TargetFrameworkVersion=v4.0
    

    0 讨论(0)
提交回复
热议问题