Jump to content
  • Advertisement
Sign in to follow this  
ClementLuminy

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

This topic is 4117 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!