I had some trouble today with Blend 4 which was continuously crashing on launch, even after an uninstall and re-install of the program.
Thankfully, I found a very helpful forum post on MSDN which helped me fix the issue.
I have recently installed the Developer Preview of Visual Studio 11 and it turns out that there are some compatibility issues with version 4.5 of the .Net Framework with this preview release.
In order to fix the issue you can run the following commands in your command prompt (don’t forget to run as an administrator);
The workaround is to run:
%windir%\Microsoft.NET\Framework\v4.0.30319\ngen uninstall “%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.Framework.dll”
%windir%\Microsoft.NET\Framework\v4.0.30319\ngen uninstall “%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.Blend.dll”
%windir%\Microsoft.NET\Framework\v4.0.30319\ngen uninstall “%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.Project.dll”
If “%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.WindowsPhone.dll” is present (for scenarios like Blend V4 SP1 or future releases), please also run:
%windir%\Microsoft.NET\Framework\v4.0.30319\ngen uninstall “%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.WindowsPhone.dll”
You can find the original post here….. http://connect.microsoft.com/Expression/feedback/details/690246/blend-4-crashes-on-startup
Hope this helps some of you out if you are having the same problem.
3 comments
No ping yet
eivind says:
November 3, 2011 at 7:30 am (UTC -5)
Thank you, it worked.
WpDev says:
December 18, 2011 at 12:42 am (UTC -5)
Its work. Thank you!.
Someone says:
January 27, 2012 at 1:06 pm (UTC -5)
I just want to say THANK YOU so much man, you are the best. Amazingly it worked!!!!!