(I submitted this on the Visual Studio Forum, I think it might be better here)
Hi,
I installed VS.NET 11 Beta, created a new MVC project and I get the following error:
---------------------------
Microsoft Visual Studio
---------------------------
The Web project 'MvcApplication1' requires missing web components to run with Visual Studio. Would you like to download and install them using the Web Platform Installer now?
(Note: Some components might require restart to take effect.)
ASP.NET Web pages with Razor syntax 1.0.0.0
---------------------------
Yes No
---------------------------
Attempting to download via the web installer fails (everything I read says the Beta should already have these components).
In addition I opened an existing project Asp.Net MVC project that runs under IIS, and I receive the following error:
Compiler Error Message:CS0433: The type 'System.Web.WebPages.HelperPage'
exists in both 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Web.WebPages\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.dll' and 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Web.WebPages\v4.0_1.0.0.0__31bf3856ad364e35\System.Web.WebPages.dll'
I tried uninstalling the Beta (and Developer Preview), and reinstalling the Beta as admin. Nothing seems to work, I still get the same errors above.
I was able to run the second project previously in the Developer Preview.
I am able to run my project after doing this the steps below from the release notes, but I still get the message stating: "The Web project 'MvcApplication1' requires missing web components to run with Visual Studio. Would you like to download and install
them using the Web Platform Installer now?"
At least I can run my project now though so many thanks!!!
Installing ASP.NET MVC 4 Beta breaks ASP.NET MVC 3 RTM applications.ASP.NET MVC 3 applications that were created with the RTM release (not with the ASP.NET MVC 3 Tools Update release) require the following changes in order to work side-by-side
with ASP.NET MVC 4 Beta. Building the project without making these updates results in compilation errors.
Required updates
In the root Web.config file, add a new <appSettings> entry with the key
webPages:Version and the value 1.0.0.0.
Jon_Proactiv...
Member
33 Points
21 Posts
Asp.Net MVC in Visual Studio 11 Beta - Not Working
Feb 29, 2012 09:40 PM|LINK
(I submitted this on the Visual Studio Forum, I think it might be better here)
Hi,
I installed VS.NET 11 Beta, created a new MVC project and I get the following error:
---------------------------
Microsoft Visual Studio
---------------------------
The Web project 'MvcApplication1' requires missing web components to run with Visual Studio. Would you like to download and install them using the Web Platform Installer now?
(Note: Some components might require restart to take effect.)
ASP.NET Web pages with Razor syntax 1.0.0.0
---------------------------
Yes No
---------------------------
Attempting to download via the web installer fails (everything I read says the Beta should already have these components).
In addition I opened an existing project Asp.Net MVC project that runs under IIS, and I receive the following error:
Compiler Error Message: CS0433: The type 'System.Web.WebPages.HelperPage' exists in both 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Web.WebPages\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.dll' and 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Web.WebPages\v4.0_1.0.0.0__31bf3856ad364e35\System.Web.WebPages.dll'
I tried uninstalling the Beta (and Developer Preview), and reinstalling the Beta as admin. Nothing seems to work, I still get the same errors above.
I was able to run the second project previously in the Developer Preview.
Help is appreciated!
Thanks,
Jon
ignatandrei
All-Star
134838 Points
21603 Posts
Moderator
MVP
Re: Asp.Net MVC in Visual Studio 11 Beta - Not Working
Feb 29, 2012 10:06 PM|LINK
read the release notes
http://www.asp.net/whitepapers/mvc4-release-notes#_Toc303253806
Jon_Proactiv...
Member
33 Points
21 Posts
Re: Asp.Net MVC in Visual Studio 11 Beta - Not Working
Feb 29, 2012 10:34 PM|LINK
Thank you!
I am able to run my project after doing this the steps below from the release notes, but I still get the message stating: "The Web project 'MvcApplication1' requires missing web components to run with Visual Studio. Would you like to download and install them using the Web Platform Installer now?"
At least I can run my project now though so many thanks!!!
Required updates
Replace them with the following: