2011-09-25 98 views
3

酷睿i7 + 16GB内存+ RAID 0 +剥离Win7旗舰版64位Visual Studio 2010的速度很慢

当我编译我的web项目,Visual Studio 2010的最终32位,需要很长的时间(总建造时间! ),并且通常会在我将某些内容更改为ASPX代码时附加。

编译单个项目的速度非常快,但编译后,完成整个过程需要很长时间。

有什么建议吗?

PS我已经尝试过禁用防病毒软件和智能跟踪

Build Summary 
------------- 
00:00.561 - Success - Debug Any CPU - CodcastWeb.Infrastructure.Data\CodcastWeb.Infrastructure.Data.csproj 
00:00.546 - Success - Debug Any CPU - CodcastWeb.Web.Client\CodcastWeb.Web.Client.csproj 
00:00.196 - Success - Debug Any CPU - CodcastWeb.Database\CodcastWeb.Database.dbproj 
00:00.174 - Success - Debug Any CPU - CodcastWeb.Web.Client.Tests\CodcastWeb.Web.Client.Tests.csproj 
00:00.097 - Success - Debug Any CPU - CodcastWeb.Application\CodcastWeb.Application.csproj 
00:00.092 - Success - Debug Any CPU - CodcastWeb.Infrastructure.CrossCutting\CodcastWeb.Infrastructure.CrossCutting.csproj 
00:00.085 - Success - Debug Any CPU - CodcastWeb.Application.DTOs\CodcastWeb.Application.DTOs.csproj 
00:00.081 - Success - Debug Any CPU - CodcastWeb.Application.Tests\CodcastWeb.Application.Tests.csproj 
00:00.077 - Success - Debug Any CPU - CodcastWeb.Domain\CodcastWeb.Domain.csproj 
00:00.034 - Success - Debug Any CPU - CodcastWeb.DistributedServices\CodcastWeb.DistributedServices.csproj 
00:00.013 - Success - Debug Any CPU - CodcastWeb.Modeling\CodcastWeb.Modeling.modelproj 

Total build time: 06:27.796 

========== Build: 11 succeeded or up-to-date, 0 failed, 0 skipped ========== 
+0

你为什么要取消Felix的编辑? – fvu

回答

0

是你的项目的Web站点“或“Web应用程序”,因为前者需要更长的时间来编译比后来的(如编译器去通过逐个文件,使网站的文件越多越慢)。

检查文件大小是否有任何依赖项(例如来自另一个项目或库的输出)被复制到必须移动的输出bin目录中,因为这可能会附加正被复制的资源 - 因此减速是文件复制操作。

看着你的构建输出,有什么缺失?每个项目都需要几秒钟的时间,因此无法确定6小时总计的来源。它似乎只是挂在最后一个项目后?在这种情况下,听起来像Visual Studio将从重新安装中受益。

0

如果在建模项目中有层图,则可能需要很长时间才能进行验证。尝试暂时从解决方案中删除模型项目,然后重新编译以测试是否是减速的来源。

相关问题