i hope can me. started create new mvc5 website dnx46. website works pretty good, if add business , data layer in main web project. time move ef repositories , data objects seperate projects. , problem.
--vs 2015 update 3
--web project sdk 1.0.0-rc1-update1
project.json in web project: "dependencies": { "entityframework.commands": "7.0.0-rc1-final", "entityframework.microsoftsqlserver": "7.0.0-rc1-final", "microsoft.applicationinsights.aspnet": "1.0.0-rc1", "microsoft.aspnet.authentication.cookies": "1.0.0-rc1-final", "microsoft.aspnet.diagnostics.entity": "7.0.0-rc1-final", "microsoft.aspnet.identity.entityframework": "3.0.0-rc1-final", "microsoft.aspnet.iisplatformhandler": "1.0.0-rc1-final", "microsoft.aspnet.mvc": "6.0.0-rc1-final", "microsoft.aspnet.mvc.taghelpers": "6.0.0-rc1-final", "microsoft.aspnet.server.kestrel": "1.0.0-rc1-final", "microsoft.aspnet.staticfiles": "1.0.0-rc1-final", "microsoft.aspnet.tooling.razor": "1.0.0-rc1-final", "microsoft.aspnet.server.weblistener": "1.0.0-rc1-final", "microsoft.extensions.codegenerators.mvc": "1.0.0-rc1-final", "microsoft.extensions.configuration.fileproviderextensions": "1.0.0-rc1-final", "microsoft.extensions.configuration.json": "1.0.0-rc1-final", "microsoft.extensions.configuration.usersecrets": "1.0.0-rc1-final", "microsoft.extensions.logging": "1.0.0-rc1-final", "microsoft.extensions.logging.console": "1.0.0-rc1-final", "microsoft.extensions.logging.debug": "1.0.0-rc1-final", "microsoft.visualstudio.web.browserlink.loader": "14.0.0-rc1-final", "microsoft.aspnet.localization": "1.0.0-rc1-final", "microsoft.extensions.caching.abstractions": "1.0.0-rc1-final", "microsoft.extensions.caching.memory": "1.0.0-rc1-final", "newtonsoft.json": "9.0.1" "dataproject": "1.0.0-*" //line 33 }, "frameworks": { "dnx46": { "dependencies": { } }
the new library projects created normal dlls dnx46.
"dependencies": { }, "frameworks": { "dnx46": { "dependencies": { } }
}
after linking project reference, shows main web project reference error nu1001 dependency dataproject >= 1.0.0-* not resolved. project.json 33
i have no idea what's happend , how can solve issue. tried change used framework in libraries dnx46 net451, without success.
a downgrade net451 no longer possible, because app uses functions new dnx46.
has helpful idea fix reference problem?
demo-project: https://www.dropbox.com/s/y0am5u52d2vzl2c/aspnetcorewebapp.zip?dl=0
thanks toni
Comments
Post a Comment