Resxresourcemanager: Blank screen when opening RESX Resource Manager

Created on 12 Mar 2018  ·  13Comments  ·  Source: dotnet/ResXResourceManager

Since updating VS 2017 today RESX Resource Manager is not working, just a blank screen?? I have been using this product successfully for over a year now without a problem. By the way the solution is open just in case you wondered. I have uninstalled and re-installed but still not joy.

image

Most helpful comment

As a quick fix i copied the Newtonsoft.Json.dll file from an other project in the folder mentioned in the error message. In my case c:\Users\erik\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\mxiin3v3.hu0. This seems to work for now.

All 13 comments

Same problem on VS 2015
default

ResX version: 1.12.976

Here is the error message from Output window

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\shawn\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\obmgdcqr.v3y
Version: 1.12.976.0
Error: System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

1) Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. 系統找不到指定的檔案。

Resulting in: An exception occurred while trying to create an instance of type 'tomenglertde.ResXManager.Translators.TranslatorHost'.

Resulting in: Cannot activate part 'tomenglertde.ResXManager.Translators.TranslatorHost'.
Element: tomenglertde.ResXManager.Translators.TranslatorHost -->  tomenglertde.ResXManager.Translators.TranslatorHost -->  AssemblyCatalog (Assembly="ResXManager.Translators, Version=1.12.976.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b")

Resulting in: Cannot get export 'tomenglertde.ResXManager.Translators.TranslatorHost (ContractName="tomenglertde.ResXManager.Translators.TranslatorHost")' from part 'tomenglertde.ResXManager.Translators.TranslatorHost'.
Element: tomenglertde.ResXManager.Translators.TranslatorHost (ContractName="tomenglertde.ResXManager.Translators.TranslatorHost") -->  tomenglertde.ResXManager.Translators.TranslatorHost -->  AssemblyCatalog (Assembly="ResXManager.Translators, Version=1.12.976.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b")

Resulting in: Cannot set import 'tomenglertde.ResXManager.View.Visuals.TranslationsViewModel..ctor (Parameter="translatorHost", ContractName="tomenglertde.ResXManager.Translators.TranslatorHost")' on part 'tomenglertde.ResXManager.View.Visuals.TranslationsViewModel'.
Element: tomenglertde.ResXManager.View.Visuals.TranslationsViewModel..ctor (Parameter="translatorHost", ContractName="tomenglertde.ResXManager.Translators.TranslatorHost") -->  tomenglertde.ResXManager.View.Visuals.TranslationsViewModel -->  AssemblyCatalog (Assembly="ResXManager.View, Version=1.12.976.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b")

Resulting in: Cannot get export 'tomenglertde.ResXManager.View.Visuals.TranslationsViewModel (ContractName="VisualComposition-86E8D1EF-1322-46B4-905C-115AAD63533D")' from part 'tomenglertde.ResXManager.View.Visuals.TranslationsViewModel'.
Element: tomenglertde.ResXManager.View.Visuals.TranslationsViewModel (ContractName="VisualComposition-86E8D1EF-1322-46B4-905C-115AAD63533D") -->  tomenglertde.ResXManager.View.Visuals.TranslationsViewModel -->  AssemblyCatalog (Assembly="ResXManager.View, Version=1.12.976.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b")

   at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)
   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)
   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()
   at System.ComponentModel.Composition.Primitives.Export.get_Value()
   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
   at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass11_0`2.<CreateStronglyTypedLazyOfTM>b__1()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at TomsToolbox.Wpf.Composition.ItemsControlCompositionBehavior.<OnUpdate>b__4_1(Lazy`2 item)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at TomsToolbox.Wpf.Composition.ItemsControlCompositionBehavior.OnUpdate()
   at TomsToolbox.Wpf.Composition.VisualCompositionBehavior`1.Update()

I can confirm the problem: VS 15.6.1 Professional

As a quick fix i copied the Newtonsoft.Json.dll file from an other project in the folder mentioned in the error message. In my case c:\Users\erik\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\mxiin3v3.hu0. This seems to work for now.

I can confirm it is a V 1.12 version issue of ResX Resource Manager, uninstalling it and manually installing 1.11 works, then disable automatic updates.

Same here in Visual Studio Community 15.6.1

Same here in Community 15
I had to uninstall the new version, download the old version and install for it to start working again

I can confirm the problem: VS 15 Professional

vanengelen's solution is work,thank you!

I can confirm too in vs 15 pro. iVcardo's solution work for me and i disable automatic updates.

@tom-englert any chance of a fix for this issue Tom? Thanks

I can confirm too in vs 15 pro.

The same for VS 2015 Enterprise

Fixed in V1.13

Was this page helpful?
0 / 5 - 0 ratings

Related issues

taula50 picture taula50  ·  22Comments

MisterJimson picture MisterJimson  ·  10Comments

mnyhjem picture mnyhjem  ·  21Comments

MuraliM picture MuraliM  ·  3Comments

songjinxi picture songjinxi  ·  3Comments