locked
NuGet dependencies not resolved in UWP RRS feed

  • Question

  • We are providing NuGet packages. In VS 2015, Universal Windows project, while using netcore46 NuGet packages, the main package only adding in References and also project.json file. Dependency packages are not adding in References and project.json file. Why?
    • Edited by mathikp Monday, September 7, 2015 1:12 PM
    Monday, September 7, 2015 1:12 PM

Answers

All replies

  • Hi mathikp,

    Have you add dependencies and references config sections in your .nuspec file. Code below is for your reference.

    <dependencies>
      <dependency id="RouteMagic" version="1.1.0" />
      <dependency id="RouteDebugger" version="1.0.0" />
    </dependencies>

    For more information about nuspec file, link below is for your reference.
    https://docs.nuget.org/create/nuspec-reference#specifying-dependencies

    Best Regards,
    Li Wang

    Tuesday, September 8, 2015 2:19 AM
  • Hi Li,

    Yes, I have add dependencies properly. List of dependencies are showing correctly in VS2015's NuGet Package Manager. And after installed its successfully restored to the .nuget/packages folder. But the issue is, the dependency NuGet packages are not showing in the References node in Solution Explorer and entry is not adding in project.json file after installed. Its not showing any error in installation log.

    Tuesday, September 8, 2015 4:03 AM
  • Hi mathikp,

    I suggest you install NuGet 3.1 and try again.
    http://blog.nuget.org/20150729/Introducing-nuget-uwp.html

    If it still doesn't work, you could post new issue on github.com
    https://github.com/NuGet/NuGetGallery/issues

    Best Regards,
    Li Wang

    Tuesday, September 8, 2015 9:42 AM