VS2010构建分析

发布于 2025-01-05 23:32:50 字数 265 浏览 1 评论 0原文

我正在使用我们继承的 VS2010 解决方案。它有大约300个项目。从中期来看,我会尝试将其分解为多个解决方案,但我不能立即这样做。

一个迫在眉睫的问题是,如果我连续进行两次构建,第二次构建仍然会做很多工作,这对我来说“make”配置出了问题。分析构建配置以确定不正确的依赖项或其他问题的最佳方法是什么?

有没有一个工具可以做到这一点,或者我应该尝试自己制作一个工具?谢谢。 (该解决方案是在 VS2010 之前通过 VS2005 和 VS2008 迁移的,这可能对构建配置没有帮助)

I am working with a VS2010 solution we have inherited. It has approx 300 projects. Medium term I will try to break this down into multiple solutions, but I can't do that immediately.

One immediate problem is that if I do 2 consecutive builds, the second still does a lot of work, which says to me that something is wrong with the "make" configuration. What is the best way of analysing the build config to determine incorrect dependencies or other problems?

Is there a tool for doing this or shall I try and make my own? Thanks.
(The solution was migrated through VS2005 and VS2008 before getting to VS2010 which probably didn't help the build config)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妄想挽回 2025-01-12 23:32:50

第二次构建的“大量工作”可能只是预构建步骤中的操作,这些操作始终会执行。确保您至少获得“正常”而不是“最小”构建输出(工具->选项->项目和解决方案->构建和运行)。只需查看第二个输出即可为您提供所需的信息。据我所知,没有任何工具可以与构建日志文件进行比较,但自己编写应该不会太难。

The 'lot of work' from the second build could be just actions in the PreBuild steps, which are always executed. Make sure you get at least 'normal' instead of 'minimal' build output (Tools->Options->Projects and Solutions->Build and Run). Just looking at the second output should give you the information you need. As far as I know there's no tool to compare to build log files, but it shouldn't be too hard to write it yourself.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文