2009-08-10 152 views
5

每當我打開包含多個數據庫項目的SLN時,需要很長時間(10至15分鐘)打開。我得到的消息是:數據庫項目需要很長時間才能打開

Analyzing database schema. Your database projects will be ready after 23000 operations are completed. 
Analyzing database schema. Your database projects will be ready after 45000 operations are completed. 
Analyzing database schema. Your database projects will be ready after 59871 operations are completed. 
Analyzing database schema. Your database projects will be ready after 63254 operations are completed. 
Analyzing database schema. Your database projects will be ready after 87698 operations are completed. 

Visual Studio不會告訴我它正在分析什麼?

有什麼辦法可以加快這個過程嗎?

回答

5

它序列化一個DBMDL文件。這需要很長時間,具體取決於項目的規模/複雜程度。例如,我們的一個是150MB,完成所有「操作」需要將近20分鐘。

我會建議每個解決方案一個項目 - 它不斷,直到他們完成在您的Temp文件夾更新這些DBMDL文件,然後將它們複製到你的工作文件夾,並可能導致相當多的磁盤活動。

我也將看到關於優化這些 - 在一些情況下花費的時間真的是一個障礙。

相關問題