Doubt with version of Aspnet.Mvc

Asked

Viewed 42 times

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 I need to change the version of my Aspnet.Mvc ? If necessary how to make this change?

  • Have you ever taken a test? I believe you will not have any problem. Which hosting are you using?

  • I already checked, the framework is 4.5, I am using vbmahospedagem.com.br

1 answer

2


Not.

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

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

  • Correct, the framework is 4.5.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.