开发者

How to get MSBuild to ignore project references?

开发者 https://www.devze.com 2023-03-18 15:47 出处:网络
How can I get MSBuild to completely ignore all the <ProjectReference> elements in my .cspro开发者_运维问答j? I really want it to build just the current project, without the projects that it depe

How can I get MSBuild to completely ignore all the <ProjectReference> elements in my .cspro开发者_运维问答j? I really want it to build just the current project, without the projects that it depends on.


msbuild MySolution.sln /t:MyProjectName /p:BuildProjectReferences=false

The key is the BuildProjectReferences=false parameter.

0

精彩评论

暂无评论...
验证码 换一张
取 消