Error 1 The type or namespace name 'Advisors' could not be found (are you missing a using directive or an assembly reference?) F:\Trinity_new\Trinity\Forms\MainForm.cs 63 37 Trinity
Advisors is a maintenance form in my solution and I can see it in the solution explorer.
How do I resolve this error?
Bill
If the error persist, then look carefully at the Advisors.cs form.
Hope this help!
>> Did you check your project's references? It might be missing one <<
No it is not. I have several other forms that do not cause this problem.
I think it may be some sort of versioning issue. I had a similar problem with another form when I deleted it from the solution and re-created it. I finally resolved it by getting the original form from the recycle bin and re-adding that. However, in the case of the Advisors form, it did not work.
I think it has something to do with the framework - I am just too new to it it know what to look for.
Deleting the form and adding a new form named something totally different gives me the same problem.
I am at my wits end, totally hosed at this point and rapidly becoming frantic
Well, now I am really hosed.
None of my business objects are showing up on the toolbar anymore and none of my forms can find any of their business objects.
Any ideas?
Humm, that is really extrange.
A couple of days ago, I had a situation where I could not generate any BO from the BOM and it turned out to be that the .NET 2.0 runtime framework was corrupted, I reinstall it and that fix my problem. This could be related somehow.
I can generate and build. They just never show up in the toolbox.
Since your projects are all referenced properly, then maybe there is a namespace problem. Have you looked at the namespace(s) on the form?
You can lose your BOs from your toolbox if you turn off the autotoolbox populate option, and you can lose references to a single form if you copy that form to the same folder then rename it (the rename will often go and replace the references in the original form's designer file as well) but if you have lost references to all business objects and forms, then I'm not sure what might have caused it, though a change to your namespacing is a likely suspect.