[英]Save Visual Studio Build Configuration
Currently I use Visual Studio 2013 and I want to use my own build configuration (like Debug or Release for example) which I've created in project A, in project B. Is there a possibility to save and import a build config in general and to use it in other projects? 当前,我使用Visual Studio 2013,并且想要使用自己的构建配置(例如,调试或发行版),该配置是在项目A和项目B中创建的。是否有可能以常规方式保存和导入构建配置?在其他项目中使用它?
Jonas 乔纳斯
To my understanding, this is not possible directly, as the representation of the configuration is implicitly represented in the solution file ( *.sln
) and the project file ( *.vcproj
) by its name and conditions; 据我了解,这是不可能直接实现的,因为配置的表示是通过名称和条件在解决方案文件( *.sln
)和项目文件( *.vcproj
)中隐式表示的; however, similar to the answer to this question , the project files can be edited manually and similar parts can be factored out using the Import
element, which is documented here . 但是,类似于此问题的答案,可以手动编辑项目文件,并且可以使用Import
元素将相似的部分分解出来(在此处记录) 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.