Studio中很长的构建时间

Studio中很长的构建时间

本文介绍了在Visual Studio中很长的构建时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经与15个项目(14类库和一个Web应用程序)的解决方案。每个类库都有相应的测试项目(即如果我有MyApp.Services项目存在MyApp.Services.Tests - 使用NUnit)。一切都写在VB.NET。的问题是,当VS试图编译任何* .Tests项目它停止响应(该项目更大的时间越长,而不reposnse的期间)。我不知道从哪里开始寻找一个问题。我要补充的是我已经R·4.5安装。

I've a solution with 15 projects (14 class libraries and one web application). Each class library has corresponding test project (i.e. if I have MyApp.Services project there exists MyApp.Services.Tests -- using NUnit). Everything is written in VB.NET. The problem is that when VS tries to compile any of *.Tests project it stops responding (the bigger the project the longer the period without reposnse). I don't know where to start looking for an issue. I'll add that I've R# 4.5 installed.

更新1:

有什么办法进行基准测试在Visual Studio中构建?为了得到构建时间为每个项目?

Is there any way to benchmark a build in visual studio? To get build times for every project?

更新2:

似乎有禁用R·后无明显差异。

It seems that there is no difference after disabling R#.

推荐答案

尝试打开详细日志记录为构建

Try turning on verbose logging for the build

工具...选项...项目和​​解决方案......构建并运行...MSBuild项目生成输出的详细程度

Tools...Options...Projects and Solutions...Build and Run..."MSBuild project build output verbosity"

这应该能够帮助您是怎么回事更好的照片。

This should help you get a better picture of what is going on.

这篇关于在Visual Studio中很长的构建时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 21:43