Resxresourcemanager: RESX ResourceManagerを開いたときに空白の画面

作成日 2018年03月12日  ·  13コメント  ·  ソース: dotnet/ResXResourceManager

今日VS2017を更新してから、RESX Resource Managerが機能せず、画面が空白になりますか? 私はこの製品を1年以上問題なく使用しています。 ちなみに、あなたが疑問に思った場合に備えて、ソリューションはオープンです。 アンインストールして再インストールしましたが、それでも喜びはありません。

image

最も参考になるコメント

簡単な修正として、エラーメッセージに記載されているフォルダー内の他のプロジェクトからNewtonsoft.Json.dllファイルをコピーしました。 私の場合、c:\ Users \ erik \ AppData \ Local \ Microsoft \ VisualStudio \ 14.0 \ Extensions \ mxiin3v3.hu0です。 これは今のところうまくいくようです。

全てのコメント13件

VS2015でも同じ問題
default

ResXバージョン:1.12.976

これが出力ウィンドウからのエラーメッセージです

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()

問題を確認できます:VS 15.6.1 Professional

簡単な修正として、エラーメッセージに記載されているフォルダー内の他のプロジェクトからNewtonsoft.Json.dllファイルをコピーしました。 私の場合、c:\ Users \ erik \ AppData \ Local \ Microsoft \ VisualStudio \ 14.0 \ Extensions \ mxiin3v3.hu0です。 これは今のところうまくいくようです。

ResX ResourceManagerのV1.12バージョンの問題であることを確認し、アンインストールして1.11を手動でインストールすると、自動更新が無効になります。

Visual Studio Community15.6.1でも同じです

ここコミュニティ15でも同じです
新しいバージョンをアンインストールし、古いバージョンをダウンロードしてインストールする必要がありました。

問題を確認できます:VS 15 Professional

vanengelenの解決策は仕事です、ありがとう!

vs15プロでも確認できます。 iVcardoのソリューションは私のために機能し、自動更新を無効にします。

@ tom-この問題を修正する可能性はありますか? ありがとう

vs15プロでも確認できます。

VS 2015Enterpriseでも同じです

V1.13で修正

このページは役に立ちましたか?
0 / 5 - 0 評価