Home Patches

Patch for VS add-in

xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
Prior to this patch, the Ice Visual Studio add-in was adding references to Ice assemblies using their full path, and assumed the Ice.dll was in the IceHome directory. IceHome is computed from the directory where the Ice Visual Studio add-in is installed.

With this patch, the Ice Visual Studio add-in adds references to Ice components by name; Visual Studio relies on AssemblyFoldersEx registry entries to locate these assemblies.

The Ice and Ice for Silverlight installers create the following AssemblyFoldersEx registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx\ZeroC
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v3.5.0.0\WindowsCE\AssemblyFoldersEx\ZeroC
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v3.5.0.0\PocketPC\AssemblyFoldersEx\ZeroC
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Silverlight\v5.0\AssemblyFoldersEx\ZeroC
The corresponding values point to the directory where the Ice or Ice for Silverlight installer installed these assemblies. If you want to move these assemblies to a different directory, you need to manually update the corresponding registry values.

With this patch the add-in will not longer try to update the path of assemblies when they don't match IceHome.

The null reference issue, reported here is also fixed.

The patch is based on latest VS add-in sources, included in IceSL-0.4.1 distribution.

To apply the patch:
cd IceSL-0.4.1
patch -p0 < ~/add-in-patch.txt

Comments

  • zweisteinzweistein Member andreas langhoffOrganization: PersonalProject: cloud service for ninjatrader
    Hello,

    I have difficiulties finding the correct patch.exe

    Can you indicate the correct procedure on a windows machine to path the VS add-in?

    Thank you

    Andreas
Sign In or Register to comment.