开发者

Is it possible to set project's Output Path property from nuget powershell?

I would like to set Visual Studio project property "Output Path" from nuget powershell console. How could it be done?

I have found a blog post describing how to set some project properties, but Output Path is not included.

Furthermore, the Output Path property depends on current build configuration 开发者_开发问答(Debug/Release). How can be the Output Path set for any configuration (not active at the time)?


You want to set (Get-Project).ConfigurationManager.ActiveConfiguration.Properties.Item("OutputPath").Value for example:

(Get-Project).ConfigurationManager.ActiveConfiguration.Properties.Item("OutputPath").Value = "bin\NewDebugPath"
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜