1
to testing the visual studo 2015 created a project Asp.net mvc and to want to update it to use the new version 6 beta. but to with an error here
How do I fix it?
have updated the Entity framework gave this
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'.
ai i tried the 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 you gave me this mistake:
...
Adding 'Microsoft.AspNet.Mvc 6.0.0-beta1' to WebApplication1.
Install failed. Rolling back...
...
Have you tried using a lower Framework version, such as 4.5.1, for example?
– Leonel Sanches da Silva
hi gypsy already tried yes happens the same thing thank you
– fabiano rastone
Neither of the two logs cited appears to be an error, it seems to be only installation logs, the error
Could not install package
seems to be a conflict with the beta version, or something like that, as you are using the commandinstall-package
?– Guilherme Nascimento
the first I showed that worked, the second gives failed Install error. Rolling back... I’m using the nuget of the visual studio has a function in it that does it all automatically for you thank
– fabiano rastone