C ++代码不在Visual Studio 2008中使用构建项目(F6)构建(C++ Code not building with build project (F6) in Visual Studio 2008)
我有一个包含C#和C ++项目的大型解决方案。 在我的类或函数中编写代码后,我运行一个构建以使解析器检查语法。 我注意到的是,当我按F6时,整个解决方案将生成并解析,除了我正在处理的C ++文件。
这似乎不是编辑器的预期功能,所以当我执行构建时,有什么办法可以强制执行?
谢谢,
PS我知道我可以去重建项目并强制构建这种方式。 我正在寻找一种方法让编辑对C ++和C#文件的处理保持一致。
I have a large solution that contains C# and C++ projects. After I code in my classes or functions I run a build to have the parser check syntax. What I have noticed is that when I press F6 the entire solution will build and get parsed except for the C++ files that I'm working on.
This seems like it's not the intended function of the editor so is there a way I can force this to happen when I perform a build?
Thanks,
P.S. I know I can go to rebuild project and force a build that way. I'm looking for a way to have the editors treatment of C++ and C# files be consistent.
原文:https://stackoverflow.com/questions/1279646