Visual Studio解决方案文件-"Build.0&"是什么?意思是? [英] Visual Studio solution file - what does the "Build.0" mean?

查看:149
本文介绍了Visual Studio解决方案文件-"Build.0&"是什么?意思是?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自定义构建配置时,我正在查看我的Visual Studio .sln文件(之所以如此,是因为长期以来涉及到无法在VS2012中加载的项目).

I'm looking at my Visual Studio .sln file as I'm customising build configurations (the reason why is a long story involving projects that won't load in VS2012).

有人知道构建配置部分的 Build.0 是什么意思吗?这是否表示该项目已打勾,要在此构建配置下进行构建?

Does anyone know what the Build.0 part of the build config section means? Does it mean that this project is ticked to be built under this build configuration?

ActiveCfg又与什么有关?

{CFHHHA78-C688-40B3-B53A-20C963A6F138}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CFHHHA78-C688-40B3-B53A-20C963A6F138}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CFHHHA78-C688-40B3-B53A-20C963A6F138}.Debug|Mixed Platforms.ActiveCfg = Debug|AnyCPU
{CFHHHA78-C688-40B3-B53A-20C963A6F138}.Debug|x86.ActiveCfg = Debug|Any CPU

也欢迎任何指向.sln文件演练的链接.与往常一样, MSDN .sln文件说明有点神秘,似乎无法完全解释sln文件的这一部分.

Any links to .sln file walkthroughs would also be welcome. As always, the MSDN .sln file explanation is a little cryptic and doesn't seem to fully explain this part of the sln file.

推荐答案

是的,您的直觉是正确的.这确实意味着该项目已选中其Build选项,以在构建配置下进行构建.我只是通过在一个Visual Studio实例中打开解决方案,并在另一个Visual Studio实例的文本编辑器(打开)中打开.sln文件来测试这一点.如果您在第一个中更改了配置选项并保存了所有内容,那么第二个中将看到适当的更改.

Yes, your hunch was right. It does mean that the project has its Build option ticked to build under the build configuration. I just tested this by opening the solution in one instance of Visual Studio and the .sln file in the text editor (open with) of another Visual Studio instance. If you change the configuration options in the first and save all, you will see the appropriate changes in the second.

这篇关于Visual Studio解决方案文件-"Build.0&"是什么?意思是?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆