Error on first build after downloading project from ASP Net Boiler Plate with ASP.Net Core 1.x Multi Page Web Application

喜你入骨 提交于 2020-01-05 03:48:05

问题


I am using visual studio 2017. I just download project from asp net boiler plate and open it in vs 17. When i rebuild the solution i got the big list of 370 errors. Few are listed below due to the content limits.

Severity Code Description Project File Line Suppression State Error Package Microsoft.AspNetCore.Server.Kestrel 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.Server.Kestrel 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore.Authentication.Cookies 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.Authentication.Cookies 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Options.ConfigurationExtensions 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Options.ConfigurationExtensions 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.EntityFrameworkCore.Tools 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.EntityFrameworkCore.Tools 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore.Authentication.JwtBearer 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.Authentication.JwtBearer 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.ZeroCore.EntityFrameworkCore 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.ZeroCore.EntityFrameworkCore 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.TestBase 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.TestBase 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Configuration.Json 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Configuration.Json 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.AutoMapper 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.AutoMapper 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Castle.Windsor.MsDependencyInjection 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Castle.Windsor.MsDependencyInjection 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error One or more packages are incompatible with .NETCoreApp,Version=v2.0. 0
Error Package Microsoft.Extensions.Configuration.Json 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Configuration.Json 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Castle.Windsor.MsDependencyInjection 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Castle.Windsor.MsDependencyInjection 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Castle.Windsor.MsDependencyInjection 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Castle.Windsor.MsDependencyInjection 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.AutoMapper 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.AutoMapper 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error One or more packages are incompatible with .NETCoreApp,Version=v2.0. 0
Error Package Abp 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Configuration.UserSecrets 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Configuration.UserSecrets 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore.Authentication.JwtBearer 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.Authentication.JwtBearer 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.Castle.Log4Net 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.Castle.Log4Net 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.EntityFrameworkCore.Tools 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.EntityFrameworkCore.Tools 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Configuration.Json 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Configuration.Json 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore.Owin 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.Owin 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Configuration.EnvironmentVariables 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Configuration.EnvironmentVariables 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Configuration.Json 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Configuration.Json 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.AutoMapper 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.AutoMapper 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore.Server.IISIntegration 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.Server.IISIntegration 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.EntityFrameworkCore.SqlServer 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.EntityFrameworkCore.SqlServer 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.ZeroCore.EntityFrameworkCore 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.ZeroCore.EntityFrameworkCore 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore.Mvc 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.Mvc 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore.Server.Kestrel 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.Server.Kestrel 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.EntityFrameworkCore.Tools 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.EntityFrameworkCore.Tools 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.EntityFrameworkCore.Design 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.EntityFrameworkCore.Design 2.0.0 supports: - net461 (.NETFramework,Version=v4.6.1) - netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Configuration.Json 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Configuration.Json 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Castle.Windsor.MsDependencyInjection 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Castle.Windsor.MsDependencyInjection 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.ZeroCore.EntityFrameworkCore 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.ZeroCore.EntityFrameworkCore 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error One or more packages are incompatible with .NETCoreApp,Version=v2.0. 0
Error Package Microsoft.Extensions.SecretManager.Tools 2.0.0 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.Extensions.SecretManager.Tools 2.0.0 supports: netcoreapp2.0 (.NETCoreApp,Version=v2.0) 0
Error Package Microsoft.VisualStudio.Web.CodeGenerators.Mvc 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.VisualStudio.Web.CodeGenerators.Mvc 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.ZeroCore.EntityFrameworkCore 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.ZeroCore.EntityFrameworkCore 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.EntityFrameworkCore.SqlServer 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.EntityFrameworkCore.SqlServer 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.VisualStudio.Web.BrowserLink 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.VisualStudio.Web.BrowserLink 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Configuration.UserSecrets 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Configuration.UserSecrets 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.AutoMapper 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.AutoMapper 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.AutoMapper 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.AutoMapper 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.Castle.Log4Net 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.Castle.Log4Net 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Castle.Windsor.MsDependencyInjection 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Castle.Windsor.MsDependencyInjection 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore.Authentication.JwtBearer 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.Authentication.JwtBearer 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.EntityFrameworkCore.SqlServer 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.EntityFrameworkCore.SqlServer 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore.Mvc.RazorPages 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.Mvc.RazorPages 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Logging 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Logging 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Castle.LoggingFacility.MsLogging 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Castle.LoggingFacility.MsLogging 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Configuration.UserSecrets 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Configuration.UserSecrets 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.EntityFrameworkCore.SqlServer 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.EntityFrameworkCore.SqlServer 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore.Authentication.Twitter 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.Authentication.Twitter 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.VisualStudio.Web.BrowserLink 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.VisualStudio.Web.BrowserLink 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.AspNetCore 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.AspNetCore 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.ZeroCore 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.ZeroCore 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Options.ConfigurationExtensions 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Options.ConfigurationExtensions 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.VisualStudio.Web.CodeGenerators.Mvc 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.VisualStudio.Web.CodeGenerators.Mvc 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.Extensions.Configuration.UserSecrets 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.Configuration.UserSecrets 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.AspNetCore 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Castle.Windsor.MsDependencyInjection 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Castle.Windsor.MsDependencyInjection 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Abp.AspNetCore 3.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Abp.AspNetCore 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0) 0
Error Package Microsoft.EntityFrameworkCore.Design 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.EntityFrameworkCore.Design 2.0.0 supports: - net461 (.NETFramework,Version=v4.6.1) - netstandard2.0 (.NETStandard,Version=v2.0) 0
Blockquote

Looking for help!. Thanks


回答1:


I can say that the latest version is being compiled successfully without errors.

Are you running VS 15.3.3?

Did you install .NET Core SDK? https://www.microsoft.com/net/download/core




回答2:


I just build it. Using VS 2017, net core 2. There is still one thing that missing for me which is the Abp.AutoMapper. Solve it by just update it to latest stable version through Nuget. And rebuild.



来源:https://stackoverflow.com/questions/46176159/error-on-first-build-after-downloading-project-from-asp-net-boiler-plate-with-as

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!