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 577729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:11:05+00:00 2026-05-13T14:11:05+00:00

This is a question about using Visual Studio 2003. Sorry it is not strictly

  • 0

This is a question about using Visual Studio 2003. Sorry it is not strictly a programming question but it does affect my work in a rather annoying way.

I have a solution with 3 different projects (let’s say MyProgram, UnitTest and PerformanceTest), and there is a file (let’s say myclass.h) which needs to be shared between the 3 projects.

The file is created in the MyProgram project and now I want to add it to the others.

Say I go to the solution explorer, right click on UnitTest, and select Add -> Add Existing Item from the pop-up menu.

The file myclass.h was added to the project, but instead of pointing to the existing (solution directory)\MyProgram\myclass.h, a new file is created in (solution directory)\UnitTest\myclass.h. Now this means that everytime I change \MyProgram\myclass.h, I need to copy it to \UnitTest\myclass.h or the file is not up to date.

Is this a “feature” of Visual Studio 2003 or have I got something wrong with the options/settings? Is manually editing the .vcproj files the only way to make the links point to an existing file? Thank you very much for your help.

  • 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-13T14:11:06+00:00Added an answer on May 13, 2026 at 2:11 pm

    Try this – To create a link to an existing item:

    1.In Solution Explorer, select the target project.
    2.On the Project menu, select Add Existing Item.
    3.In the Add Existing Item dialog box, locate and select the project item you want to link.
    4.From the Open button drop-down list, select Add As Link.

    http://msdn.microsoft.com/en-us/library/9f4t9t92.aspx

    Your right – that is 2008. This link implies what you want to do was introduced in VS 2005 and is not available in 2003:

    "Back in the days of the original Visual Studio .NET and the following version,
    Visual Studio .NET 2003, whenever you added an existing file to a project,
    it copied the file into the corresponding location in the project.
    
    However, in Visual Studio 2005, the Add Existing Item feature provided the
    ability to choose to either Add the item or Add As Link (via the little down
    arrow on the button in the dialog box)."
    

    http://blogs.msdn.com/jjameson/archive/2009/04/02/linked-files-in-visual-studio-solutions.aspx

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

Sidebar

Ask A Question

Stats

  • Questions 439k
  • Answers 439k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer In our workflow we test each platform and architecture, not… May 15, 2026 at 4:48 pm
  • Editorial Team
    Editorial Team added an answer Quick comment about synchronization in your code: Leave the synchronized… May 15, 2026 at 4:48 pm
  • Editorial Team
    Editorial Team added an answer Use SafeArrayAccessData to access the array elements. There is a… May 15, 2026 at 4:48 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.