i having great deal of issues asp.net 5, , having 1 has been occurring since have upgraded project beta5. error following:
severity code description project file error cs0433 type 'ihostingenvironment' exists in both 'microsoft.aspnet.hosting.abstractions, version=1.0.0.0, culture=neutral, publickeytoken=null' , 'microsoft.aspnet.hosting.interfaces, version=1.0.0.0, culture=neutral, publickeytoken=null' uniti.api.dnx 4.5.1 d:\alex\projects\uniti\src\uniti.api\startup.cs
i have no clue how resolve error, , looking solving it. reference, project.json file located @ https://gist.github.com/mw2nukeboy/a65d3acb55f3c7799f6e
{ "webroot": "wwwroot", "version": "1.0.0-*", "dependencies": { "entityframework": "7.0.0-beta4", "entityframework.sqlserver": "7.0.0-beta4", "entityframework.commands": "7.0.0-beta4", "microsoft.aspnet.diagnostics": "1.0.0-beta5", "microsoft.aspnet.mvc": "6.0.0-beta5", "microsoft.aspnet.server.iis": "1.0.0-beta5", "microsoft.aspnet.server.weblistener": "1.0.0-beta5", "microsoft.aspnet.staticfiles": "1.0.0-beta5", "microsoft.aspnet.identity.entityframework": "3.0.0-beta5", "microsoft.aspnet.identity": "3.0.0-beta5", "microsoft.framework.configuration": "1.0.0-beta5", "microsoft.framework.configuration.json": "1.0.0-beta5", "microsoft.aspnet.authentication.oauthbearer": "1.0.0-beta5" }, "commands": { "web": "microsoft.aspnet.hosting --server microsoft.aspnet.server.weblistener --server.urls http://localhost:5000", "ef": "entityframework.commands" }, "frameworks": { "dnx451": { }, "dnxcore50": { } }, "exclude": [ "wwwroot", "node_modules", "bower_components" ], "publishexclude": [ "node_modules", "bower_components", "**.xproj", "**.user", "**.vspscc" ] }
Comments
Post a Comment