As many of you know, in Visual Studio 2013, if you create a new project using the One ASP.NET Web Application template, you can only create it using .NET Framework v. 4.5.
However, if you want to downgrade it for use with .NET Framework v. 4.0, you will receive the following error message in Visual Studio:
Therefore, if you want to downgrade to .NET v. 4.0, it means that you will have to modify all of your NuGet Packages in order to work with .NET v. 4.0.
However, if you want to downgrade it for use with .NET Framework v. 4.0, you will receive the following error message in Visual Studio:
Therefore, if you want to downgrade to .NET v. 4.0, it means that you will have to modify all of your NuGet Packages in order to work with .NET v. 4.0.
- Right-click on the project and select "Manage NuGet Packages"
- Click on the Updates-->All link
- You will be presented with an option to "Update All"
- Click on the "Update All" button to proceed to download all of the compliant NuGet packages for .NET 4.0.
- Re-build your project
- You may get error messages for System.Web.Mvc and Microsoft.AspNet.FriendlyUrls.
- For the System.Web.Mvc assembly, browse to the .NET 4.0 version in the Assemblies section of References
- For the Microsoft.AspNet.FriendlyUrls assembly, browse to the .NET 4.0 version in the NuGet packages directory.
- Re-build the project once more.
- If the project compiles, you have just migrated your One ASP.NET Project from .NET 4.5 to .NET 4.0!
No comments:
Post a Comment