473,405 Members | 2,210 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Shared source folder

Jon
I have one class file which I would like to share across several asp.net
apps in VS 2005. I would like changes I make to that shared file to
reflect in all the apps. By default when I add the shared file (which is in
its own directory) to the project, it gets copied to the project directory
and changes are reflected only there. Is there a way to have it not copy
the source file locally to the project folder, instead leaving it in the
shared folder only?

Sorry for posting this here, but the general vstudio group is not very busy
and I need an answer relatively quickly.

Thanks
Jon
Dec 20 '05 #1
1 1266
> I have one class file which I would like to share across several asp.net
apps in VS 2005. I would like changes I make to that shared file to
reflect in all the apps. By default when I add the shared file (which is in
its own directory) to the project, it gets copied to the project directory
and changes are reflected only there. Is there a way to have it not copy
the source file locally to the project folder, instead leaving it in the
shared folder only?


For this function (VS 2003, VB), I make a shared source file project, and
when I want to reference such a file from another project, I do Project, Add
Existing Item, browse to it, and then open it as a link file. I assume the
same is available in VS 2005. All caveats convey, eg an edit to a shared
file will be visible to all projects that share it, so you may fix some
things and break other things.

Dec 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Hubert Wong | last post by:
Hi, I am writing some C# code that moves files from a source folder to a target folder on the same machine. However, if the target folder is a shared folder, using the File.MoveTo method alone...
4
by: Sijmen Grunbauer | last post by:
Hi, We have a VS.Net solution with numerous C# projects. Each time we want to change the AssemblyCopyright or the AssemblyTrademark, etc, we have to edit the AssemblyInfo.cs in each project,...
2
by: Dan Baker | last post by:
I'm relatively new to the .cs world. I would like to have some "shared" .cs files, which several solutions can use. I don't want to place these in a ..dll, I simply want them included into...
4
by: Prasanth Raveendran | last post by:
Through an ASP.Net page I want to browse a shared folder. So i used directory.exist(\\machinename\sharename) but it returns false even if the directory exist. please help me -- Prasanth...
2
by: baldwin | last post by:
Hello, We are going to have a web application that will be load balanced. Uploading documents into the same server is not an option. So we need to create a shared folder in a different machine...
6
by: jzdeng | last post by:
Hi, All I use VS 2005 to create a web service. The web service is used to create a sheared folder. It works fine we I run it from VS 2005. But, when I move it to inetpub, it does not work...
0
by: Pieter | last post by:
Hi, I'm having a problem deploying Reporting Services Reports on a ReportServer, when the reports have to be put in subdirectory's and use a shared DataSource. I'm using an application...
7
by: Ibrahim. | last post by:
Hello, How can I access a Shared Folder of the Server by using the following control. 1. I need to download files from c:\resumes folde by using the following; <asp:HyperLink...
2
by: Daniel Knöpfel | last post by:
Hi In my application i need to do the following things concerning shared folders: - check if a folder is shared - share a folder - unshare a folder It seems to me that .net does not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.