"missng partial modifier" error when I re-generate

Posts   
 
    
yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 24-Jan-2008 16:20:49   

version 1.0.2005.1 final (adapter) VS2005 asp.net 2.0


hiya,

I'm getting following error after I appraently successfully re-generate the project:

Missing partial modifier on declaration of type ‘dalBlockstopper'; another partial declaration of this type exists

I've looked thru the genrated projects and everything seems ok.

Can someone help?

many thanks,

yogi

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 25-Jan-2008 10:44:15   

This error indicates that more than one class declaration with the same name (dalBlockstopper) was found, and at least one but not all of these declarations was declared partial. If your intention is to define a class in several parts, all those parts must be declared with the keyword partial. This error also occurs if you create a new class that accidentally has the same name as a partial class declared elsewhere in the same namespace.

Please scan your solution for dalBlockstopper class declarations.

yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 09-Feb-2008 19:22:56   

hiya Walaa,

Thanks, I did some playing about with it and it seems to work now.

yogi