Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Net35 and net40 packages are not shown in VS



  • Hello

    I have upgraded ProGet 1.x to ProGet 2.0.6 and suddenly all the packages with lib\net35 and lib\net40 sub-folders are not shown in NuGet VS add-in. Those packages are shown correctly only in the web interface of NuGet.
    Packages with lib\net20 sub-folder are shown correctly in NuGet.



  • This is by (NuGet) design; net35/40 packages are filtered out in VS unless the project has a compatible framework version.

    ProGet 1.x did not exhibit this behavior.



  • But I am trying to consume those packages from a net 4.5 project.

    .NET 4.5 project can depend on a .NET 4.0 or .NET 3.5 assemblies.

    And besides, net 2.0 packages are not filtered ..



  • @David, you are correct. With a 2.0 project, you can not consume > 2.0 assemblies and thus will not appear in the feed from VS, but 4.5 should be able to see all of them (assuming the same platform).

    We will investigate, and this is likely a bug that will be resolved in the 2.1 release coming shortly.



  • Attempting to fix this, we could not reproduce the behavior (in v2.0.8) by creating a 4.5 console app and installing the package through the NuGet Visual Studio extension.

    Is there a specific package you're attempting to install that we could try?



  • For example (from official nuget repo)

    Caliburn v2.0
    C5 v2.0

    David



  • David, this should be resolved in ProGet 2.1



  • Thank you, it did solve the problem.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation