question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nuget dependencies content is not been added for dotnet core projects - VS2017

See original GitHub issue

When importing a package that adds content to the project it completes without displaying any errors but doesn’t add the files.

Steps to reproduce:

  1. Create a project with any of the templates for dotnetcore (Console/Class Library/Web)
  2. 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:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
samcogacommented, Mar 14, 2017

@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.

0reactions
emgartencommented, Dec 19, 2016

@roysanchez I think this can be closed, and then watch for it in the next release. thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found