Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. NuGET Packagies

NuGET Packagies

Scheduled Pinned Locked Moved The Lounge
visual-studioquestion
34 Posts 21 Posters 0 Views 1 Watching
  • 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.
  • S Single Step Debugger

    What do you guys think for these containers? After using them for a while with VS, I think this technology is a rubbish. Too many moving parts. Versioning nightmare. URLs changing, living you high and dry, conflicts between solution and projects etc. Is it just me who is not fully appreciate/understand this library management mechanic?

    There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

    R Offline
    R Offline
    realJSOP
    wrote on last edited by
    #7

    To avoid version conflicts, create your own local NuGet repository and only install from that. That will keep NuGet from automagically "upgrading" your packages, and allow you more control over your upgrading process (upgrade only when you want to).

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

    T 1 Reply Last reply
    0
    • S shanda watkins

      How are you using NuGet? All I do is right-click my project in Visual Studio, Manage NuGet Packages and then install what I need. It's much easier than going out to find the vendor's website, downloading an sdk, and adding references in Visual Studio. And mine don't ever try to update so new versions or url changes don't affect me. I've been using it for the last couple of years and have not had the problems you mentioned so you must be doing something wrong. :)

      R Offline
      R Offline
      RickZeeland
      wrote on last edited by
      #8

      Wait until you use 3rd party libs that need different versions of dll's, then it's party time :-\

      1 Reply Last reply
      0
      • S shanda watkins

        How are you using NuGet? All I do is right-click my project in Visual Studio, Manage NuGet Packages and then install what I need. It's much easier than going out to find the vendor's website, downloading an sdk, and adding references in Visual Studio. And mine don't ever try to update so new versions or url changes don't affect me. I've been using it for the last couple of years and have not had the problems you mentioned so you must be doing something wrong. :)

        S Offline
        S Offline
        Single Step Debugger
        wrote on last edited by
        #9

        A lot of proprietary libraries. Third party stuff. Microsoft Azure stuff. Packaging my own old libraries in a NuGet library... At least for me the whole process feels painful and time-consuming.

        There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

        S 1 Reply Last reply
        0
        • S Single Step Debugger

          A lot of proprietary libraries. Third party stuff. Microsoft Azure stuff. Packaging my own old libraries in a NuGet library... At least for me the whole process feels painful and time-consuming.

          There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

          S Offline
          S Offline
          shanda watkins
          wrote on last edited by
          #10

          Deyan Georgiev wrote:

          Third party stuff. Microsoft Azure stuff.

          That's me too.

          1 Reply Last reply
          0
          • S Single Step Debugger

            What do you guys think for these containers? After using them for a while with VS, I think this technology is a rubbish. Too many moving parts. Versioning nightmare. URLs changing, living you high and dry, conflicts between solution and projects etc. Is it just me who is not fully appreciate/understand this library management mechanic?

            There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

            M Offline
            M Offline
            Marc Clifton
            wrote on last edited by
            #11

            Somewhere a few days ago I posted "NuGet is a virus". ;) What particularly annoys me is:

            Crap like that.

            Latest Articles:
            Client-Side Type-Based Publisher/Subscriber, Exploring Synchronous, "Event-ed", and Worker Thread Subscriptions

            1 Reply Last reply
            0
            • P PIEBALDconsult

              Never used it. Worthless. Leave it for the cargo-cultists.

              S Offline
              S Offline
              Slacker007
              wrote on last edited by
              #12

              PIEBALDconsult wrote:

              Never used it.

              PIEBALDconsult wrote:

              Worthless.

              How would you know it is worthless, if you never used it? :sigh:

              E 1 Reply Last reply
              0
              • S Single Step Debugger

                What do you guys think for these containers? After using them for a while with VS, I think this technology is a rubbish. Too many moving parts. Versioning nightmare. URLs changing, living you high and dry, conflicts between solution and projects etc. Is it just me who is not fully appreciate/understand this library management mechanic?

                There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

                S Offline
                S Offline
                Slacker007
                wrote on last edited by
                #13

                I like Nuget. We use it for everything in our shop. I can't convince you to like it. I can suggest you learn how to properly work with it, and I say this kindly, and not teasingly. If you have a team of 10 developers and only 2 know how to properly work with Nuget and keep things updated properly, then you are destined for failure, because the other 8 devs will elephant things up for sure. It does have its annoying problems, but they are manageable IMHO. Edit: we have our own Nuget repo (See JSOP's response) and we use this for most of our packages and for the same reasons that John mentioned.

                S 1 Reply Last reply
                0
                • S Single Step Debugger

                  What do you guys think for these containers? After using them for a while with VS, I think this technology is a rubbish. Too many moving parts. Versioning nightmare. URLs changing, living you high and dry, conflicts between solution and projects etc. Is it just me who is not fully appreciate/understand this library management mechanic?

                  There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #14

                  I limit myself to the ones shipped by Microsoft. Ones like the UWP / WPF tool kits. No issues.

                  It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                  1 Reply Last reply
                  0
                  • Sander RosselS Sander Rossel

                    I've had a few run-ins with NuGet during my career, but apart from one time, nothing I couldn't fix. What really bothers me is that it tells me to update to package v5.0.0, which I know to be built on .NET 5.0, while my project is .NET Core 3.1. That's not compatible, yet it wants me to update... X| It shouldn't be that difficult to recognize my .NET version and then only show me updates for that particular version, or so you'd think.

                    Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                    T Offline
                    T Offline
                    Thornik
                    wrote on last edited by
                    #15

                    Technology exists not to "being fixed", but to HELP development! If nuget has defect in working principles, I see no reason even mention this tool.

                    Sander RosselS 1 Reply Last reply
                    0
                    • R realJSOP

                      To avoid version conflicts, create your own local NuGet repository and only install from that. That will keep NuGet from automagically "upgrading" your packages, and allow you more control over your upgrading process (upgrade only when you want to).

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                      T Offline
                      T Offline
                      Thornik
                      wrote on last edited by
                      #16

                      Don't you think it's WAY easier just to delete nuget and use normal libs in fixed folders???

                      R 1 Reply Last reply
                      0
                      • S Single Step Debugger

                        What do you guys think for these containers? After using them for a while with VS, I think this technology is a rubbish. Too many moving parts. Versioning nightmare. URLs changing, living you high and dry, conflicts between solution and projects etc. Is it just me who is not fully appreciate/understand this library management mechanic?

                        There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

                        T Offline
                        T Offline
                        Thornik
                        wrote on last edited by
                        #17

                        +1 to avoid Nuget. It always was and is COMPROMISE to build process - you nerver be sure smth is not changed. And never sure what and when "it" will download. Definitely "school boys" who bring this sh****t to .NET (from Linux) didn't have enough qualification and enterprise development at all. Say "no" to drugs, say "no-no-never!!" to nuget. :)

                        1 Reply Last reply
                        0
                        • T Thornik

                          Technology exists not to "being fixed", but to HELP development! If nuget has defect in working principles, I see no reason even mention this tool.

                          Sander RosselS Offline
                          Sander RosselS Offline
                          Sander Rossel
                          wrote on last edited by
                          #18

                          If technology could never be fixed we'd all be out of a job dead (probably) :~

                          Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                          1 Reply Last reply
                          0
                          • Sander RosselS Sander Rossel

                            I've had a few run-ins with NuGet during my career, but apart from one time, nothing I couldn't fix. What really bothers me is that it tells me to update to package v5.0.0, which I know to be built on .NET 5.0, while my project is .NET Core 3.1. That's not compatible, yet it wants me to update... X| It shouldn't be that difficult to recognize my .NET version and then only show me updates for that particular version, or so you'd think.

                            Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                            N Offline
                            N Offline
                            Nagy Vilmos
                            wrote on last edited by
                            #19

                            We just moved from 2.x to 5. Good luck when you get there, take booze!

                            veni bibi saltavi

                            Sander RosselS 1 Reply Last reply
                            0
                            • N Nagy Vilmos

                              We just moved from 2.x to 5. Good luck when you get there, take booze!

                              veni bibi saltavi

                              Sander RosselS Offline
                              Sander RosselS Offline
                              Sander Rossel
                              wrote on last edited by
                              #20

                              I'll skip 5 as it's not an LTS release. Although the move from 3.1 to 5 should be pretty painless... In theory :^) One of my customers, the only one with a software (1-man) team of their own, is on .NET 5 and so far it looks exactly like my 3.1 code :D

                              Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                              1 Reply Last reply
                              0
                              • S Single Step Debugger

                                What do you guys think for these containers? After using them for a while with VS, I think this technology is a rubbish. Too many moving parts. Versioning nightmare. URLs changing, living you high and dry, conflicts between solution and projects etc. Is it just me who is not fully appreciate/understand this library management mechanic?

                                There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

                                R Offline
                                R Offline
                                Richard Deeming
                                wrote on last edited by
                                #21

                                It's the worst dependency management option, apart from all of the other options. :) Jon Skeet wrote about some of the problems a while back: Versioning limitations in .NET | Jon Skeet's coding blog[^]


                                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                                1 Reply Last reply
                                0
                                • T Thornik

                                  Don't you think it's WAY easier just to delete nuget and use normal libs in fixed folders???

                                  R Offline
                                  R Offline
                                  realJSOP
                                  wrote on last edited by
                                  #22

                                  Sure it is, but you can't argue the convenience of having the nuget packages to provide the libs and dependencies so you don't have to worry about getting everything manually. I was providing a solution that doesn't involve changing your processes with regards to NuGet packages.

                                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                  -----
                                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                  -----
                                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                  T 1 Reply Last reply
                                  0
                                  • R realJSOP

                                    Sure it is, but you can't argue the convenience of having the nuget packages to provide the libs and dependencies so you don't have to worry about getting everything manually. I was providing a solution that doesn't involve changing your processes with regards to NuGet packages.

                                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                    -----
                                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                    -----
                                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                    T Offline
                                    T Offline
                                    Thornik
                                    wrote on last edited by
                                    #23

                                    You mix all in one. Nuget is useful only in the way that every package has... info about dependencies! Period. I have no problem in getting all depended libs (esp. if reference contains info about homepage or binaries). Any commercial dev is a serious process (opposite to linux clowns who is ready to spend DAYS on hell knows what). There is no place for "guess what library is breaking the build!". Moreover: developer can intentionally keep old verion to keep compatibility with environment of clients (say, somebody still works in Win XP). That's why archaic 'nuget' is unacceptable. I agree only on one help: if I run util like `getrefs somepackage` and it downloads all dependencies. Everything else I can and must do manually.

                                    1 Reply Last reply
                                    0
                                    • S Single Step Debugger

                                      What do you guys think for these containers? After using them for a while with VS, I think this technology is a rubbish. Too many moving parts. Versioning nightmare. URLs changing, living you high and dry, conflicts between solution and projects etc. Is it just me who is not fully appreciate/understand this library management mechanic?

                                      There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

                                      M Offline
                                      M Offline
                                      MadGerbil
                                      wrote on last edited by
                                      #24

                                      We use them. I hate them. Nothing worse than that one person on staff who has to run off and try every bell and whistle. Multiple layers of code across a dozen libraries just to put a form on a page. I cannot wait to retire.

                                      1 Reply Last reply
                                      0
                                      • S Single Step Debugger

                                        What do you guys think for these containers? After using them for a while with VS, I think this technology is a rubbish. Too many moving parts. Versioning nightmare. URLs changing, living you high and dry, conflicts between solution and projects etc. Is it just me who is not fully appreciate/understand this library management mechanic?

                                        There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

                                        K Offline
                                        K Offline
                                        KLPounds
                                        wrote on last edited by
                                        #25

                                        This generations spin on DLL hell. It's not so bad when you have one or 2 packages that stand on their own. But when the packages have dependencies on other packages which depend on other packages. And one package want v2.0 and another wants v2.2, it becomes a kluge. TFS seems to choke on pulling solutions and ACTUALLY recognize package dependency. Or do recognize and tell me packages are installed but throws errors of missing references no matter how often I refresh or clean/build, etc. Often have to delete the reference and readd. Local nuget seems to have helped some.. Until a genius updates a package (or packages) and decides it should have all the latest and greatest dependent packages without thinking about downstream impact and ends up breaking stuff. Thats more of an internal problem but still an example of how wrong things can go in a nuget world. Our team has lovingly referred to it as NO-GET.

                                        1 Reply Last reply
                                        0
                                        • Sander RosselS Sander Rossel

                                          I've had a few run-ins with NuGet during my career, but apart from one time, nothing I couldn't fix. What really bothers me is that it tells me to update to package v5.0.0, which I know to be built on .NET 5.0, while my project is .NET Core 3.1. That's not compatible, yet it wants me to update... X| It shouldn't be that difficult to recognize my .NET version and then only show me updates for that particular version, or so you'd think.

                                          Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                                          D Offline
                                          D Offline
                                          Dan Neely
                                          wrote on last edited by
                                          #26

                                          Sander Rossel wrote:

                                          It shouldn't be that difficult

                                          Do you realize what you just wrote!!!!! Everyone who's read is is now doomed to a hell of unsolvable problems for all eternity. :doh:

                                          Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups