How do I target a specific .NET project within a Solution using MSBuild from VS2010?

后端 未结 3 2184
Happy的楠姐
Happy的楠姐 2020-12-14 09:39

I have an MSBuild command line that can build an entire solution. It looks something like this:

msbuild SomeSolution.sln /p:Configuration:CustomDebug;Platform=Our

3条回答
  •  暖寄归人
    2020-12-14 10:32

    Invoke MSBuild on the project file instead of the solution file (ref.msbuild /?)

    msbuild SomeDotNetProject\SomeDotNetProject.csproj /p:Configuration:CustomDebug;Platform=OurPlatform /nodeReuse:false /maxcpucount:4 /t:Build
    

提交回复
热议问题