用了文章的方法修改, 但未能解決問題.
(1) C1StudioAspWijmo_2013v1內的範例MVCExplorer.sln的MVCExplorer.csproj找不到:
<Reference Include="System.Web.WebPages"/>
<Reference Include="System.Web.Helpers" />
同時, 範例出現很多errors:
Error 1 The type or namespace name 'Infrastructure' does not exist in the namespace 'System.Data.Entity' (are you missing an assembly reference?) C:\Users\Safilo\Documents\ComponentOne Samples\Studio for ASP.NET Wijmo\ASP.NET MVC Tools\CS\MVCExplorer\Models\Northwind.Context.cs 14 30 MVCExplorer
Error 2 The type or namespace name 'DbContext' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Safilo\Documents\ComponentOne Samples\Studio for ASP.NET Wijmo\ASP.NET MVC Tools\CS\MVCExplorer\Models\Northwind.Context.cs 16 46 MVCExplorer
Error 3 'object' does not contain a constructor that takes 1 arguments C:\Users\Safilo\Documents\ComponentOne Samples\Studio for ASP.NET Wijmo\ASP.NET MVC Tools\CS\MVCExplorer\Models\Northwind.Context.cs 19 15 MVCExplorer
Error 13 The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Safilo\Documents\ComponentOne Samples\Studio for ASP.NET Wijmo\ASP.NET MVC Tools\CS\MVCExplorer\Models\Northwind.Context.cs 35 16 MVCExplorer
(2) 在Visual Studio 2010 Pro C#找不到"ASP.NET MVC 4 Wijmo Application"範本
(3) 安裝C1StudioUltimate_2013v1後, 不能再執行C1StudioUltimate_2012v3去反安裝舊版本(沒有提供選項, 只提示已安裝了較新的版本) |