啓動vs2015專業版時,出現相似於這樣的提示框,有好幾個,點擊是或否,但下次打開仍是會出現。筆者也尋找了網上的一些解決辦法,例如用vs命令窗口或其餘,但都無疾而終,下面提供的這個辦法,順利解決此問題,以供.net從業者參考。ide
打開路徑 C:\Users\用戶名\AppData\Roaming\Microsoft\VisualStudio\14.0 將下面的文檔放入該文件夾;ui
文檔名:ActivityLog.xmlspa
內容: .net
<entry> <record>257</record> <time>2010/05/02 20:36:35.490</time> <type>Error</type> <source>VisualStudio</source> <description>CreateInstance failed for package [Microsoft.Data.Entity.Design.BootstrapPackage.BootstrapPackage, Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description> <guid>{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}</guid> <hr>80070002</hr> <errorinfo>Could not load file or assembly 'Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo> </entry> <entry> <record>258</record> <time>2010/05/02 20:36:35.513</time> <type>Error</type> <source>VisualStudio</source> <description>End package load [Microsoft.Data.Entity.Design.BootstrapPackage.BootstrapPackage, Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description> <guid>{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}</guid> <hr>80004005 - E_FAIL</hr> <errorinfo>Could not load file or assembly 'Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo> </entry>