{"id":4574,"date":"2008-03-12T02:28:40","date_gmt":"2008-03-12T02:28:40","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/2008\/03\/12\/tips-tricks-upgrading-projects-from-asp-net-mvc-preview-1-to-preview-2-mix-2008\/"},"modified":"2008-03-12T02:28:40","modified_gmt":"2008-03-12T02:28:40","slug":"tips-tricks-upgrading-projects-from-asp-net-mvc-preview-1-to-preview-2-mix-2008","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/tips-tricks-upgrading-projects-from-asp-net-mvc-preview-1-to-preview-2-mix-2008\/","title":{"rendered":"Tips &amp; Tricks: Upgrading Projects from ASP.NET MVC Preview 1 to Preview 2 (MIX 2008)"},"content":{"rendered":"<p>&#160;<\/p>\n<p>If you previously had ASP.NET MVC Preview 1 (CTP 1) and had already created a few projects on it then you might have to take this additional step to convert your project to ASP.NET MVC Preview 2 (MIX 2008) [After installing MVC Preview 2 (<a href=\"http:\/\/vishaljoshi.blogspot.com\/2008\/03\/aspnet-mvc-framework-preview-2-mix-2008.html\" target=\"_blank\" rel=\"noopener\">Resources here<\/a>)].<\/p>\n<p>In ASP.NET MVC Preview 2 we introduced a special MVC Project flavor GUID for MVC Projects.&#160; Some of the special MVC project behaviors described in my previous post &quot;<a href=\"http:\/\/vishaljoshi.blogspot.com\/2008\/02\/tooling-features-overview-of-aspnet-mvc.html\" target=\"_blank\" rel=\"noopener\">Tooling Features Overview<\/a>&quot;&#160; may not function as expected e.g. new &#8216;MVC&#8217; node under the &#8216;Web&#8217; node for &#8216;Add new Items Dialog Box&#8217; may not show&#8230; <\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/AddnewItem_2.jpg\"><img decoding=\"async\" style=\"border-right: 0px;border-top: 0px;border-left: 0px;border-bottom: 0px\" height=\"373\" alt=\"AddnewItem\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2008\/03\/AddnewItem_thumb.jpg\" width=\"615\" border=\"0\" \/><\/a> <\/p>\n<p>&#160;<\/p>\n<p>To make the project features to function as expected in Preview 2, open the MVC project file (.csproj\/.vbproj) of the project you created using MVC Preview 1.&#160; Look for &#8216;ProjectTypeGuids&#8217;&#8230; You will find the below piece of code&#8230; <\/p>\n<p>&#160;&#160;&#160;&#160;&#160;&#160; &lt;ProjectTypeGuids&gt;{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}&lt;\/ProjectTypeGuids&gt;<\/p>\n<p>Replace the above with:<\/p>\n<p>&lt;ProjectTypeGuids&gt;{603c0e0b-db56-11dc-be95-000d561079b0};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}&lt;\/ProjectTypeGuids&gt;<\/p>\n<p>When you reload\/reopen your project your MVC Preview 2 functionality will be available in the projects you created MVC Preview 1.&#160; Do note this in addition to other steps mentioned in the <a href=\"http:\/\/www.asp.net\/downloads\/3.5-extensions\/readme\/Preview2.aspx\" target=\"_blank\" rel=\"noopener\">Readme Document for ASP.NET MVC Preview 2<\/a> which goes into greater details of upgrade scenario&#8230;<\/p>\n<p>Vishal R. Joshi | Program Manager | Visual Studio Web Developer<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#160; If you previously had ASP.NET MVC Preview 1 (CTP 1) and had already created a few projects on it then you might have to take this additional step to convert your project to ASP.NET MVC Preview 2 (MIX 2008) [After installing MVC Preview 2 (Resources here)]. In ASP.NET MVC Preview 2 we introduced a [&hellip;]<\/p>\n","protected":false},"author":404,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[4,31,7288,7262,7286,7290,7263,7272,7284],"class_list":["post-4574","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","tag-net","tag-asp-net","tag-asp-net-mvc-framework","tag-development","tag-mvc","tag-mvc-preview-2","tag-pm","tag-tips-and-tricks","tag-vishal-r-joshi"],"acf":[],"blog_post_summary":"<p>&#160; If you previously had ASP.NET MVC Preview 1 (CTP 1) and had already created a few projects on it then you might have to take this additional step to convert your project to ASP.NET MVC Preview 2 (MIX 2008) [After installing MVC Preview 2 (Resources here)]. In ASP.NET MVC Preview 2 we introduced a [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/404"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=4574"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4574\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=4574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=4574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=4574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}