Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a Class to a solution
Message
From
28/10/2002 15:03:59
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Adding a Class to a solution
Miscellaneous
Thread ID:
00716156
Message ID:
00716156
Views:
53
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
Map
View

Click here to load this message in the networking platform