×

Notice

The forum is in read only mode.
×
Getting new Releases

To get notified on new releases you may follow us on twitter @expandframework or subscribe in our main RSS feed.

Topic-icon ToolboxCreator and VSIX Paket Error in 17.1.3.4

  • wolffc70
  • wolffc70's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
1 year 4 months ago #10856 by wolffc70
Hi,
installing 17.1.3.4 the ToolboxCreator and the VSIX Paket got Errors.

ToolboxCreator:

Xpand.ToolboxCreator.exe Information: 0 : WorkingDirectory=C:\Program Files (x86)\eXpandFramework\Xpand.DLL\
Xpand.ToolboxCreator.exe Information: 0 : 61 eXpand Assemblies found
Xpand.ToolboxCreator.exe Error: 0 : System.ObjectDisposedException: Auf einen geschlossenen Registrierungsschlüssel kann nicht zugegriffen werden.
Objektname: "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\ToolboxControlsInstaller".
bei System.ThrowHelper.ThrowObjectDisposedException(String objectName, ExceptionResource resource)
bei Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
bei Xpand.ToolboxCreator.Program.Register(Type type, String file, IEnumerable`1 registryKeys) in C:\Release171\Support\ToolboxCreator\Program.cs:Zeile 174.
bei Xpand.ToolboxCreator.Program.Main(String[] args) in C:\Release171\Support\ToolboxCreator\Program.cs:Zeile 77.
Xpand.ToolboxCreator.exe Error: 0 : System.ObjectDisposedException: Auf einen geschlossenen Registrierungsschlüssel kann nicht zugegriffen werden.
Objektname: "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\ToolboxControlsInstaller".
bei System.ThrowHelper.ThrowObjectDisposedException(String objectName, ExceptionResource resource)
bei Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
bei Xpand.ToolboxCreator.Program.Register(Type type, String file, IEnumerable`1 registryKeys) in C:\Release171\Support\ToolboxCreator\Program.cs:Zeile 174.
bei Xpand.ToolboxCreator.Program.Main(String[] args) in C:\Release171\Support\ToolboxCreator\Program.cs:Zeile 77.
Xpand.ToolboxCreator.exe Error: 0 : System.ObjectDisposedException: Auf einen geschlossenen Registrierungsschlüssel kann nicht zugegriffen werden.
Objektname: "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\ToolboxControlsInstaller".
bei System.ThrowHelper.ThrowObjectDisposedException(String objectName, ExceptionResource resource)
bei Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
bei Xpand.ToolboxCreator.Program.Register(Type type, String file, IEnumerable`1 registryKeys) in C:\Release171\Support\ToolboxCreator\Program.cs:Zeile 174.
bei Xpand.ToolboxCreator.Program.Main(String[] args) in C:\Release171\Support\ToolboxCreator\Program.cs:Zeile 77.
.......


VSIX Paket
Loading VS 2015 you got an Error for the Package and the Menu Xpand didn´t work. Error in Activity.log

LegacySitePackage failed for package [VSPackage]Source: '' Description: Falscher Parameter. (Ausnahme von HRESULT: 0x80070057 (E_INVALIDARG)) System.ArgumentException: Falscher Parameter. (Ausnahme von HRESULT: 0x80070057 (E_INVALIDARG)) bei EnvDTE.Command.set_Bindings(Object pVar) bei Xpand.VSIX.Commands.VSCommand.BindCommand(Object[] bindings) bei Xpand.VSIX.Commands.EasyTestCommand.Init() bei Xpand.VSIX.Commands.Commands.InitEasyTest() bei Xpand.VSIX.Commands.Commands..ctor() bei Xpand.VSIX.VSPackage.VSPackage.Initialize() bei Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)


I hope this helps.
The following user(s) said Thank You: Tolis
More
1 year 4 months ago #10864 by Tolis
thnks, fixed in next minor 17.1.3.5

To get notified on new releases follow us on twitter @expandframework or subscribe RSS feed. I am also available @tolisss . Also see How to debug eXpand
The following user(s) said Thank You: wolffc70
More
1 year 4 months ago #10865 by vimarx
Hi tolis,
The 17.1.3.x VSIX version isn't working for me (included 17.1.3.5), Vs2015
Previuos version 16.2.x is ok.
What info do you need? I do not have experience with Vs addins. Attached some info
This attachment is hidden for guests.
Please log in or register to see it.


Thanks

Gustavo

This message has an attachment file.
Please log in or register to see it.

More
1 year 4 months ago #10872 by Tolis
Hi Gustavo,

It is hard to understnad why such a simple method as BindCommand fails
github.com/expand/eXpand/blob/b3b7ff8806...VSCommand.cs#L17-L20

From the stacktrace we can see that it fails for EasyTest only
github.com/expand/eXpand/blob/b3b7ff8806...stCommand.cs#L27-L30

so random guesses could be
a) VS localization e.g. "Text Editor" context is localized
b) other problem with the used key shortcuts (Alt+D,Alt+T), maybe you could reset your key mappings and check the Xpand.RunEasyTest mapping


From next version I will allow command initialization even if binding fails

To get notified on new releases follow us on twitter @expandframework or subscribe RSS feed. I am also available @tolisss . Also see How to debug eXpand
Attachments:
More
1 year 3 months ago #10919 by vimarx



Thanks, it is working in 17.1.3.8 but the activitylog file is not updated....
Attachments:
More
1 year 3 months ago #10920 by Tolis
hmm the log code is in place just before the message box so I do not get it how it does not log. Do u think we can arrange a remote session so i can debug it on your side?

To get notified on new releases follow us on twitter @expandframework or subscribe RSS feed. I am also available @tolisss . Also see How to debug eXpand
Moderators: expand
Time to create page: 0.320 seconds