aspnetmvc6 I can not update

1

To test the visual studo 2015 I created an asp.net mvc project and so wanting upgrades it to use the new version 6 beta. but with an error here

How do I resolve this?

I had to update the entity framework gave it

Installing 'EntityFramework 6.1.2'.
Successfully installed 'EntityFramework 6.1.2'.
Executing script file 'C:\Users\amj\Source\Repos\Teste\WebApplication1\packages\EntityFramework.6.1.2\tools\init.ps1'.
Removing 'EntityFramework 6.1.1' from WebApplication1.
Added file 'Web.config'.
Removed reference 'EntityFramework.dll' from project 'WebApplication1'
Removed reference 'EntityFramework.SqlServer.dll' from project 'WebApplication1'
Added file 'packages.config'.
Successfully removed 'EntityFramework 6.1.1' from WebApplication1.
Adding 'EntityFramework 6.1.2' to WebApplication1.
For adding package 'EntityFramework 6.1.2' to project 'WebApplication1' that targets 'net451',
>> Assembly references are being added from 'lib\net45'
>> Content files are being added from 'content' (not framework-specific)
Added file 'Web.config'.
Added reference 'EntityFramework' to project 'WebApplication1'
Added reference 'EntityFramework.SqlServer' to project 'WebApplication1'
Added file 'packages.config'.
Successfully added 'EntityFramework 6.1.2' to WebApplication1.
Executing script file 'C:\Users\amj\Source\Repos\Teste\WebApplication1\packages\EntityFramework.6.1.2\tools\install.ps1'.

Type 'get-help EntityFramework' to see all available Entity Framework commands.
Uninstalling 'EntityFramework 6.1.1'.
Successfully uninstalled 'EntityFramework 6.1.1'.

I've tried asp.net mvc:

Installing 'Microsoft.AspNet.Mvc 6.0.0-beta1'.
Successfully installed 'Microsoft.AspNet.Mvc 6.0.0-beta1'.
Removing 'Microsoft.AspNet.Mvc 5.2.2' from WebApplication1.
Added file 'Web.config'.
Removed reference 'System.Web.Mvc.dll' from project 'WebApplication1'
Added file 'packages.config'.
Successfully removed 'Microsoft.AspNet.Mvc 5.2.2' from WebApplication1.
Removing 'Microsoft.AspNet.WebPages 3.2.2' from WebApplication1.
Added file 'Web.config'.
Removed reference 'System.Web.Helpers.dll' from project 'WebApplication1'
Removed reference 'System.Web.WebPages.Deployment.dll' from project 'WebApplication1'
Removed reference 'System.Web.WebPages.dll' from project 'WebApplication1'
Removed reference 'System.Web.WebPages.Razor.dll' from project 'WebApplication1'
Added file 'packages.config'.
Successfully removed 'Microsoft.AspNet.WebPages 3.2.2' from WebApplication1.
Removing 'Microsoft.AspNet.Razor 3.2.2' from WebApplication1.
Removed reference 'System.Web.Razor.dll' from project 'WebApplication1'
Added file 'packages.config'.
Successfully removed 'Microsoft.AspNet.Razor 3.2.2' from WebApplication1.
Adding 'Microsoft.AspNet.Mvc 6.0.0-beta1' to WebApplication1.
Install failed. Rolling back...
Adding 'Microsoft.AspNet.Razor 3.2.2' to WebApplication1.
For adding package 'Microsoft.AspNet.Razor 3.2.2' to project 'WebApplication1' that targets 'net451',
>> Assembly references are being added from 'lib\net45'
Added reference 'System.Web.Razor' to project 'WebApplication1'
Added file 'packages.config'.
Successfully added 'Microsoft.AspNet.Razor 3.2.2' to WebApplication1.
Adding 'Microsoft.AspNet.WebPages 3.2.2' to WebApplication1.
For adding package 'Microsoft.AspNet.WebPages 3.2.2' to project 'WebApplication1' that targets 'net451',
>> Assembly references are being added from 'lib\net45'
>> Content files are being added from 'Content' (not framework-specific)
Added file 'Web.config'.
Added reference 'System.Web.Helpers' to project 'WebApplication1'
Added reference 'System.Web.WebPages.Deployment' to project 'WebApplication1'
Added reference 'System.Web.WebPages' to project 'WebApplication1'
Added reference 'System.Web.WebPages.Razor' to project 'WebApplication1'
Added file 'packages.config'.
Successfully added 'Microsoft.AspNet.WebPages 3.2.2' to WebApplication1.
Adding 'Microsoft.AspNet.Mvc 5.2.2' to WebApplication1.
For adding package 'Microsoft.AspNet.Mvc 5.2.2' to project 'WebApplication1' that targets 'net451',
>> Assembly references are being added from 'lib\net45'
>> Content files are being added from 'Content' (not framework-specific)
Added file 'Web.config'.
Added reference 'System.Web.Mvc' to project 'WebApplication1'
Added file 'packages.config'.
Successfully added 'Microsoft.AspNet.Mvc 5.2.2' to WebApplication1.
Uninstalling 'Microsoft.AspNet.Mvc 6.0.0-beta1'.
Successfully uninstalled 'Microsoft.AspNet.Mvc 6.0.0-beta1'.

But it gave me this error:

...
Adding 'Microsoft.AspNet.Mvc 6.0.0-beta1' to WebApplication1.
Install failed. Rolling back...
...
    
asked by anonymous 27.12.2014 / 16:57

1 answer

3

Can not do what you want. It is not possible to upgrade an MVC 5 project to MVC 6.

If you want to test a project with ASP.NET MVC 6, you need to create a new ASP.NET 5 (vNext) project. There are currently 2 templates: Empty and Starter Web .

The most recommended is to create the second: ASP.NET 5 Starter Web .

    
29.12.2014 / 18:23