Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After creating new ASP.NET Core 2.0 project Nuget could not restore packages #2229

Closed
Petermarcu opened this issue Oct 6, 2017 · 2 comments

Comments

@Petermarcu
Copy link
Member

@FireFighter92 reported this here: dotnet/core#991

My tools:

Microsoft Visual Studio Community 2017 Version 15.3.5
ASP.NET and Web Tools 2017 15.0.30726.0
ASP.NET Core Razor Language Services 1.0
ASP.NET Template Engine 2017 15.0.30726.0
NuGet Package Manager 4.3.1
SQL Server Data Tools 15.1.61707.200
And of course I have the latest SDK and Runtime installed

Just downloaded VS 2017 and tried to build new ASP.NET Core 2.0 project and unfortunately got an error with the best impression :)

Error:

NU1202: Package Microsoft.Extensions.SecretManager.Tools 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Extensions.SecretManager.Tools 2.0.0 supports: netcoreapp2.0 (.NETCoreApp,Version=v2.0)
NU1202: Package Microsoft.EntityFrameworkCore.Tools.DotNet 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.EntityFrameworkCore.Tools.DotNet 2.0.0 supports: netcoreapp2.0 (.NETCoreApp,Version=v2.0)
NU1202: Package Microsoft.VisualStudio.Web.CodeGeneration.Tools 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.VisualStudio.Web.CodeGeneration.Tools 2.0.0 supports: netcoreapp2.0 (.NETCoreApp,Version=v2.0)
NU1202: Package Microsoft.VisualStudio.Web.CodeGeneration.Contracts 2.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.VisualStudio.Web.CodeGeneration.Contracts 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0)
NU1202: Package Microsoft.Build 15.3.409 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Build 15.3.409 supports:

  • net46 (.NETFramework,Version=v4.6)
  • netstandard1.5 (.NETStandard,Version=v1.5)
    NU1202: Package Microsoft.Build.Framework 15.3.409 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Build.Framework 15.3.409 supports:
  • net46 (.NETFramework,Version=v4.6)
  • netstandard1.3 (.NETStandard,Version=v1.3)
    NU1202: Package Microsoft.Build.Utilities.Core 15.3.409 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Build.Utilities.Core 15.3.409 supports:
  • net46 (.NETFramework,Version=v4.6)
  • netstandard1.3 (.NETStandard,Version=v1.3)
@danilobreda
Copy link

Possible Duplicated: aspnet/DotNetTools#198

The tool should be installed in the "tools" section of project.json. This should be independent of the frameworks you are using in your project. If you're trying to install via NuGet CLI or GUI, it's probably being put in "dependencies", which is #157 and will be resolved in the next release.

@Eilon
Copy link
Member

Eilon commented Apr 3, 2018

Closing this issue because it isn't clear to me if there is an issue remaining. If you feel there's still an issue, please re-open this issue or log a new issue with complete details of the problem. Thanks!

@Eilon Eilon closed this as completed Apr 3, 2018
ryanbrandenburg pushed a commit that referenced this issue Nov 27, 2018
Embed version in the JavaScript client (#2229)
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants