Solved

'ThisFormsName' has the same name as another type exposed in a 'My' group. Rename the form or its enclosing namespace. (converting 2003-2005)

Posted on 2006-07-10
2
937 Views
Last Modified: 2010-05-18
hi, im converting my project from 2003 to 2005
i have 30 forms that give me this problem:
'EnterFormNamHere' has the same name as another type exposed in a 'My' group. Rename the form or its enclosing namespace.      

now what i could figure is that this comes from a form that i copied and pasted.
e.g. my form is called ABC_Mail.

i went through all the resx files and the only time ABC_Mail occurs is in ABC_Mail form itself.

i cannot find other forms where ABC_Mail occurs.

i can rename ABC_Mail to ABC_Mail1, but that does not solve the cause of the problem and it takes 3 minutes for the refactoring to go through

thanks!
0
Comment
Question by:jxharding
2 Comments
 
LVL 44

Accepted Solution

by:
bruintje earned 500 total points
ID: 17071570
Hi jxharding,
----------

what happens if you remove the form from the 2005 project and import it as an existing item through the project explorer from your 2003 project folder?

----------
bruintje
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 17071671
If renaming the form doesn't fix the problem then it might suggest that it is not that form that is causing the problem.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now