2016年7月27日 星期三

VS2013 MVC 5專案升級VS2015

 

Tool:Visual Studio 2015 Ultimate Update 3
OS:Windows 10
.NET Framework : 4.6.x

將VS 2013 MVC專案,拿到VS2015的環境開起來,雖然程式可以正確編譯,但執行網站產生錯誤,訊息:

 

Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

2016年7月13日 星期三

EF Power Tools for VS2015

 

Tool:Visual Studio 2015 Ultimate Update 3 + Entity Framework Power Tools
OS:Windows 10
.NET Framework : 4.6.x

Entity Framework Power Tools的功能可參考[這篇文章]。

根據[這篇文章]的說明,在Visual Studio 2015 試了一下,若要在Visual Studio 2015 使用Entity Framework Power Tools,可以採用以下步驟:

總網頁瀏覽量