ResXResourceManager: ResXManager not working in VS 2017 15.6.6

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 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.FreezableCollection1.Cast(Object value) at System.Windows.FreezableCollection1.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) in C:\Agent_work\9\s\ResXManager.VSIX\Visuals\VsixShellView.xaml.cs:line 40 Assembly location: C:\Users\dick\AppData\Local\Microsoft\VisualStudio\15.0_4ca776c5\Extensions\dbuhyrde.jtm Version: 1.15.1006.0 .NET Framework Version: 461310 (https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 35

Commits related to this issue

Most upvoted comments

Could limit the problem even further: when I open Visual Studio 2017 directly it works. But when I open a solution directly it doesn’t work always.

http://vsixgallery.com/extension/43b35fe0-1f30-48de-887a-68256474202a/

Error: System.Diagnostics.Contracts.__ContractsRuntime+ContractException: Precondition failed: dataGrid != null at tomenglertde.ResXManager.View.Tools.ColumnManager.SetupColumns(DataGrid dataGrid, ResourceManager resourceManager, ResourceViewModel resourceViewModel, Configuration configuration) in C:\Agent_work\9\s\ResXManager.View\Tools\ColumnManager.cs:line 65 at tomenglertde.ResXManager.View.Visuals.ResourceView.ResourceManager_Loaded(Object sender, EventArgs e) in C:\Agent_work\9\s\ResXManager.View\Visuals\ResourceView.xaml.cs:line 67 at System.EventHandler1.Invoke(Object sender, TEventArgs e) at tomenglertde.ResXManager.Model.ResourceManager.OnLoaded() in C:\Agent\_work\9\s\ResXManager.Model\ResourceManager.cs:line 165 at tomenglertde.ResXManager.Model.ResourceManager.InternalLoad(IEnumerable1 resourceFilesByDirectory) in C:\Agent_work\9\s\ResXManager.Model\ResourceManager.cs:line 186 at tomenglertde.ResXManager.Model.ResourceManager.Load(IList1 allSourceFiles) in C:\Agent\_work\9\s\ResXManager.Model\ResourceManager.cs:line 71 at tomenglertde.ResXManager.Model.ResourceManager.Reload(IList1 sourceFiles) in C:\Agent_work\9\s\ResXManager.Model\ResourceManager.cs:line 143 at tomenglertde.ResXManager.View.Visuals.ResourceViewModel.Reload(Boolean forceFindCodeReferences) in C:\Agent_work\9\s\ResXManager.View\Visuals\ResourceViewModel.cs:line 513