|
-
May 24th, 2007, 05:00 AM
#1
Project conflicts with itself?
Hello.
I'm writing my first bigger C#-Application, which has worked fine so far. But suddenly (don't know what I did), I get over 130 warnings like:
D:\Src\MyApp\TabCustomers.cs(12,51): warning CS0436: The type 'MyApp.Tabs.TabBase' in 'D:\Src\MyApp\TabBase.cs' conflicts with the imported type 'MyApp.Tabs.TabBase' in 'D:\Debug\MyApp\MyApp.exe'.
The code is:
Code:
namespace MyApp.Tabs
{
public partial class TabCustomers : MyApp.Tabs.TabBase
..
I understand that somehow "TabBase" seem to be defineid twice, but I don't know why, becaus MyApp.exe is the .exe right from THIS project. So how could this project conflict with itself?
If I clean the project, I get no more warnings till I compile the src again...
Last edited by martho; May 24th, 2007 at 05:02 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|