I am using Visual Web Develop 2010 express, creating the default ASP.NET MVC3 Web Application with Razor and HTML5. I went to the Winhost to change it to use ASP 4.0 to remove the first error. I now get: Could not load file or assembly 'System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' I seached the forums and downloaded the AjaxControlToolkit just like: http://www.ajaxtutorials.com/ajax-c...in-visual-studio-web-developer-2010-tutorial/ I recompiled my project but it still doesnt work; web.config still says 1.0.0.0. I manually changed it to 3.5.0.0 that didnt work either. I am using a new project, not a new website, when I create a new project. How do I get my project to use ajax 3.5? Its far more than minorly annoying that I download the lastest visual studio stuff and make a default project and I've spend 3 hrs now trying to get this to work. Please help
As a side question, am I only supposed to create 'new web sites' and not 'new projects'? Surely people have run into this before and its a 10 second step to get a project to use the 3.5 ajax.
To be clear I have the default asp.net mvc 3 project, I added the ajaxcontroltoolkit to the toolbox, built the application, built the delployment package, then published it. The error I get is: <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> which is in web.config. If I manually change it to be 3.5.0.0 it still fails. what step am i missing?
I found a forum post that was the solution to my problem! Below is the step I was missing.... Hello world works! This means goto your references in the solution explorer (top right pane in Visual Studio) Change the property "Copy Local" to true for the following references: System.Web.Helpers System.Web.MVC System.Web.WebPages Add the following references and perform the above "copy local" step: Microsoft.Web.Infrastructure System.Web.Razor System.Web.WebPages.Razor System.Web.WebPages.Deployment