General information
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only