NuGet - managing and removing mutil version packages in single solution
        Posted  
        
            by 
                Myles McDonnell
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Myles McDonnell
        
        
        
        Published on 2012-03-30T11:26:51Z
        Indexed on 
            2012/03/30
            11:29 UTC
        
        
        Read the original article
        Hit count: 370
        
SCENARIO
One VS solution with n projects. Project A references package Y v1, Project B references package Y v2. It is now not possible to update all references to package Y for all projects in the solution using the NuGet package manage dialog at the solution level, it is only possible to do this when all projects reference the same version of package Y. Not a big deal for only two projects, but I'm dealing with lots of projects that through poor package management are referencing many package versions when they should all reference the same version.
Before I spend the afternoon writing a console app. to auto update all package.config files for a solution so that each referenced package is only referenced via it's latest version (latest referenced, not the very latest, with exceptions/caveats etc)....is there a tool/method for doing this already? Or some other approach I am unaware of?
© Stack Overflow or respective owner