csproj issue

  • Thread starter Thread starter John Wood
  • Start date Start date
J

John Wood

Is there a way to have project source files NOT in the project folder? It
seems that when you try to reference a file outside of the project folder,
it just copies it in to the project folder.

John
 
John said:
Is there a way to have project source files NOT in the project folder? It
seems that when you try to reference a file outside of the project folder,
it just copies it in to the project folder.

It's rather hidden, but possible:

When you are in the file open dialog for "add an existing item" to the
project, instead of simply clicking the "Open" button, click on the
little down-arrow on the right edge of the button. One of the options
is "Link to file".

That adds the file to the project in its existing location without
copying it.
 
Very helpful, thanks!

mikeb said:
It's rather hidden, but possible:

When you are in the file open dialog for "add an existing item" to the
project, instead of simply clicking the "Open" button, click on the
little down-arrow on the right edge of the button. One of the options
is "Link to file".

That adds the file to the project in its existing location without
copying it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top