I am using VS 2017 v15.8.4
The application is on .NET Core 2.1 with references to .NET standard 2.0. I am receiving the same issues as mentioned in https://github.com/dotnet/core/issues/1114
Below is Visual studio Installed products information:
Microsoft Visual Studio Enterprise 2017
Version 15.8.4
VisualStudio.15.Release/15.8.4+28010.2026
Microsoft .NET Framework
Version 4.7.02558
Installed Version: Enterprise
Architecture Diagrams and Analysis Tools 00369-90252-76468-AA796
Microsoft Architecture Diagrams and Analysis Tools
Visual C++ 2017 00369-90252-76468-AA796
Microsoft Visual C++ 2017
Application Insights Tools for Visual Studio Package 8.13.10627.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017 15.8.05085.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services 15.8.31590
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2017 5.2.60618.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 15.8.05023.0
Azure App Service Tools v3.0.0
Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.3.3000.2
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools 15.8.05023.0
Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio 2.3.3000.2
Microsoft Azure Stream Analytics Tools for Visual Studio
C# Tools 2.9.0-beta8-63208-01
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Fabric.DiagnosticEvents 1.0
Fabric Diagnostic Events
GitHub.VisualStudio 2.5.2.2500
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
JavaScript Language Service 2.0
JavaScript Language Service
JavaScript Project System 2.0
JavaScript Project System
JetBrains ReSharper Ultimate 2018.2 Build 182.0.20180821.113637
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2018 JetBrains, Inc.
Microsoft Azure HDInsight Azure Node 2.3.3000.2
HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service 2.3.3000.2
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio 2.3
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service 2.3.3000.2
Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node 1.0
Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.10730.2
Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 1.0
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
Node.js Tools 1.4.20802.1 Commit Hash:97e1085d8b4b8e3e51c398e910177f87e86d135e
Adds support for developing and debugging Node.js apps in Visual Studio
NuGet Package Manager 4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
ResourcePackage Extension 1.0
ResourcePackage Visual Studio Extension Detailed Info
ResourcePackage Extension 1.0
ResourcePackage Visual Studio Extension Detailed Info
Snapshot Debugging Extension 1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Data Tools 15.1.61808.07020
Microsoft SQL Server Data Tools
Syntax Visualizer 1.0
An extension for visualizing Roslyn SyntaxTrees.
ToolWindowHostedEditor 1.0
Hosting json editor into a tool window
TypeScript Tools 15.8.20801.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 2.9.0-beta8-63208-01
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 10.2 for F# 4.5 15.8.0.0. Commit Hash: c55dd2c3d618eb93a8d16e503947342b1fa93556.
Microsoft Visual F# Tools 10.2 for F# 4.5
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Below is the copy paste from build error on VSTS Pipeline
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2018-09-13T23:06:12.2696165Z All packages and projects are compatible with .NETStandard,Version=v2.0.
2018-09-13T23:06:12.2696273Z Committing restore...
2018-09-13T23:06:12.2696404Z Generating MSBuild file D:\a\1\s\src\BusinessManagers\
2018-09-13T23:06:12.2696570Z Generating MSBuild file D:\a\1\s\src\BusinessManagers\
2018-09-13T23:06:12.2696742Z Writing lock file to disk. Path: D:\a\1\s\src\BusinessManagers\
2018-09-13T23:06:12.2696907Z Restore completed in 1.76 min for D:\a\1\s\src\BusinessManagers\
2018-09-13T23:06:12.2696997Z
2018-09-13T23:06:12.2697089Z NuGet Config files used:
2018-09-13T23:06:12.2697188Z D:\a\1\Nuget\tempNuGet_14.config
2018-09-13T23:06:12.2697251Z
2018-09-13T23:06:12.2697331Z Feeds used:
2018-09-13T23:06:12.2697432Z https://api.nuget.org/v3/index.json
2018-09-13T23:06:12.2697496Z
2018-09-13T23:06:12.2697576Z Installed:
2018-09-13T23:06:12.2697683Z 243 package(s) to D:\a\1\s\src\Apps\Orca.Api.Cloud\Orca.Api.Cloud.csproj
2018-09-13T23:06:12.2697828Z 1 package(s) to D:\a\1\s\src\BusinessServices\
2018-09-13T23:06:12.2698348Z 3 package(s) to D:\a\1\s\src\Translations\
2018-09-13T23:06:12.2698500Z 143 package(s) to D:\a\1\s\src\BusinessManagers\
2018-09-13T23:06:12.3151850Z ##[error]The nuget command failed with exit code(1) and error(Errors in D:\a\1\s\src\Apps\Orca.Api.Cloud\Orca.Api.Cloud.csproj
Project
Project
Project
Project
Project
Project
Project
Project
Package Microsoft.AspNetCore.Authentication.Google 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication.Google 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.Xml 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Configuration.Xml 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authentication.MicrosoftAccount 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication.MicrosoftAccount 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.Cors 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.Cors 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Localization.Routing 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Localization.Routing 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Hosting.Server.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Hosting.Server.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Html.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Html.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.HostFiltering 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.HostFiltering 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.HttpOverrides 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.HttpOverrides 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.CookiePolicy 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.CookiePolicy 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.WebEncoders 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.WebEncoders 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Diagnostics.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Diagnostics.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authentication.Core 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication.Core 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authorization.Policy 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authorization.Policy 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.ApiExplorer 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.ApiExplorer 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Localization.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Localization.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authorization 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authorization 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.MiddlewareAnalysis 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.MiddlewareAnalysis 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Hosting.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Hosting.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authentication.Twitter 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication.Twitter 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Http.Extensions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Http.Extensions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Cors 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Cors 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.DataProtection.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.DataProtection.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authentication.JwtBearer 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication.JwtBearer 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.JsonPatch 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.JsonPatch 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Connections.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Connections.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Http.Connections.Common 1.0.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Http.Connections.Common 1.0.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Localization 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Localization 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authentication.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authentication.Facebook 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication.Facebook 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.WebSockets 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.WebSockets 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.DataProtection.Extensions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.DataProtection.Extensions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.UserSecrets 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Configuration.UserSecrets 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.SpaServices 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.SpaServices 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Configuration 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Http.Features 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Http.Features 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authentication.OAuth 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication.OAuth 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authentication.Cookies 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication.Cookies 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.FileProviders.Composite 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.FileProviders.Composite 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.HttpsPolicy 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.HttpsPolicy 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authentication 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Identity.EntityFrameworkCore 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Identity.EntityFrameworkCore 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authentication.OpenIdConnect 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication.OpenIdConnect 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.Localization 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.Localization 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.Ini 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Configuration.Ini 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Http.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Http.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Logging.Debug 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Logging.Debug 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Net.Http.Headers 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Net.Http.Headers 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Caching.Memory 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Caching.Memory 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Caching.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Caching.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Http 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Http 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.FileProviders.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.FileProviders.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.Formatters.Json 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.Formatters.Json 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Rewrite 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Rewrite 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Http 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Http 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.StaticFiles 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.StaticFiles 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Options 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Options 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Identity 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Identity 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.EnvironmentVariables 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Configuration.EnvironmentVariables 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Hosting 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Hosting 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.FileSystemGlobbing 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.FileSystemGlobbing 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Localization 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Localization 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.CommandLine 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Configuration.CommandLine 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Logging.Configuration 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Logging.Configuration 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.SignalR.Protocols.Json 1.0.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.SignalR.Protocols.Json 1.0.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Hosting 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Hosting 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Logging.EventSource 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Logging.EventSource 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.Binder 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Configuration.Binder 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Options.ConfigurationExtensions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Options.ConfigurationExtensions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.SpaServices.Extensions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.SpaServices.Extensions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.SignalR 1.0.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.SignalR 1.0.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.ResponseCaching.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.ResponseCaching.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Identity.Stores 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Identity.Stores 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.DataProtection 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.DataProtection 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.ObjectPool 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.ObjectPool 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.EntityFrameworkCore.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.EntityFrameworkCore.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.Json 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Configuration.Json 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.TagHelpers 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.TagHelpers 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Session 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Session 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.DependencyInjection.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.DependencyInjection.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.WebUtilities 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.WebUtilities 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Routing 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Routing 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Logging 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Logging 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Logging.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Logging.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.Formatters.Xml 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.Formatters.Xml 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Diagnostics 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Diagnostics 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.NodeServices 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.NodeServices 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.ResponseCompression 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.ResponseCompression 2.1.1 supports:
- net461 (.NETFramework,Version=v4.6.1)
- netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.DataAnnotations 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.DataAnnotations 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Razor.Runtime 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Razor.Runtime 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.SignalR.Core 1.0.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.SignalR.Core 1.0.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.FileProviders.Physical 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.FileProviders.Physical 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.Razor 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.Razor 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.FileExtensions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Configuration.FileExtensions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.RazorPages 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.RazorPages 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Razor 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Razor 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Identity.Core 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Identity.Core 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Owin 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Owin 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.EntityFrameworkCore.SqlServer 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.EntityFrameworkCore.SqlServer 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.Razor.Extensions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.Razor.Extensions 2.1.1 supports:
- net46 (.NETFramework,Version=v4.6)
- netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Routing.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Routing.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Server.IISIntegration 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Server.IISIntegration 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Caching.SqlServer 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Caching.SqlServer 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.ViewFeatures 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.ViewFeatures 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.EntityFrameworkCore.InMemory 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.EntityFrameworkCore.InMemory 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.CodeAnalysis.Razor 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.CodeAnalysis.Razor 2.1.1 supports:
- net46 (.NETFramework,Version=v4.6)
- netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Cryptography.Internal 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Cryptography.Internal 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Configuration.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.EntityFrameworkCore.Tools 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.EntityFrameworkCore.Tools 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Server.HttpSys 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Server.HttpSys 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Primitives 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Primitives 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Antiforgery 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Antiforgery 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNet.WebApi.Client 5.2.6 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNet.WebApi.Client 5.2.6 supports:
- net45 (.NETFramework,Version=v4.5)
- netstandard2.0 (.NETStandard,Version=v2.0)
- portable-net45+netcore45+wp8+wp81+wpa81 (.NETPortable,Version=v0.0,Profile=wp8+netcore45+net45+wp81+wpa81)
Package Microsoft.Extensions.Logging.Console 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Logging.Console 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Server.Kestrel 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Server.Kestrel 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.EntityFrameworkCore.Relational 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.EntityFrameworkCore.Relational 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Razor.Language 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Razor.Language 2.1.1 supports:
- net46 (.NETFramework,Version=v4.6)
- netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Hosting.Abstractions 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Hosting.Abstractions 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.EntityFrameworkCore 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.EntityFrameworkCore 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Identity.UI 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Identity.UI 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Authentication.WsFederation 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Authentication.WsFederation 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.ResponseCaching 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.ResponseCaching 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.AspNetCore.Mvc.Core 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.AspNetCore.Mvc.Core 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Logging.TraceSource 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Logging.TraceSource 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.KeyPerFile 2.1.1 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package Microsoft.Extensions.Configuration.KeyPerFile 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
One or more projects are incompatible with .NETCoreApp,Version=v2.1.
One or more packages are incompatible with .NETCoreApp,Version=v2.1.)
2018-09-13T23:06:12.3176093Z ##[error]Packages failed to restore
2018-09-13T23:06:12.3190654Z ##[section]Finishing: NuGet restore from nuget gallery
@Stark124421 can you provide more info about what you were trying to do? A .NET Standard (netstandardXX) project cannot references any .NET Core App (netcoreXX), but the reverse is allowed, depending on the exact versions.
We have the same issue.
Project XXX.Web is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Project XXX.Web supports: netstandard2.0 (.NETStandard,Version=v2.0)
One or more projects are incompatible with .NETCoreApp,Version=v2.1.
This builds fine locally but not on our build servers.
We have resolved it by reverting back to Framework version 4.7 on one of the other projects and stopped using Nuget.exe. Not sure this was related.
OK, so I'll close this issue. If you hit a new issue, please provide detailed steps to reproduce the problem and we will investigate.
Just as a note that may be useful to others...
Making sure nuget version is 4.3.0+ solved it for us.
Most helpful comment
Just as a note that may be useful to others...
Making sure nuget version is 4.3.0+ solved it for us.