Another "file could not be loaded into the designer" issue

C

Chris Snyder

OK. Here's the short form:

I have a non-abstract base page class that other forms inherit from. I
keep getting the infamous "file could not be loaded into the designer,
file name <x> could not be found.

I tried checking the context in the OnLoad, no luck. None of the
solutions in the help file apply to me. However, I have found that if
I change the return type of one property, everything works fine.

Before:

protected IUBE.UserSet UserSet
{
get { return this.Session[IUU.SessionConstants.UserSet]; }
}

After:

protected DataSet UserSet
{
get { return this.Session[IUU.SessionConstants.UserSet]; }
}

While on the surface this does not seem like a big deal, it requires
all my inherited forms to cast the return from the property. Quite a
bit of work, just for design mode functionality.

Anyway, it seems to me that the Designer is attempting to load the
assembly containing the definition of IUBE.UserSet, and is failing. Is
there a way to get it to NOT try this, or a way to get it to find the
assembly?

Thanks a lot,
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,132
Latest member
TeresaWcq1
Top