Update-DependentLogic doesn't run in Visual Studio 2015 RC

Here’s the raw output of my package manager console in Visual Studio 2015 RC. Obviously, this works fine in 2013.

Each package is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.

Package Manager Console Host Version 3.0.0.0

Type ‘get-help NuGet’ to see all available NuGet commands.

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_d47328db-818f-48… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_8540f6c5-43df-49… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_f7444113-f660-47… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

PM>
ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_d294468c-f3a8-4c… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_25d7dacc-b384-4c… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_fc7159e1-567c-45… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_29ac5730-688a-41… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_a9c4a1dc-2844-40… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_fd5555e8-6d76-4f… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_fe27bec7-61d1-42… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_f403b568-abec-4d… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_f2eaee20-ea64-4f… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_68536ea1-60ab-43… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_b3c14e6a-d541-45… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_de49727d-0e69-48… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

ModuleType Version Name ExportedCommands


Script 0.0 __DynamicModule_a01dd3ae-4279-42… {ExportLogic, InstallAndStartServices, Measure-LogicSize, StopAndUninstallServices…}

PM> Update-DependentLogic
& : The term ‘C:\Users\Sam\Dropbox\SVN\ggrhio\pportal-web\Fusion.RHIO\packages\EwlGreg.2.0.0-pr00077-1409261557\tools\Development Utility\EnterpriseWebLibrary.DevelopmentUtility’ is not recognized as the name
of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\Sam\Dropbox\SVN\ggrhio\pportal-web\Fusion.RHIO\packages\EwlGreg.2.0.0-pr00077-1409261557\tools\init.ps1:10 char:5

  •     & "$installPath\Development Utility\EnterpriseWebLibrary.DevelopmentUtility" $ ...
    
  •       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\Users\Sam\Dr…elopmentUtility:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

PM>

Looks like they changed the working directory from which init.ps1 is executed. Notice that it’s looking for the Development Utility folder inside the tools folder, which is incorrect. It’s one level further out.

That, and the messages showing it’s been loaded 16 times.

I fixed this locally making two changes

Just change & "$installPath\Development Utility\EnterpriseWebLibrary.DevelopmentUtility" $installPath\..\..
to
& "$installPath\..\Development Utility\EnterpriseWebLibrary.DevelopmentUtility" $installPath\..\..\..

Visual Studio 2015 was released yesterday.

Confirmed this is still a problem in the release version.

So what are we going to do? Fix it so it only works for 2015 users? Fix it for all users? Seems like it should be resolved in a different way since we were dependent on something that’s not guaranteed.