0 vote
Please change the Name to be a static name, such as Remote.Desktop.Manager or Remote.Desktop.Manager.PSSnapIn, instead of a versioned name pulled at build time.
The existing structure results in multiple snapins being registered and attempted to load. Since the name used to load includes the version, which no longer exists, there is a fail for trying to load the snapin for previously registered versions. The key should simply be updated as the version exists as a value and a property of the assembly.
I've had to manually remove old entries from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\
Thanks
Hello,
For your information, you can also remove old entries with the PowerShell cmdlet Remove-PSSnapin. You can refer to this online help link about it http://help.remotedesktopmanager.com/troubleshooting_powershell.htm.
With the version 12 of RDM, we will launch a PowerShell module. So with this module, you will no longer need to provide or manage the versioned name of this module.
Best regards,
Érica Poirier
Thanks Erica, that's great news and a much better route to take in all.
The Remove-PSSnapin doesn't help as the entries that are erroring for me are not returned by Get-PSSnapin.
What will the modules distribution method be? (Basically, from what provider will we be able to import when it's available?)
Hello,
The module will be distributed within the installation package of Remote Desktop Manager.
Best regards,
Érica Poirier