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. I'm in Nuget Helll

I'm in Nuget Helll

Scheduled Pinned Locked Moved The Lounge
visual-studio
23 Posts 11 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.
  • realJSOPR realJSOP

    It's just a giant clusterf*ck... :|

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

    realJSOPR Offline
    realJSOPR Offline
    realJSOP
    wrote on last edited by
    #11

    I started the project from scratch five times in VS2015. Each time, Nuget refused to update all of the packages (it had issues with the Owin stuff). So then, I created the project in VS2017, and updated all of the packages successfully. And the app even ran (albeit in a completely virginal state). Finally, I opened that project in VS2015, and it compiled/ran there as well. I guess VS2015/Nuget is an unstable combination.

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

    R 1 Reply Last reply
    0
    • realJSOPR realJSOP

      It's just a giant clusterf*ck... :|

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

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #12

      Been there, bro. It shouldn’t be that hard should it.

      cheers Chris Maunder

      realJSOPR R 2 Replies Last reply
      0
      • C Chris Maunder

        Been there, bro. It shouldn’t be that hard should it.

        cheers Chris Maunder

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #13

        Indeed...

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

        1 Reply Last reply
        0
        • realJSOPR realJSOP

          I started the project from scratch five times in VS2015. Each time, Nuget refused to update all of the packages (it had issues with the Owin stuff). So then, I created the project in VS2017, and updated all of the packages successfully. And the app even ran (albeit in a completely virginal state). Finally, I opened that project in VS2015, and it compiled/ran there as well. I guess VS2015/Nuget is an unstable combination.

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

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

          It probably is cache related, when you clear the Nuget cache(s) that should help (see my previous reply for a link)

          realJSOPR 1 Reply Last reply
          0
          • P PIEBALDconsult

            Meh. Never used it and I don't plan to. It seems like one of those things the script kiddies use to avoid doing their jobs/homework. Real developers don't use it.

            B Offline
            B Offline
            Brady Kelly
            wrote on last edited by
            #15

            PIEBALDconsult wrote:

            Real developers don't use it.

            Bullshit.

            "'Do what thou wilt...' is to bid Stars to shine, Vines to bear grapes, Water to seek its level; man is the only being in Nature that has striven to set himself at odds with himself." —Aleister Crowley

            1 Reply Last reply
            0
            • R RickZeeland

              It probably is cache related, when you clear the Nuget cache(s) that should help (see my previous reply for a link)

              realJSOPR Offline
              realJSOPR Offline
              realJSOP
              wrote on last edited by
              #16

              It was a virgin install of VS2015.

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

              M 1 Reply Last reply
              0
              • C Chris Maunder

                Been there, bro. It shouldn’t be that hard should it.

                cheers Chris Maunder

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

                The fun starts when my colleagues decide to use different versions of e.g. NewtonSoft JSON and everything must be bundled together in one installation directory. When they also decide to mix .NET and .NET Core in one solution things get even more fun :-D

                C 1 Reply Last reply
                0
                • R raddevus

                  #realJSOP wrote:

                  You mean delete packages.config

                  Uh oh!

                  #realJSOP wrote:

                  and JUST the packages folder)

                  Just the packages folder should be deleted. Deleting the packages.config will hurt very badly. Also, the problem is probably related to the packages cache -- (IT's TERRIBLE!!! when it happens). But you can clear it. Tools...Options... NuGet Package Manager (see image : https://i.stack.imgur.com/uVdMY.png[^] ) When NuGet works, it works. When it doesn't....agh!!!!

                  realJSOPR Offline
                  realJSOPR Offline
                  realJSOP
                  wrote on last edited by
                  #18

                  raddevus wrote:

                  Also, the problem is probably related to the packages cache -- (IT's TERRIBLE!!! when it happens). But you can clear it. Tools...Options... NuGet Package Manager (see image : https://i.stack.imgur.com/uVdMY.png[^] )

                  It doesn't appear as if that is possible in NuGet 3.4.4... And we can't update VS due to group policies. Once the machine is joined to the network, we can't update Visual studio, so when there’s an important patch, we have to RE-IMAGE our boxes, apply the patches, and then connect it to the network, at which point group policies are applied automatically.

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

                  W 1 Reply Last reply
                  0
                  • R RickZeeland

                    The fun starts when my colleagues decide to use different versions of e.g. NewtonSoft JSON and everything must be bundled together in one installation directory. When they also decide to mix .NET and .NET Core in one solution things get even more fun :-D

                    C Offline
                    C Offline
                    Chris Maunder
                    wrote on last edited by
                    #19

                    Throw in webforms and you get system.net.http hell.

                    cheers Chris Maunder

                    1 Reply Last reply
                    0
                    • realJSOPR realJSOP

                      It was a virgin install of VS2015.

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

                      M Offline
                      M Offline
                      Mark Smeltzer
                      wrote on last edited by
                      #20

                      There's your problem. Without *all* of the updates installed, VS 2015 doesn't have very good nuget support. 2017+ should be good out of the box, but latest updates are always recommended.

                      realJSOPR 1 Reply Last reply
                      0
                      • M Mark Smeltzer

                        There's your problem. Without *all* of the updates installed, VS 2015 doesn't have very good nuget support. 2017+ should be good out of the box, but latest updates are always recommended.

                        realJSOPR Offline
                        realJSOPR Offline
                        realJSOP
                        wrote on last edited by
                        #21

                        I neglected to see whatnuget version is installed. However, that doesn't solve the problem at work. We don't have an internet connection to our dev boxes, and I've spent the last few hours trying to get a local private extension gallery working so I can update nuget to the latest version for vs2015. VS2015 has update 3 on it.

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

                        1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          raddevus wrote:

                          Also, the problem is probably related to the packages cache -- (IT's TERRIBLE!!! when it happens). But you can clear it. Tools...Options... NuGet Package Manager (see image : https://i.stack.imgur.com/uVdMY.png[^] )

                          It doesn't appear as if that is possible in NuGet 3.4.4... And we can't update VS due to group policies. Once the machine is joined to the network, we can't update Visual studio, so when there’s an important patch, we have to RE-IMAGE our boxes, apply the patches, and then connect it to the network, at which point group policies are applied automatically.

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

                          W Offline
                          W Offline
                          wheelman570z
                          wrote on last edited by
                          #22

                          Sounds like you guys need to do all your development in VMs that are not joined to the domain. That way the IT folks don't have the ability to force policies that keep you from doing your jobs down your throats. I've been working that way for years and it's kept the IT Nazis at bay for the most part.

                          D 1 Reply Last reply
                          0
                          • W wheelman570z

                            Sounds like you guys need to do all your development in VMs that are not joined to the domain. That way the IT folks don't have the ability to force policies that keep you from doing your jobs down your throats. I've been working that way for years and it's kept the IT Nazis at bay for the most part.

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

                            What makes you think his IT Nazi's either ban VM software entirely or only allow VMs tied into their control system and thus subject to the full power of IT stupidity. At my last (dod contractor) job, Windows VMs were generally banned. Not because of normal IT Nazi control freakism; but because their license management cluster:elephant: couldn't tell the difference between free VM licenses from an MSDN sub and licenses that needed pay for via volume licensing, and there was $0 budget for the latter. :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