Visual Studio 2008 在构建解决方案时跳过项目 [英] Visual Studio 2008 skipping projects when building a solution

查看:40
本文介绍了Visual Studio 2008 在构建解决方案时跳过项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在 Win2k8R2 机器上安装了 VS2008 并打开了一个 VS2005 项目(C++).成功转换到 VS2008 后,我尝试在 Debug x64 模式下构建项目.但该项目正在被跳过.我尝试了 Clean 和 Rebuild,它也被跳过了.

I recently installed VS2008 in Win2k8R2 machine and opened a VS2005 project(C++). After successful conversion to VS2008, i tried building the project in Debug x64 mode. But the project is getting skipped. I tried Clean as well as Rebuild, and it is getting skipped for those as well.

我可以在 Debug win32 模式下构建.但我需要在 x64 模式下构建.

I'm able to build in Debug win32 mode. But i need to build in x64 mode.

在 x64 下的 Build->Configuration Manager 中也勾选了 Build 选项.

Also the Build option is ticked in Build->Configuration Manager under x64.

我也安装了 x64 位编译器.

I have installed the x64 bit compiler too.

如何解决这个问题并在 VS 2008 中构建项目?

How can i solve this problem and build the project in VS 2008?

推荐答案

有一个选项可以只构建当前活动的项目及其依赖项,不在依赖关系图中的项目即使需要构建也会被跳过.

There is an option to only build the currently active project and its dependencies, a project not in the dependency graph will be skipped even if it needs a build.

检查工具 |选项 |项目和解决方案 |构建和运行 |仅在 Run 上构建启动项目和依赖项.

Check Tools | Options | Projects And Solutions | Build and Run | Only Build Startup projects and dependencies on Run.

您还可以在 Project | 中查看项目间的依赖关系和网络构建顺序项目构建顺序(假设 C++ 项目可用 --- 没有人可以检查).

You can also see the inter-project dependencies and net build order in Project | Project Build Order (assuming with is available for C++ projects --- don't have one to hand to check).

这篇关于Visual Studio 2008 在构建解决方案时跳过项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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