Compiling a .vbproj or .csproj project file without Visual Studio

前端 未结 6 1992
梦谈多话
梦谈多话 2020-12-29 23:47

Is there a way to compile a .vbproj or .csproj project file directly, just like Visual Studio does?

When you compile in Visual Studio, the \"output\" window shows th

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-30 00:26

    At the top of a .vbproj file is a . Add this line to the property group to suppress the VB runtime:

    On
    

    MSBuild does the rest. No need to use the command line if you have the IDE.

提交回复
热议问题