Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含 10 个程序集的解决方案文件。当我构建解决方案时,我想从构建中排除其中的 5 个并将其放入 Release 文件夹中。我尝试进入解决方案的属性并取消勾选配置属性中构建列中的程序集,但这不起作用。
如果可以通过在 VS 中单击您的解决方案并选择 Configuration Manager 并在活动解决方案配置组合框中选择New 取消选择任何项目来使用 Visual Studio 的 Configuration Manager 工具。
New
通过右键单击每个项目的任何选择属性部分并转到“构建”选项卡,可以为这个新创建的构建提供更多配置选项(如输出路径将是可编辑的)