Visual Studio 2008 在构建解决方案时跳过项目

编程入门 行业动态 更新时间:2024-10-28 17:22:55
本文介绍了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 在构建解决方案时跳过项目

本文发布于:2023-05-28 12:26:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/320859.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:跳过   解决方案   项目   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!