VisualStudio2010はMVC1.0と互換性がありますか
こんにちはみんな、
よろしくお願いします。
私はMVC1.0プロジェクトとVS2008を使用しています。
VS2010にアップグレードできてとてもうれしいですが、MVC1.0との互換性については疑問があります。
あなたはそれをしましたか?その結果はどうでしたか?
VisualStudio2010はMVC1.0と互換性がありますか
こんにちはみんな、
よろしくお願いします。
私はMVC1.0プロジェクトとVS2008を使用しています。
VS2010にアップグレードできてとてもうれしいですが、MVC1.0との互換性については疑問があります。
あなたはそれをしましたか?その結果はどうでしたか?
すべてが順調に見えました。少しハッキングが必要でしたが、動作させることができました。
Visual Studio 2010 will come with ASP.NET MVC 2.0 out of the box, so your best bet is converting your existing 1.0 project to 2.0.
Your ASP.NET MVC 1.0 project should be (almost) fully compatible with ASP.NET MVC 2.0 (there are a small number of minor breaking changes). All that is required for converting the project to ASP.NET MVC 2.0 is a GUID change in the project file.
See the ASP.NET MVC 2.0 Release Notes for more information about compatibility and conversion.
<pages validateRequest="false" pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<controls>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" namespace="System.Web.Mvc" tagPrefix="mvc" />
</controls>
</pages>
System.Web.MVC、バージョン 2.0.0.0 への参照を 1.0.0.0 に置き換えましたが、System.Web.Mvc.ViewTypeParserFilter と System.Web.Mvc.ViewPage がバージョン 2.0 を使用していたため、View not found エラーが発生していました。 web.config の 0.0。