Click here to Skip to main content
16,017,907 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
All

I am creating a very basic vb.net app using a database and table adapters.

I am getting a Compilation error
BC30179: enum 'UpdateOrderOption' and enum 'UpdateOrderOption' conflict in class 'NewLeagueTableAdapters.TableAdapterManager'.


The tableadapter all work when tested manually, how ever I just cant get passed this error.

I suspect it is a configuration error, but where ?

Appreciate any Guidance

-Colin

What I have tried:

I have checked the Designer.vb for duplicate entries, there are none, cleaned, recompiled and cleared the cache, but the same error exists.
Posted
Updated 26-Nov-19 22:09pm
Comments
ZurdoDev 26-Nov-19 17:08pm    
It's in the class NewLeagueTableAdapters.TableAdapterManager
[no name] 26-Nov-19 20:49pm    
Probably copied and pasted "UpdateOrderOption" more than once.

1 solution

You have defined an enumeration named UpdateOrderOption twice in your project/solution.
You can do a right click on each of this class' reference and select "Go to definition" to figure out where these declarations come from.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900