c# - How to resolve a missing System.Core assembly? -
i have web application using new asp.net core rc2 , i'm getting "could not load file or assembly 'system.core, version=2.0.5.0" error message.
where can reference assembly?
project.json
"dependencies": { "microsoft.netcore.app": { "version": "1.0.0-rc2-3002702", "type": "platform" }, "microsoft.applicationinsights.aspnetcore": "1.0.0-rc2-final", "microsoft.aspnetcore.authorization": "1.0.0-rc2-final", "microsoft.aspnetcore.authentication.cookies": "1.0.0-rc2-final", "microsoft.aspnetcore.diagnostics": "1.0.0-rc2-final", "microsoft.aspnetcore.diagnostics.entityframeworkcore": "1.0.0-rc2-final", "microsoft.aspnetcore.identity.entityframeworkcore": "1.0.0-rc2-final", "microsoft.aspnetcore.mvc": "1.0.0-rc2-final", "microsoft.aspnetcore.razor.tools": { "version": "1.0.0-preview1-final", "type": "build" }, "microsoft.aspnetcore.server.iisintegration": "1.0.0-rc2-final", "microsoft.aspnetcore.server.kestrel": "1.0.0-rc2-final", "microsoft.aspnetcore.staticfiles": "1.0.0-rc2-final", "microsoft.entityframeworkcore.sqlserver": "1.0.0-rc2-final", "microsoft.entityframeworkcore.tools": { "version": "1.0.0-preview1-final", "type": "build" }, "microsoft.extensions.configuration.environmentvariables": "1.0.0-rc2-final", "microsoft.extensions.configuration.json": "1.0.0-rc2-final", "microsoft.extensions.configuration.usersecrets": "1.0.0-rc2-final", "microsoft.extensions.logging": "1.0.0-rc2-final", "microsoft.extensions.logging.console": "1.0.0-rc2-final", "microsoft.extensions.logging.debug": "1.0.0-rc2-final", "microsoft.visualstudio.web.browserlink.loader": "14.0.0-rc2-final", "microsoft.visualstudio.web.codegeneration.tools": { "version": "1.0.0-preview1-final", "type": "build" }, "microsoft.visualstudio.web.codegenerators.mvc": { "version": "1.0.0-preview1-final", "type": "build" }, "microsoft.jquery.unobtrusive.ajax": "3.2.3", "microsoft.aspnetcore.identity": "1.0.0-rc2-final" }, "tools": { "microsoft.aspnetcore.razor.tools": { "version": "1.0.0-preview1-final", "imports": "portable-net45+win8+dnxcore50" }, "microsoft.aspnetcore.server.iisintegration.tools": { "version": "1.0.0-preview1-final", "imports": "portable-net45+win8+dnxcore50" }, "microsoft.entityframeworkcore.tools": { "version": "1.0.0-preview1-final", "imports": [ "portable-net45+win8+dnxcore50", "portable-net45+win8" ] }, "microsoft.extensions.secretmanager.tools": { "version": "1.0.0-preview1-final", "imports": "portable-net45+win8+dnxcore50" }, "microsoft.visualstudio.web.codegeneration.tools": { "version": "1.0.0-preview1-final", "imports": [ "portable-net45+win8+dnxcore50", "portable-net45+win8" ] } }, "frameworks": { "netcoreapp1.0": { "imports": [ "dotnet5.6", "dnxcore50", "portable-net45+win8" ] } }, "buildoptions": { "emitentrypoint": true, "preservecompilationcontext": true }, "runtimeoptions": { "gcserver": true }, "publishoptions": { "include": [ "wwwroot", "views", "appsettings.json", "web.config" ] }, "scripts": { "prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ], "postpublish": [ "dotnet publish-iis --publish-folder %publish:outputpath% --framework %publish:fulltargetframework%" ] } }
project.json.lock
"dependencies": { "microsoft.netcore.app": { "version": "1.0.0-rc2-3002702", "type": "platform" }, "microsoft.applicationinsights.aspnetcore": "1.0.0-rc2-final", "microsoft.aspnetcore.authorization": "1.0.0-rc2-final", "microsoft.aspnetcore.authentication.cookies": "1.0.0-rc2-final", "microsoft.aspnetcore.diagnostics": "1.0.0-rc2-final", "microsoft.aspnetcore.diagnostics.entityframeworkcore": "1.0.0-rc2-final", "microsoft.aspnetcore.identity.entityframeworkcore": "1.0.0-rc2-final", "microsoft.aspnetcore.mvc": "1.0.0-rc2-final", "microsoft.aspnetcore.razor.tools": { "version": "1.0.0-preview1-final", "type": "build" }, "microsoft.aspnetcore.server.iisintegration": "1.0.0-rc2-final", "microsoft.aspnetcore.server.kestrel": "1.0.0-rc2-final", "microsoft.aspnetcore.staticfiles": "1.0.0-rc2-final", "microsoft.entityframeworkcore.sqlserver": "1.0.0-rc2-final", "microsoft.entityframeworkcore.tools": { "version": "1.0.0-preview1-final", "type": "build" }, "microsoft.extensions.configuration.environmentvariables": "1.0.0-rc2-final", "microsoft.extensions.configuration.json": "1.0.0-rc2-final", "microsoft.extensions.configuration.usersecrets": "1.0.0-rc2-final", "microsoft.extensions.logging": "1.0.0-rc2-final", "microsoft.extensions.logging.console": "1.0.0-rc2-final", "microsoft.extensions.logging.debug": "1.0.0-rc2-final", "microsoft.visualstudio.web.browserlink.loader": "14.0.0-rc2-final", "microsoft.visualstudio.web.codegeneration.tools": { "version": "1.0.0-preview1-final", "type": "build" }, "microsoft.visualstudio.web.codegenerators.mvc": { "version": "1.0.0-preview1-final", "type": "build" }, "microsoft.jquery.unobtrusive.ajax": "3.2.3", "microsoft.aspnetcore.identity": "1.0.0-rc2-final" }, "tools": { "microsoft.aspnetcore.razor.tools": { "version": "1.0.0-preview1-final", "imports": "portable-net45+win8+dnxcore50" }, "microsoft.aspnetcore.server.iisintegration.tools": { "version": "1.0.0-preview1-final", "imports": "portable-net45+win8+dnxcore50" }, "microsoft.entityframeworkcore.tools": { "version": "1.0.0-preview1-final", "imports": [ "portable-net45+win8+dnxcore50", "portable-net45+win8" ] }, "microsoft.extensions.secretmanager.tools": { "version": "1.0.0-preview1-final", "imports": "portable-net45+win8+dnxcore50" }, "microsoft.visualstudio.web.codegeneration.tools": { "version": "1.0.0-preview1-final", "imports": [ "portable-net45+win8+dnxcore50", "portable-net45+win8" ] } }, "frameworks": { "netcoreapp1.0": { "imports": [ "dotnet5.6", "dnxcore50", "portable-net45+win8" ] } }, "buildoptions": { "emitentrypoint": true, "preservecompilationcontext": true }, "runtimeoptions": { "gcserver": true }, "publishoptions": { "include": [ "wwwroot", "views", "appsettings.json", "web.config" ] }, "scripts": { "prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ], "postpublish": [ "dotnet publish-iis --publish-folder %publish:outputpath% --framework %publish:fulltargetframework%" ] } }
Comments
Post a Comment