Visual studio - can't remove project configurations

前端 未结 8 881
Happy的楠姐
Happy的楠姐 2020-12-29 01:36


I have a major problem with project configurations. Everything started when I wanted to add new solution configuration (named \"Dev_WithSource\") based on existing \"De

8条回答
  •  甜味超标
    2020-12-29 01:47

    Let's suppose you want to remove "Release" configuration from the entire solution and the projects. So, first you go to Tools -> Nuget Package Manager -> Package Manager Console. From that console use the following command to remove the build from all the projects in the solution :

    Get-Project -All | Foreach { $_.ConfigurationMAnager.DeleteConfigurationRow("Release") }
    

    Then you remove it solution-wise as explained by Mike Grimm.

提交回复
热议问题