Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2010 add new file throws Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception

In Visual Studio 2010, when I right click a project and choose Add new item, the cursor blinks for a second but nothing happens. If I go File > New > File, I get

Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception

in a dialog box and can't add a new file.

I have Devexpress project templates and when Googling this error, see a few issues related to their WPF components. I am also using Windows 8 release preview.

like image 738
PMC Avatar asked Oct 12 '12 10:10

PMC


3 Answers

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...

like image 161
prabhakaran S Avatar answered Nov 15 '22 10:11

prabhakaran S


I resolved it when checking the references of the project, for me it was Microsoft.Office.Interop.Excel and Microsoft.Office.Interop.Word which had a different version that when I start coding this project. When loading the old references, everything went smoothly.

like image 23
LudoB Avatar answered Nov 15 '22 10:11

LudoB


In my case the resolution was to UNINSTALL the Windows Azure Tools for Visual Studio 2010 then I restarted the VS and the error gone straight away.

like image 1
Ibad Baig Avatar answered Nov 15 '22 08:11

Ibad Baig