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
949 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.Net - TypeInitializer Error 25 32
VB.Net WebRequest Code from JSON curl 7 53
Open a link in vb.net 2 16
run a stored procedure from vb.net 1 27
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 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