Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding existing cs file
Message
From
28/10/2004 00:43:29
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00954965
Message ID:
00955156
Views:
13
Einar,

In VSS, right-click on a project for which you need to share files. Choose the "Sharing" option. You'll then be able to choose the project that holds the files which you need to share. When you retrieve these files from VSS, it'll place a copy of the files in your new project.

>Do you know if there is a way for VS.NET to reference the file and not copy it into the directory of the project?

I don't of any way to do this.

>Do you feel comfortable using the share feature in VSS since it seems to be different than the M$ standard (creating a .net dll)?

I obviously don't have a problem with it, otherwise I wouldn't do it this way. <g>

~~Bonnie



>Bonnie,
>Yes I do use MS Visual Source Safe. I have not used this share feature in VSS before could you please explain this seature or point me in the direction where I can read more about this.
>
>Do you know if there is a way for VS.NET to reference the file and not copy it into the directory of the project?
>
>Do you feel comfortable using the share feature in VSS since it seems to be different than the M$ standard (creating a .net dll)?
>
>Thanks you for your reply.
>
>Sincerely,
>Einar
>
>>Einar,
>>
>>Do you use any kind of Source control? We accomplish this sort of thing by sharing files between projects in Visual Source Safe.
>>
>>~~Bonnie
>>
>>
>>
>>>I have created a folder with some utility files that I might use in several different projects, but I noticed something kind of odd. I used the add existing item to add myfile.cs to my project, up until now I thought everthing was fine until I went into the folder where I had my project and it made a copy of myfile.cs into the project folder. Now that is not what I wanted, I wanted to add a link to that file in the folder so that I can use that cs file is several project but only have one copy of the file. so I can make updates in one place. Is there a way to do this?
>>>
>>>I know the other solution is to create a project will all the utility files and create a dll that I distribute, but I think the other method might be cleaner for small projects.
>>>
>>>Any thoughts on this are welcome.
>>>
>>>Thanks,
>>>Einar
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform