Jump to content
  • Advertisement
Sign in to follow this  

[.net] VisualStudio Copy my .cs file to the project directory !!!!!

This topic is 3965 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello ! I'm new to C Sharp programming... I have begin my first project a few days ago, and i have put all my source file ( .cs ) into a directory that is diferent from the one where the project file ( .csproj )is... When i import my source file within my project in Visual Studio, it automaticly copy my .cs file into the project directory ! WHY ? Is there any option to disable that ? Thanks a lot Clément

Share this post


Link to post
Share on other sites
Advertisement
Yeah, Visual Studio does that. When you bring up the Add Existing Item dialog, click the little down arrow to the right of the Open button and select Link File instead.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!