views:

9

answers:

0

I'm having an issue with an application made in Visual Studio 2k5, and we're taking it to 2k8 and 64-bit compilation. It compiles fine, and works fine, but the designer doesn't like us. Whenever I try and start the designer up on the main form of the application, I get this error:

Could not find type 'MyNameSpace.MyWebInherited'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

It has "ignore and continue" at the top, and you CAN do that to get into the designer, but what's occurring here? The component is defined in the same project as the main form itself, and the declaration is as follows:

namespace MyNameSpace
{
    /// <summary>
    /// SNIP
    /// </summary>
    public partial class MyWebInherited : System.Windows.Forms.WebBrowser, IMyFirstInterface, IMySecondInterface

// SNIP

I'm obviously changing the exact names for the purpose of this post, and I've referenced System.Web (for the WebBrowser control itself), but why can't the designer find the class? This seems very weird in that 2k5 COULD do this.

And try it yourself with a fresh project, with the processor as "x64" and you'll see yourself that you can't add it. I did it fresh, and I couldn't even add the new component from the toolbox to a blank form.

Because this is managed, should I just be on "any processor" and it's all the same anyways? Or what?