Information générale
Titre:
Adding a Class to a solution
I am adding a class to my C# project. This class exists in a different directory.
In my Solution Explorer I right click on my project and click on Add - Add Existing Item. I then navigate to the directory that contains my class.
However, doing this creates a copy of the class in my current Solution's directory. So now I have 2 copies of myclass.cs.
Is this the way it's suppose to work?
How can I create a class library in one directory, add one of those classes to another solution but have that solution always look in the original directory for the .CS file?
Thanks,
Jerry
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement