Nuget dependencies content is not been added for dotnet core projects - VS2017
See original GitHub issueWhen importing a package that adds content to the project it completes without displaying any errors but doesn’t add the files.
Steps to reproduce:
- Create a project with any of the templates for dotnetcore (Console/Class Library/Web)
- Add a nuget package with content, ex: jQuery with
Install-Package jQuery.
The reference is added correctly but the content is no added to the project.
Note: It works correctly with the classic projects.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
VS2017 nuget failed to load project dependencies
I got in a similar situation. VS2017 (15.5.6). "The operation failed as details for project 'x' could not be loaded" for a .Net...
Read more >Troubleshooting NuGet Package Restore in Visual Studio
This error occurs when you attempt to build a project that contains references to one or more NuGet packages, but those packages are...
Read more >Managing Dependencies in .NET: .csproj, .packages.config ...
PackageReference is actually not a file, but a section in the .csproj file structure of .NET Core projects. It holds references to all...
Read more >Projects fail to build in 15.8.0 due to errors from Microsoft. ...
I have several projects that are now failing to build in 15.8. Both were building in 15.7. These projects don't have any NuGet...
Read more >Issues with .NET Standard 2.0 with .NET Framework & NuGet
I created a net461 old-sdk project in VS2017.3 and added a .NET Standard 1.6 NuGet. The build automagically copied the required shims to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@roysanchez @emgarten Is this issue resolved? I’m including a nuget on my dotnet core project using VS2017 and I see the contentFiles inside the nuget, but I can’t manage to copy them into my local project.
@roysanchez I think this can be closed, and then watch for it in the next release. thanks!