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
959 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

728 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