Resxresourcemanager: RESX ๋ฆฌ์†Œ์Šค ๊ด€๋ฆฌ์ž๋ฅผ ์—ด ๋•Œ ๋นˆ ํ™”๋ฉด

์— ๋งŒ๋“  2018๋…„ 03์›” 12์ผ  ยท  13์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: dotnet/ResXResourceManager

์˜ค๋Š˜ VS 2017์„ ์—…๋ฐ์ดํŠธํ•œ ์ดํ›„๋กœ RESX Resource Manager๊ฐ€ ์ž‘๋™ํ•˜์ง€ ์•Š๊ณ  ๋นˆ ํ™”๋ฉด๋งŒ ๋‚˜ํƒ€๋‚ฉ๋‹ˆ๊นŒ?? ๋‚˜๋Š” ๋ฌธ์ œ ์—†์ด 1๋…„ ๋„˜๊ฒŒ ์ด ์ œํ’ˆ์„ ์„ฑ๊ณต์ ์œผ๋กœ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๊ฑด ๊ทธ๋ ‡๊ณ  ๋‹น์‹ ์ด ๊ถ๊ธˆํ•ดํ•˜๋Š” ๊ฒฝ์šฐ์— ๋Œ€๋น„ํ•˜์—ฌ ์†”๋ฃจ์…˜์ด ์—ด๋ ค ์žˆ์Šต๋‹ˆ๋‹ค. ์ œ๊ฑฐํ•˜๊ณ  ๋‹ค์‹œ ์„ค์น˜ํ–ˆ์ง€๋งŒ ์—ฌ์ „ํžˆ ๊ธฐ์จ์ด ์•„๋‹™๋‹ˆ๋‹ค.

image

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

๋น ๋ฅธ ์ˆ˜์ •์œผ๋กœ ์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€์— ์–ธ๊ธ‰๋œ ํด๋”์˜ ๋‹ค๋ฅธ ํ”„๋กœ์ ํŠธ์—์„œ Newtonsoft.Json.dll ํŒŒ์ผ์„ ๋ณต์‚ฌํ–ˆ์Šต๋‹ˆ๋‹ค. ์ œ ๊ฒฝ์šฐ์—๋Š” c:\Users\erik\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\mxiin3v3.hu0์ž…๋‹ˆ๋‹ค. ํ˜„์žฌ๋กœ์„œ๋Š” ํšจ๊ณผ๊ฐ€ ์žˆ๋Š” ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

๋ชจ๋“  13 ๋Œ“๊ธ€

VS 2015์—์„œ ๋™์ผํ•œ ๋ฌธ์ œ
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 Resource Manager์˜ V 1.12 ๋ฒ„์ „ ๋ฌธ์ œ์ž„์„ ํ™•์ธํ•˜๊ณ  ์ œ๊ฑฐํ•˜๊ณ  1.11์„ ์ˆ˜๋™์œผ๋กœ ์„ค์น˜ํ•œ ๋‹ค์Œ ์ž๋™ ์—…๋ฐ์ดํŠธ๋ฅผ ๋น„ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค.

Visual Studio Community 15.6.1์—์„œ๋„ ๋™์ผ

์ปค๋ฎค๋‹ˆํ‹ฐ 15์—์„œ๋„ ๋™์ผ
๋‹ค์‹œ ์ž‘๋™ํ•˜๋ ค๋ฉด ์ƒˆ ๋ฒ„์ „์„ ์ œ๊ฑฐํ•˜๊ณ  ์ด์ „ ๋ฒ„์ „์„ ๋‹ค์šด๋กœ๋“œํ•œ ๋‹ค์Œ ์„ค์น˜ํ•ด์•ผ ํ–ˆ์Šต๋‹ˆ๋‹ค.

๋ฌธ์ œ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. VS 15 Professional

vanengelen์˜ ์†”๋ฃจ์…˜์€ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค. ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

vs 15 pro์—์„œ๋„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. iVcardo์˜ ์†”๋ฃจ์…˜์€ ์ €์—๊ฒŒ ํšจ๊ณผ์ ์ด๋ฉฐ ์ž๋™ ์—…๋ฐ์ดํŠธ๋ฅผ ๋น„ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค.

@tom-englert ์ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•  ๊ฐ€๋Šฅ์„ฑ์ด ์žˆ์Šต๋‹ˆ๊นŒ? Tom? ๊ฐ์‚ฌ ํ•ด์š”

vs 15 pro์—์„œ๋„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

VS 2015 Enterprise์—์„œ๋„ ๋™์ผ

V1.13์—์„œ ์ˆ˜์ •๋จ

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰