2

Come on MS – Improve MFC

Loads of developers still use MFC. OK – if you’re writing a new project, MFC would not be a great choice. But what if you’re maintaining a 1.5 million line MFC app? 

MFC support in Visual Studio has barely improved since VC++ 6.0 – in fact its got worse. Their cursory attempt to show an effort by adding support for the Ribbon Control with the MFC feature pack was not enough. Why can we still not properly use tab controls in the dialog editor?

Those who use MFC are probably supporting big enterprise applications – for a long time now we’ve been neglected. Please vote for more MFC support in Visual Studio Uservoice below:

http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2782934-improve-mfc

Will they listen? Chances are not – unless lots of people vote. But I’d really like to see some effort on this, it’s a technology still used by many.

It would be interesting to see a survey of enterprise applications – and what they’re written in. It’d be interesting to then compare this to how well MS support that platform. MS will put lots of efforts into what they think that developers should be using – but how well are they supporting their real customers who are creating real products?

2

Could not load file or assembly ‘System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e’ or one of its dependencies.

Are you getting the error below when working with Silverlight projects?

Could not load file or assembly 'System.Windows, Version=2.0.5.0, 
Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or
one of its dependencies.

It’s a bit of an odd one. The solution that works for me is to re-register System.Core and System.Windows in the GAC. Use the commands below.

32 Bit System

“C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\gacutil” /i “C:\Program Files\Microsoft Silverlight\4.1.10111.0\System.Core.dll”
“C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\gacutil” /i “C:\Program Files\Microsoft Silverlight\4.1.10111.0\System.Windows.dll”  

64 Bit System

“C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\gacutil” /i “C:\Program Files\Microsoft Silverlight\4.1.10111.0\System.Core.dll”
“C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\gacutil” /i “C:\Program Files\Microsoft Silverlight\4.1.10111.0\System.Windows.dll”  

So far I am yet to understand why this happens – if anyone can shed any light please comment!