(This message is cross-posted in vsnet.ide and
dotnet.framework.compactframework as I am not sure where it belongs)

Hi!

I've converted a Compact Framework solution from VS2003 to VS2005. The
solution contains several projects, one main project and a number of
subprojects (i.e. winapi, serialport, GPS, custom controls etc.).

After opening the project in VS2005 I step through the conversion wizard, no
problems occurs.

But, at this point I can't add any custom controls to forms in design view.
- This only happens to this specific project (the main project)!
- I can upgrade my subprojects, for instance the CustomControls solution and
add custom controls to it's testform.
- I can also create new projects and add the custom controls in design time!
- I can add standard controls without problem to any project!

To be able to add a ImageControl from the SDK from the maker of our PDAs I
need to upgrade the project to CF2. I get the same error message here when
the project is upgraded and I try to add the ImageControl to a form.

### So something is messing up the designer using custom controls in this
particular project! ###

I actually managed to add the ImageControl to the migrated and upgrade
project once, I thought I did something right (which I did wrong previously)
so I started correcting and adding small changes throughout the code, and
when I got to the point when I really needed to add the ImageControl again,
I get the same error!!!

Note! The error occurs on other controls as well, I am using the
ImageControl as it is a well tested 3rd party control.

Here's the error I get, it also causes VS to crash (I've sent an error
report some of the times):
Failed to create component 'ImageControl'. The error message follows:
'System.NullReferenceException: Object reference not set to an instance of
an object. at
System.Resources.Tools.StronglyTypedResourceBuilder.DefineResourceFetchingProperty(...

See this link for a image of the error message:
http://tinyurl.com/rkh69

- I've reinstalled VS2005
- I've re-run the VS2003-2005 migration a zillion times removing bits each
time (references etc).
- I've removed all subprojects from the solution migrating only the
mainproject

Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual C# 2005 77626-009-0000007-41585
Microsoft Visual C# 2005

WinXP Prof ver. 2002 SP2

I think that's all I can come up with for now.

Any ideas on what I could do or what I have done wrong?

Thanks,

Peter