是否有一个Visual Studio生成事件探查器? [英] Is there a Visual Studio Build Profiler?

查看:109
本文介绍了是否有一个Visual Studio生成事件探查器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的VS.NET 2008的解决方案正在越来越长编(ASP.NET 3.5 + ASP.NET MVC 2 + C#),我想知道是否有一种方法可以知道是什么项目需要较长的编译和为什么?我禁用了一些项目的编制,并有助于减少建造时间,但我想快了。

解决方案

 工具 - >选项​​ - >项目和解决方案 - >构建并运行
 

然后修改 MSBuild项目生成输出的详细程度

在正常(defaul是最小的),它提供了定时对每一个项目,所以这可以用来针点什么是唐氏导致慢。 (假设你使用的输出窗口)

或调整到一个更高的水平,看到的编译过程中正在发生的事情的更多细节。

My VS.NET 2008 solution is taking longer and longer to compile (ASP.NET 3.5 + ASP.NET MVC 2 + C#) and I am wondering if there is a way to know what project takes the longer to compile and why? I disabled the compilation of a few projects and it helped reduce the build time but I want it faster.

解决方案

Tools -> Options -> Projects and Solutions -> Build and Run

Then change MSBUild project build output verbosity

When on normal (defaul is minimal) it gives timings for each project, so this could be used to pin point what is causing the slow down. (Assuming you use the Output window)

Or adjust to a higher level to see more detail of what is going on during a compile.

这篇关于是否有一个Visual Studio生成事件探查器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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