Задание свойства system windows resourcedictionary deferrablecontent вызвало исключение

I’m running Visual Studio 2012, when I add a new File/Reference to a project the message box appears showing the error message

set property ‘system.windows.resourcedictionary.deferrablecontent’ threw an exception

I read an MSDN article suggesting to run the command devenv /resetuserdata on visual studio command prompt to resolve this problem, tried it but didn’t work for me. In fact the command prompt shows the Unknown Error message.

asked Sep 25, 2013 at 9:32

Ibad Baig's user avatar

3

Some addins cause this issue for me so have had to workaround it whenever it occurs:

In Vis studio —

Tools > Options > Environment > Add-in Security, uncheck ‘Allow Add-in components to load’, OK

Restart vis studio

The error shouldn’t occur anymore, so go back to

Tools > Options > Environment > Add-in Security and re-check Allow Add-in components to load, OK

To be specific, I get this error when trying to add files to projects and manage Nuget Packages.

Update

I now make a point of opening
‘Tools > Nuget package manager > Manage nuget packages for solution’
whenever I open up a new instance of Vis studio, before loading a solution, just to make sure the window loads properly

That way I know I won’t get this issue.

answered Mar 18, 2014 at 14:04

m_cheung's user avatar

m_cheungm_cheung

3313 silver badges6 bronze badges

4

In my case it was a style with the same key defined twice in a ResourceDictionary (WPF)

answered Dec 2, 2017 at 6:31

Slime recipe's user avatar

Slime recipeSlime recipe

2,2333 gold badges32 silver badges49 bronze badges

2

I have Windows azure tools for Microsoft VisulStudio 2013- v2.2 and Windows azure tools for Microsoft lightswitch VisulStudio 2013- v2.2.

I uninstall only Windows azure tools for microsoft lightswitch vs 2013 .

It’s working fine…

answered Mar 7, 2014 at 11:07

prabhakaran S's user avatar

prabhakaran Sprabhakaran S

7181 gold badge6 silver badges13 bronze badges

I fixed it. The resolution was to remove the Windows Azure Tools for Visual Studio 2012 which I was not actually using, and the error went straight away.

answered Sep 27, 2013 at 13:22

Ibad Baig's user avatar

Ibad BaigIbad Baig

2,2765 gold badges22 silver badges27 bronze badges

2

In my case it was to first launch Visual Studio in safe mode. You can create a shortcut for visual studio with a target like this:

‘»F:\Program Files\Visual Studio\VS2013\Common7\IDE\devenv.exe» -safemode’

Once launched in safe mode, you can remove the problematic extension via the Addin Manager. However, this wont work for some extensions, as the uninstall option might be disabled for certain extensions when running in safe mode, particularly if you have already uninstalled another extension in the same session.

In My case the problem was caused by Paradox Game engine, in which I had uninstalled it via ‘Programs and Features’ — which in return did not remove the extension which was originally installed via Nuget package. Uninstalling Paradox via «Programs And Features» left the extension itself still registered in Visual Studio, presumably causing a hidden NullReferenceException.

This issue can be caused by any extension that may have an error in it, or by extensions that were not properly uninstalled.

Also, see this article…

answered Jan 23, 2015 at 9:13

Codie Morgan's user avatar

1

The mentioned issue can be resolved by simply restart the Visual Studio. :P

answered Sep 10, 2014 at 5:17

Joy Rex's user avatar

Joy RexJoy Rex

6087 silver badges32 bronze badges

2

Also seem to be able to get around this by closing the project and vis studio instance, re-opening, then when the start page/open project screen appears selecting Tools > Extensions and Updates..., then pressing Close

Now open the project and the error doesn’t get thrown when trying add files or manage nuget packages, weird.

Just annoying you have to remember to open Extensions and Updates each time…

answered Jul 24, 2014 at 22:47

m_cheung's user avatar

m_cheungm_cheung

3313 silver badges6 bronze badges

Other wise make sure given Resourcedictionary.xaml path is correct or not

answered Apr 20, 2015 at 9:58

Pandiyan T's user avatar

I had to remove Xamarin from Add/Remove Programs in Control panel and restart Visual studio to fix this.

answered Oct 9, 2015 at 8:23

Damian Green's user avatar

Damian GreenDamian Green

6,8952 gold badges31 silver badges43 bronze badges

I had this problem with My Devexpress Project in VS 2015
What finally worked for me was.
Close my solution,
Close Visual Studio,
Open Visual Studio,
Create a New dummy project,
Add a form to it,
Close and save the new project,
Reopen original project and all was ok.

answered May 5, 2016 at 15:09

Colin L's user avatar

Colin LColin L

311 silver badge3 bronze badges

for everyone else who are working in silverlight sdk environment with windows phone8 sdk.

The versions of sliverlight which are compatible with visual studio versions —

vs2012— sliverlight sdk 4

vs2013— silverlight sdk 5

I was integrating in vs2013 and as soon as I updated it with silverlight sdk 5, The errors went away.

Community's user avatar

answered Oct 25, 2016 at 6:02

Manoz's user avatar

ManozManoz

6,51713 gold badges68 silver badges114 bronze badges

In my case it was the Line Endings: you can have different formatting and by copy pasting some code one file got a different Line Ending. It was enough to File > Save As and then click the little arrow next to the save button.

Then click on save with encoding and choose the one you are using in all other files.

See Andrew Truckle’s answer.

I hope this helps

answered May 17, 2018 at 15:14

Ecuashungo's user avatar

20.11.2012, 21:00. Показов 6014. Ответов 2

Метки нет (Все метки)


Студворк — интернет-сервис помощи студентам

Добрый вечер всем! Делал я сегодня вот такую штуку. Это стандартный урок от Microsoft по созданию кнопки, но после того как я прописал код, и начинаю запуск приложения, у меня происходит исключение:

«Задание свойства «System.Windows.ResourceDictionary.DeferrableContent» вызвало исключение.»: номер строки «3» и позиция в строке «5».

Посмотрите пожалуйста, в чём может быть ошибка, или так подскажите, файл я прикрепил. Заранее спасибо.

Вложения

Тип файла: rar AnimatedButton.rar (45.1 Кб, 9 просмотров)



0



This is a most common WPF exception when you are working with Resource Dictionary. Following are the causes :

1. In your Resource Dictionary you would have 2 resource with the same Key defined.

2.The above condition may be also valid if you are using Merged Resource Dictionary 

3. You might have had a Duplicate resource defined and removed , but still able to see (this is due to improper build of your solution – Try Rebuilding it !!! )

Solutions :

1. Try to find where you have duplicate resource defined with the same key

2. If the above thing doesnt work and you are pretty sure you dont have any duplicate resources , try rebuilding the solution and Close and Open Visual studio.

  • c#
  • Exception
  • WPF

Я использую Visual Studio 2012, когда я добавляю новый файл / ссылку на проект, появляется окно с сообщением об ошибке

установить свойство ‘system.windows.resourcedictionary.deferrablecontent’ вызвала исключение

Я прочитал статью MSDN, предлагающую запустить команду devenv /resetuserdata В командной строке Visual Studio, чтобы решить эту проблему, попытался, но у меня не получилось. На самом деле командная строка показывает Unknown Error сообщение.

2013-09-25 09:32

12
ответов

Решение

Я починил это. Решение было удалить Windows Azure Tools for Visual Studio 2012 который я на самом деле не использовал, и ошибка сразу исчезла.

2013-09-27 13:22

Некоторые дополнения вызывают эту проблему для меня, поэтому пришлось обходить ее всякий раз, когда это происходит:

В студии Vis —

Инструменты> Параметры> Среда> Надстройка безопасности, снимите флажок «Разрешить загрузку компонентов надстройки», OK

Перезагрузка в студии

Ошибка больше не должна появляться, поэтому вернитесь к

Инструменты> Параметры> Среда> Безопасность надстройки и повторно установите флажок Разрешить загрузку компонентов надстройки, ОК

Если быть точным, я получаю эту ошибку при попытке добавить файлы в проекты и управлять пакетами Nuget.

Обновить

Теперь я хочу открыть «Инструменты> Диспетчер пакетов Nuget> Управление пакетами Nuget для решения» всякий раз, когда я открываю новый экземпляр Vis studio перед загрузкой решения, просто чтобы убедиться, что окно загружается правильно

Таким образом, я знаю, что не получу эту проблему.

2014-03-18 14:04

В моем случае это был стиль с одинаковым ключом, определенным дважды в ResourceDictionary (WPF).

2017-12-02 06:31

У меня есть инструменты Windows Azure для Microsoft VisulStudio 2013-2.2 и инструменты Windows Azure для Microsoft LightSwitch VisulStudio 2013-2.2.

Я удаляю только Windows Azure Tools для Microsoft LightSwitch vs 2013.

Работает нормально…

2014-03-07 11:07

Упомянутая проблема может быть решена путем простого перезапуска Visual Studio.:П

2014-09-10 05:17

В моем случае это был первый запуск Visual Studio в безопасном режиме. Вы можете создать ярлык для Visual Studio с такой целью:

‘F:\Program Files\Visual Studio\VS2013\Common7\IDE\devenv.exe» -safemode’

После запуска в безопасном режиме вы можете удалить проблемное расширение через Addin Manager, Однако это не будет работать для некоторых расширений, так как опция удаления может быть отключена для некоторых расширений при работе в безопасном режиме, особенно если вы уже удалили другое расширение в том же сеансе.

В моем случае проблема была вызвана движком Paradox Game, в котором я удалил его через «Программы и компоненты», который, в свою очередь, не удалил расширение, которое было первоначально установлено через пакет Nuget. При удалении Paradox через «Программы и компоненты» само расширение остается зарегистрированным в Visual Studio, что, вероятно, вызывает скрытое NullReferenceException,

Эта проблема может быть вызвана любым расширением, в котором может быть ошибка, или расширениями, которые не были должным образом удалены.

Также смотрите эту статью…

2015-01-23 09:13

У меня была эта проблема с моим проектом Devexpress в VS 2015. То, что наконец-то сработало для меня, было. Закройте мое решение, закройте Visual Studio, откройте Visual Studio, создайте новый фиктивный проект, добавьте к нему форму, закройте и сохраните новый проект, снова откройте исходный проект, и все было в порядке.

2016-05-05 15:09

Также, кажется, можно обойти это путем закрытия проекта и экземпляра vis studio, повторного открытия, а затем при появлении экрана стартовой страницы / открытия проекта выберите Tools > Extensions and Updates..., затем нажав Close

Теперь откройте проект, и ошибка не выдается при попытке добавить файлы или управлять пакетами nuget, странно.

Просто раздражает, вы должны помнить, чтобы открывать расширения и обновления каждый раз…

2014-07-24 22:47

Другой мудрый убедитесь, что дано Resourcedictionary.xaml путь правильный или нет

2015-04-20 09:58

Мне пришлось удалить Xamarin из «Установка и удаление программ» на панели управления и перезапустить Visual Studio, чтобы это исправить.

2015-10-09 08:23

Для всех, кто работает в среде Silverlight SDK с Windows Phone8 SDK.

Версии sliverlight, совместимые с версиями visual studio —

vs2012 — sliverlight sdk 4

vs2013Silverlight SDK 5

Я интегрировался в vs2013 и как только я обновил его с помощью Silverlight SDK 5, ошибки исчезли.

2016-10-25 06:02

В моем случае это были окончания строк: вы можете иметь разное форматирование, и, скопировав код, один файл получил другой конец строки. Этого было достаточно, чтобы File > Save As и затем нажмите маленькую стрелку рядом с кнопкой сохранения.

Затем нажмите «Сохранить с кодировкой» и выберите тот, который вы используете во всех других файлах.

Смотрите ответ Эндрю Тракл.

надеюсь, это поможет

2018-05-17 15:14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Comments

@christopheblin

Repro steps:

  • Close VS
  • Open VS without opening a solution
  • Tools > ResX Manager

=> Empty window

There is an error in the output window: Error: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception.

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\cblin\appdata\local\microsoft\visualstudio\16.0_eb821347\extensions\hrmpzke4.jz5
Version: 1.38.3034.0
.NET Framework Version: 528040 (https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed)
Switch.System.Windows.Baml2006.AppendLocalAssemblyVersionForSourceUri=False (https://github.com/Microsoft/dotnet/blob/master/releases/net472/dotnet472-changes.md#wpf)
Error: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception.
Assembly 'DataGridExtensions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=43de855f87de903a' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/DataGridExtensions.DLL
Assembly 'DocumentFormat.OpenXml, Version=2.9.1.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/DocumentFormat.OpenXml.DLL
Assembly 'Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/Microsoft.Xaml.Behaviors.DLL
Assembly 'ResXManager.Infrastructure, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/ResXManager.Infrastructure.DLL
Assembly 'ResXManager.Model, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/ResXManager.Model.dll
Assembly 'ResXManager.Translators, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/ResXManager.Translators.dll
Assembly 'ResXManager.View, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/ResXManager.View.dll
Assembly 'ResXManager.VSIX, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/ResXManager.VSIX.dll
Assembly 'TomsToolbox.Composition, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Composition.DLL
Assembly 'TomsToolbox.Essentials, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Essentials.DLL
Assembly 'TomsToolbox.ObservableCollections, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.ObservableCollections.DLL
Assembly 'TomsToolbox.Wpf, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Wpf.DLL
Assembly 'TomsToolbox.Wpf.Composition, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Wpf.Composition.DLL
Assembly 'TomsToolbox.Wpf.Composition.Mef, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Wpf.Composition.Mef.DLL
Assembly 'TomsToolbox.Wpf.Composition.Styles, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Wpf.Composition.Styles.DLL
Please read https://github.com/tom-englert/ResXResourceManager/wiki/Fixing-errors before creating an issue.
Assembly 'DataGridExtensions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=43de855f87de903a' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/DataGridExtensions.DLL
Assembly 'DocumentFormat.OpenXml, Version=2.9.1.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/DocumentFormat.OpenXml.DLL
Assembly 'Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/Microsoft.Xaml.Behaviors.DLL
Assembly 'ResXManager.Infrastructure, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/ResXManager.Infrastructure.DLL
Assembly 'ResXManager.Model, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/ResXManager.Model.dll
Assembly 'ResXManager.Translators, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/ResXManager.Translators.dll
Assembly 'ResXManager.View, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/ResXManager.View.dll
Assembly 'ResXManager.VSIX, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/ResXManager.VSIX.dll
Assembly 'TomsToolbox.Composition, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Composition.DLL
Assembly 'TomsToolbox.Essentials, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Essentials.DLL
Assembly 'TomsToolbox.ObservableCollections, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.ObservableCollections.DLL
Assembly 'TomsToolbox.Wpf, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Wpf.DLL
Assembly 'TomsToolbox.Wpf.Composition, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Wpf.Composition.DLL
Assembly 'TomsToolbox.Wpf.Composition.Mef, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Wpf.Composition.Mef.DLL
Assembly 'TomsToolbox.Wpf.Composition.Styles, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/cblin/appdata/local/microsoft/visualstudio/16.0_eb821347/extensions/hrmpzke4.jz5/TomsToolbox.Wpf.Composition.Styles.DLL
Please read https://github.com/tom-englert/ResXResourceManager/wiki/Fixing-errors before creating an issue.

VS version

Microsoft Visual Studio Professional 2019
Version 16.4.2
VisualStudio.16.Release/16.4.2+29613.14
Microsoft .NET Framework
Version 4.8.03752

Installed Version: Professional

ASP.NET and Web Tools 2019   16.4.457.38025
ASP.NET and Web Tools 2019

ASP.NET Web Frameworks and Tools 2019   16.4.457.38025
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   16.4.457.38025
Azure App Service Tools v3.0.0

Azure Functions and Web Jobs Tools   16.4.457.38025
Azure Functions and Web Jobs Tools

C# Tools   3.4.1-beta4-19610-02+c4e5d138903b899477649a17f197abd2bcb22f9e
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

IntelliCode Extension   1.0
IntelliCode Visual Studio Extension Detailed Info

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.21016.1

Microsoft Continuous Delivery Tools for Visual Studio   0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft Library Manager   2.0.87+gbb515bf382
Install client-side libraries easily to any web project

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

NuGet Package Manager   5.4.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

ResXManager   1.38.3034.0
Manage localization of all ResX-Based resources in one place. Shows all resources of a solution and let's you edit the strings and their localizations in a well-arranged data grid.

SQL Server Data Tools   16.0.61912.09160
Microsoft SQL Server Data Tools

TypeScript Tools   16.0.11031.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   3.4.1-beta4-19610-02+c4e5d138903b899477649a17f197abd2bcb22f9e
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 10.4 for F# 4.6   16.4.0-beta.19556.5+e7597deb7042710a7142bdccabd6f92b0840d354
Microsoft Visual F# Tools 10.4 for F# 4.6

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Container Tools Extensions (Preview)   1.0
View, manage, and diagnose containers within Visual Studio.

Visual Studio Tools for Containers   1.0
Visual Studio Tools for Containers

@christopheblin

@tom-englert

If completely uninstalling ResXManager and then installing the latest version after a restart of VS does not fix this, please raise an issue with Microsoft.

@christopheblin

@tom-englert it has fixed the issue but only for the first restart (after, the same probelm occured again)

What issue should I report to MS ?

@tom-englert

@christopheblin

I’ve installed latest version, here is the output

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\xxx\appdata\local\microsoft\visualstudio\16.0_eb821347\extensions\rfof5r5q.yqr
Version: 1.38.3136.0
.NET Framework Version: 528040 (https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed)
Switch.System.Windows.Baml2006.AppendLocalAssemblyVersionForSourceUri=True (https://github.com/Microsoft/dotnet/blob/master/releases/net472/dotnet472-changes.md#wpf)
Error: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception.
 ---> Provide value on 'MS.Internal.Markup.StaticExtension' threw an exception.
 ---> Could not load file or assembly 'TomsToolbox.Wpf.Styles, PublicKeyToken=60b39f873a8e3fc2' or one of its dependencies. The specified file was not found.

Please note that the file exists on the filesystem:

$> ls C:\Users\xxx\AppData\Local\Microsoft\VisualStudio\16.0_eb821347\Extensions\rfof5r5q.yqr\TomsToolbox.Wpf.Styles.dll


    Répertoire : C:\Users\xxx\AppData\Local\Microsoft\VisualStudio\16.0_eb821347\Extensions\rfof5r5q.yqr


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       07/01/2020     09:49          74240 TomsToolbox.Wpf.Styles.dll

@tom-englert

@Angelinsky7

I’ve got the same issue here…
if i uninstall Resx restart and then re-install it, it only work the first time i open ResX…
if i close vs2019 and try to re-open the same ressource file i’ve got the same exception : Error: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception.

what is also working (but i need to do it each time i open the resource file):

  • disable extension
  • restart vs
  • enable extension
  • restart vs

Stacktrace:

Error: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception.
Assembly 'DataGridExtensions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=43de855f87de903a' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/DataGridExtensions.DLL
Assembly 'DocumentFormat.OpenXml, Version=2.9.1.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/DocumentFormat.OpenXml.DLL
Assembly 'Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/Microsoft.Xaml.Behaviors.DLL
Assembly 'ResXManager.Infrastructure, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/ResXManager.Infrastructure.DLL
Assembly 'ResXManager.Model, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/ResXManager.Model.dll
Assembly 'ResXManager.Translators, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/ResXManager.Translators.dll
Assembly 'ResXManager.View, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/ResXManager.View.dll
Assembly 'ResXManager.VSIX, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/ResXManager.VSIX.dll
Assembly 'TomsToolbox.Composition, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Composition.DLL
Assembly 'TomsToolbox.Essentials, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Essentials.DLL
Assembly 'TomsToolbox.ObservableCollections, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.ObservableCollections.DLL
Assembly 'TomsToolbox.Wpf, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Wpf.DLL
Assembly 'TomsToolbox.Wpf.Composition, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Wpf.Composition.DLL
Assembly 'TomsToolbox.Wpf.Composition.Mef, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Wpf.Composition.Mef.DLL
Assembly 'TomsToolbox.Wpf.Composition.Styles, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Wpf.Composition.Styles.DLL
Please read https://github.com/tom-englert/ResXResourceManager/wiki/Fixing-errors before creating an issue.
Assembly 'DataGridExtensions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=43de855f87de903a' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/DataGridExtensions.DLL
Assembly 'DocumentFormat.OpenXml, Version=2.9.1.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/DocumentFormat.OpenXml.DLL
Assembly 'Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/Microsoft.Xaml.Behaviors.DLL
Assembly 'ResXManager.Infrastructure, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/ResXManager.Infrastructure.DLL
Assembly 'ResXManager.Model, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/ResXManager.Model.dll
Assembly 'ResXManager.Translators, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/ResXManager.Translators.dll
Assembly 'ResXManager.View, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/ResXManager.View.dll
Assembly 'ResXManager.VSIX, Version=1.38.3034.0, Culture=neutral, PublicKeyToken=695a75ddb69d5a4b' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/ResXManager.VSIX.dll
Assembly 'TomsToolbox.Composition, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Composition.DLL
Assembly 'TomsToolbox.Essentials, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Essentials.DLL
Assembly 'TomsToolbox.ObservableCollections, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.ObservableCollections.DLL
Assembly 'TomsToolbox.Wpf, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Wpf.DLL
Assembly 'TomsToolbox.Wpf.Composition, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Wpf.Composition.DLL
Assembly 'TomsToolbox.Wpf.Composition.Mef, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Wpf.Composition.Mef.DLL
Assembly 'TomsToolbox.Wpf.Composition.Styles, Version=2.0.0.4, Culture=neutral, PublicKeyToken=60b39f873a8e3fc2' loaded from file:///c:/users/steven/appdata/local/microsoft/visualstudio/16.0_4e0ea452/extensions/b4pa325f.ktc/TomsToolbox.Wpf.Composition.Styles.DLL
Please read https://github.com/tom-englert/ResXResourceManager/wiki/Fixing-errors before creating an issue.

@tom-englert

As mentioned above — this seems to be a bug in VisualStudio, failing to load the dependencies correctly.
Please report this to Microsoft/VisualStudio, since I can’t do anything against this.

@GuillaumeLadeuille

I had this issue before updating Visual Studio Community to version 16.4.6

@Liebeck

Running into the same issue with a fresh install on VS 2019 Community 16.7.1 :-(

  • Задание программ по умолчанию в windows 7
  • Загрузчик возобновления windows не работает клавиатура на ноутбуке что делать
  • Задан неизвестный параметр командной строки dynamic update windows 10
  • Загрузчику ресурсов не удалось найти файл mui windows 7
  • Загрузчик возобновления windows клавиатура не работает на компьютере