question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Addon fails to load

See original GitHub issue

When opening the addon, the window remains blank, and the following exception is written to the output window:

Init: 431 ms
ResX Resource Manager loaded.
Home: https://github.com/tom-englert/ResXResourceManager
Report issues: https://github.com/tom-englert/ResXResourceManager/issues
Support the project by adding a short review: https://marketplace.visualstudio.com/items?itemName=TomEnglert.ResXManager#review-details
Assembly location: C:\Users\marti\AppData\Local\Microsoft\VisualStudio\15.0_867e1c68\Extensions\5hg4dzd1.2rk
Version: 1.16.1044.0
.NET Framework Version: 461308 (https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed)
Error: System.Windows.Markup.XamlParseException: Add value to collection of type 'System.Windows.Interactivity.BehaviorCollection' threw an exception. ---> System.ArgumentException: Cannot add instance of type 'CommandRoutingBehavior' to a collection of type 'BehaviorCollection'. Only items of type 'T' are allowed.
   at System.Windows.FreezableCollection`1.Cast(Object value)
   at System.Windows.FreezableCollection`1.System.Collections.IList.Add(Object value)
   at System.Xaml.Schema.XamlTypeInvoker.AddToCollection(Object instance, Object item)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.Add(Object collection, XamlType collectionType, Object value, XamlType valueXamlType)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at tomenglertde.ResXManager.VSIX.Visuals.VsixShellView.InitializeComponent() in C:\Agent\_work\9\s\ResXManager.VSIX\Visuals\VsixShellView.xaml:line 1
   at tomenglertde.ResXManager.VSIX.Visuals.VsixShellView..ctor(ExportProvider exportProvider, ThemeManager themeManager, VsixShellViewModel viewModel) in C:\Agent\_work\9\s\ResXManager.VSIX\Visuals\VsixShellView.xaml.cs:line 45
Assembly 'DataGridExtensions, Version=1.0.37.0, Culture=neutral, PublicKeyToken=43de855f87de903a' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/DataGridExtensions.dll
Assembly 'JetBrains.Annotations, Version=11.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/JetBrains.Annotations.dll
Assembly 'JetBrains.Annotations, Version=11.1.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325' loaded from file:///C:/Users/marti/AppData/Local/JetBrains/Installations/ReSharperPlatformVs15_867e1c68_000/JetBrains.Annotations.DLL
Assembly 'Microsoft.Expression.Interactions, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/Microsoft.Expression.Interactions.dll
Assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/Newtonsoft.Json.dll
Assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' loaded from file:///C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/IDE/PrivateAssemblies/Newtonsoft.Json.DLL
Assembly 'ResXManager.Infrastructure, Version=1.16.1044.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/ResXManager.Infrastructure.DLL
Assembly 'ResXManager.Model, Version=1.16.1044.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/ResXManager.Model.DLL
Assembly 'ResXManager.Translators, Version=1.16.1044.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/ResXManager.Translators.dll
Assembly 'ResXManager.View, Version=1.16.1044.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/ResXManager.View.dll
Assembly 'ResXManager.VSIX, Version=1.16.1044.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/ResXManager.VSIX.dll
Assembly 'System.Windows.Interactivity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' loaded from file:///C:/USERS/MARTI/APPDATA/LOCAL/MICROSOFT/VISUALSTUDIO/15.0_867E1C68/EXTENSIONS/5KYSATD3.UDI/System.Windows.Interactivity.dll
Assembly 'System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' loaded from file:///C:/Users/marti/AppData/Local/JetBrains/Installations/ReSharperPlatformVs15_867e1c68_000/System.Windows.Interactivity.DLL
Assembly 'TomsToolbox.Core, Version=1.0.64.0, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/TomsToolbox.Core.DLL
Assembly 'TomsToolbox.Desktop, Version=1.0.64.0, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/TomsToolbox.Desktop.DLL
Assembly 'TomsToolbox.ObservableCollections, Version=1.0.64.0, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/TomsToolbox.ObservableCollections.dll
Assembly 'TomsToolbox.Wpf, Version=1.0.64.0, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/TomsToolbox.Wpf.DLL
Assembly 'TomsToolbox.Wpf.Styles, Version=1.0.64.0, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/TomsToolbox.Wpf.Styles.DLL
Found assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' already loaded from file:///C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/IDE/PrivateAssemblies/Newtonsoft.Json.DLL.
Found assembly 'JetBrains.Annotations, Version=11.1.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325' already loaded from file:///C:/Users/marti/AppData/Local/JetBrains/Installations/ReSharperPlatformVs15_867e1c68_000/JetBrains.Annotations.DLL.
Found assembly 'System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' already loaded from file:///C:/Users/marti/AppData/Local/JetBrains/Installations/ReSharperPlatformVs15_867e1c68_000/System.Windows.Interactivity.DLL.
Loaded assembly 'DataGridExtensions, Version=1.0.37.0, Culture=neutral, PublicKeyToken=43de855f87de903a' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/DataGridExtensions.dll.
Loaded assembly 'JetBrains.Annotations, Version=11.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/JetBrains.Annotations.dll.
Loaded assembly 'Microsoft.Expression.Interactions, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/Microsoft.Expression.Interactions.dll.
Loaded assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/Newtonsoft.Json.dll.
Loaded assembly 'ResXManager.Infrastructure, Version=1.16.1044.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/ResXManager.Infrastructure.DLL.
Loaded assembly 'ResXManager.Model, Version=1.16.1044.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/ResXManager.Model.DLL.
Loaded assembly 'ResXManager.Translators, Version=1.16.1044.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/ResXManager.Translators.dll.
Loaded assembly 'ResXManager.View, Version=1.16.1044.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/ResXManager.View.dll.
Loaded assembly 'ResXManager.VSIX, Version=1.16.1044.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/ResXManager.VSIX.dll.
Loaded assembly 'System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' from file:///C:/Users/marti/AppData/Local/JetBrains/Installations/ReSharperPlatformVs15_867e1c68_000/System.Windows.Interactivity.DLL.
Loaded assembly 'TomsToolbox.Core, Version=1.0.64.0, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/TomsToolbox.Core.DLL.
Loaded assembly 'TomsToolbox.Desktop, Version=1.0.64.0, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/TomsToolbox.Desktop.DLL.
Loaded assembly 'TomsToolbox.ObservableCollections, Version=1.0.64.0, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/TomsToolbox.ObservableCollections.dll.
Loaded assembly 'TomsToolbox.Wpf, Version=1.0.64.0, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/TomsToolbox.Wpf.DLL.
Loaded assembly 'TomsToolbox.Wpf.Styles, Version=1.0.64.0, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' from file:///C:/Users/marti/AppData/Local/Microsoft/VisualStudio/15.0_867e1c68/Extensions/5hg4dzd1.2rk/TomsToolbox.Wpf.Styles.DLL.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:21

github_iconTop GitHub Comments

1reaction
sunsandecommented, Apr 24, 2018

Same here. The hint from @soulman72 helped me (deleting the System.Windows.Interactivity.dll in the AppData/Users-folder)

Thank you @soulman72 !

1reaction
judick341commented, Apr 23, 2018

I had the same problems, solved it by removing the System.Windows.Interactivity.dll from the GAC. The problem came back… I installed the “Coverity Desktop for Visual Studio”. After disabling “Coverity”, problem was “solved” … or not, since I want to use both “ResX Manager” and “Coverity…” and some other extensions too, that may need the same DLLs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Failed to Install Addon from ZIP File Error on Kodi
Solution 1. Make Sure Kodi is Connected to the Internet · Solution 2. Enable Unknown Source on Device · Solution 3. Try Installing...
Read more >
FIX: Failed to Install Addon from Zip File on Kodi
1. Go to FireStick Settings from the home window. failed to install addon from zip file kodi error · 2. Click My Fire...
Read more >
How to Fix an Add On for This Website Failed to Run [Edge ...
If you got An add on for this website failed to run, start a new Chrome window and click on the three-dot menu...
Read more >
How to fix “Failed to install a dependency” error In Kodi
The most common reason for this error is that the addon you're trying to use relies on tools that are either missing, out...
Read more >
Kodi not working? How to fix common Kodi problems
If you've managed to install a repo, but an addon fails to install, there are several possible causes. The addon may be outdated...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found