Doubt with version of AspNet.Mvc

3

In my packages.config I have the following settings:

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="bootstrap" version="3.0.0" targetFramework="net45" />
  <package id="jQuery" version="1.10.2" targetFramework="net45" />
  <package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net45" />
  <package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net45" />
  <package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net45" />
  <package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="1.0.0" targetFramework="net45" />
  <package id="Microsoft.Net.Compilers" version="1.0.0" targetFramework="net45" developmentDependency="true" />
  <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
  <package id="Modernizr" version="2.6.2" targetFramework="net45" />
</packages>

My hosting server shows that I have:

ASP.NET 4.5

MVC 5

In this case do I need to change the version of my AspNet.Mvc? If it is necessary how to make this change?

    
asked by anonymous 04.01.2016 / 15:01

1 answer

2

No.

Just make sure your project is exactly in this version of framework , by right-clicking on the project and selecting the Properties option.

If you are in version 4.5 of framework and build does not fail, the project is apt to rise in this environment.     

04.01.2016 / 15:08