Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# DataSet Factory Class
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01311453
Message ID:
01312673
Vues:
12
>Ok, I think I'm ready to start development. A couple of quick questions came to mind:
>
>1) I decided to follow the structure you laid out here. So I created a Windows Application with a namespace such as ClientName.Product. I changed the NS via the menu in Project, Properties. I then double-clicked on the form changed it in code. This produced build errors. What am I doing wrong here?
>
>2) I then wanted to create the Customers project, so I went to File, Add, New Project and created another Windows Application called Customers. I then set the namespace the same way, which of course broke all manner of things.
>
>Help!

1) What was the error message. (You can right click and go copy on it.)

Probably just the first error in the error list will do.

You probably just didn't change ALL the references to the old namespace you will have to do that manually. There is also a namespace reference in the designer code for the form, you have to change that one too.

Do not let a huge list of errors throw you. Just look at the first error in the list and try and figure out why you're getting that error.

2) Just a piece of advice, never start a new project till you have cleared all the errors from the Solution.

And just one comment that might help. If you project has a default namespace of ClientName and you create a subdirectory called Product the default namespace for the classes that you add to that subdir will be ClientName.Product
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform