Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 499363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:58:40+00:00 2026-05-13T05:58:40+00:00

I have a C# Solution that includes several websites. Those websites have some communal

  • 0

I have a C# Solution that includes several websites. Those websites have some communal data (e.g. images and shared jQuery extensions). Currently the data is included in each Project. Obviously we’re running into sync problems and as those data directories are becoming larger, we’re moving more and more data around. We could hard encode links to where the data really resides on the production server but I think we’d like to avoid that (not to mention that we use the embedded cassini server for our testing and such and I’ve no idea how smoothly that would work). Is there something I’ve overlooked for a portable and maintainable way to do this?

Clarification: The contents that needs to be shared are located in directories (i.e. images/, js/)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T05:58:41+00:00Added an answer on May 13, 2026 at 5:58 am

    You can add those files to the project as linked files – that way they are not physically copied into the project’s directory but are still included in the project. You can just worry about maintaining one folder’s worth of static content and know that whenever you build your solutions you will be using the version from that folder.

    To add a linked file in Visual Studio, right click the project, hit add->existing file, then in the select file dialog hit the little drop down arrow next to the “add” button and pick “Add as link”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a visual studio 2008 solution that includes an asp.net-hosted remoting project in
I have a Visual Studio solution that comprises of several projects and are separated
I have a solution that contains an ASP.NET Web Site (file-based) project. I'm currently
I have a VS 2008 solution that includes a web site and a web
We currently have a java/jsp online web service that includes it's own custom calendar.
I have included a resource in my Visual Studio 2005 solution that was a
I have a solution that is deployed using ClickOnce. It consists of an application,
I have a solution that contains a good deal of projects, I would like
I have a solution that is missing a lot of code coverage. I need
I have a solution that contains two projects. One project is an ASP.NET Web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.