2011-09-25 95 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

如果在建模項目中有層圖,則可能需要很長時間才能進行驗證。嘗試暫時從解決方案中刪除模型項目,然後重新編譯以測試是否是減速的來源。

相關問題