visual studio 2015 - asp.net core: Scaffolding crashes with Could not load type 'Microsoft.VisualStudio.Web.CodeGeneration.ConsoleLogger' -
scaffolding crashes entity type (controller, view).
used technologies :
- asp.net core
- visual studio 2015
they few references solutions linked visual studio 2017 not work on vs2015
detailed error
global.json
{ "projects": [ "src", "test" ], "sdk": { "version": "1.0.0-preview2-003131" } }
project.json
{ "version": "0.0.1", "title": "innovation income tax deduction", "copyright": "my company", "description": "support innovation income deduction (‘iid’) applied income derived intellectual property", "language": "en", "usersecretsid": "strong-password", "dependencies": { "microsoft.aspnetcore.razor.tools": { "version": "1.0.0-preview2-final", "type": "build" }, "microsoft.visualstudio.web.codegeneration.tools": { "version": "1.0.0-preview2-final", "type": "build" }, "microsoft.applicationinsights.aspnetcore": "2.0.0", "microsoft.framework.configuration.json": "1.0.0-beta5", "windowsazure.storage": "8.1.1", "microsoft.data.odata": "5.8.2", "microsoft.data.edm": "5.8.2", "microsoft.data.services.client": "5.8.2", "system.spatial": "5.8.2", "microsoft.netcore.app": { "version": "1.1.1", "type": "platform" }, "microsoft.aspnetcore.authentication.cookies": "1.1.1", "microsoft.aspnetcore.diagnostics": "1.1.1", "microsoft.aspnetcore.diagnostics.entityframeworkcore": "1.1.1", "microsoft.extensions.logging": "1.1.1", "microsoft.extensions.logging.console": "1.1.1", "microsoft.extensions.logging.debug": "1.1.1", "microsoft.extensions.configuration.abstractions": "1.1.1", "microsoft.aspnetcore.identity.entityframeworkcore": "1.1.1", "microsoft.aspnetcore.mvc": "1.1.2", "microsoft.aspnetcore.routing": "1.1.1", "microsoft.aspnetcore.server.iisintegration": "1.1.1", "microsoft.aspnetcore.server.kestrel": "1.1.1", "microsoft.aspnetcore.staticfiles": "1.1.1", "microsoft.extensions.configuration.environmentvariables": "1.1.1", "microsoft.extensions.configuration.json": "1.1.1", "microsoft.extensions.configuration.usersecrets": "1.1.1", "microsoft.extensions.options.configurationextensions": "1.1.1", "microsoft.entityframeworkcore.sqlserver": "1.1.1", "microsoft.entityframeworkcore.sqlserver.design": { "version": "1.1.1", "type": "build" }, "microsoft.entityframeworkcore.tools": { "version": "1.1.0", "type": "build" }, "microsoft.visualstudio.web.browserlink.loader": "14.1.0", "microsoft.visualstudio.web.codegenerators.mvc": { "version": "1.0.0", "type": "build" }, "microsoft.azure.documentdb.core": "1.2.1" }, "tools": { "bundlerminifier.core": "2.4.337", "microsoft.aspnetcore.razor.tools": "1.0.0-preview2-final", "microsoft.aspnetcore.server.iisintegration.tools": "1.0.0-preview2-final", "microsoft.entityframeworkcore.tools": "1.1.0", "microsoft.extensions.secretmanager.tools": "1.0.0", "microsoft.visualstudio.web.codegeneration.tools": { "version": "1.0.0-preview2-final", "imports": [ "portable-net45+win8" ] } }, "frameworks": { "netcoreapp1.0": { "imports": [ "dotnet5.6", "portable-net45+win8" ] } }, "buildoptions": { "emitentrypoint": true, "preservecompilationcontext": true }, "runtimeoptions": { "configproperties": { "system.gc.server": true } }, "publishoptions": { "include": [ "wwwroot", "**/*.cshtml", "appsettings.json", "appsettings.production.json", "web.config" ], "exclude": ["wwwroot/img/**"] }, "scripts": { "prepublish": [ "bower install", "dotnet bundle" ], "postpublish": [ "dotnet publish-iis --publish-folder %publish:outputpath% --framework %publish:fulltargetframework%" ], "postbuild": [ "dotnet ef database update" ] } }
Comments
Post a Comment