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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 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

9 Experts available now in Live!

Get 1:1 Help Now