Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    visual-studioproget
    8 Posts 1 Posters 23 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              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?

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                For example (from official nuget repo)

                Caliburn v2.0
                C5 v2.0

                David

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  David, this should be resolved in ProGet 2.1

                  1 Reply Last reply Reply Quote 0
                  • ? This user is from outside of this forum
                    Guest
                    last edited by

                    Thank you, it did solve the problem.

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 1 / 1
                    • First post
                      Last post
                    Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation