Where should i put dll file(that i use in my project)

后端 未结 5 1589
栀梦
栀梦 2021-02-19 21:16

Im setting up a svn repository and wondering where i should put the dll files.

What Ive currently done is put them in the /bin/debug folder and then link them in my pro

5条回答
  •  野性不改
    2021-02-19 21:41

    You should not put anything from the bin/Debug or bin/Release in your source control. If you do that, you will lose them when you clean your solution or your projects. What you have to do is create a folder, within the solution folder for example, and reference the dlls in your projects. Any third-party dll that is in the references of a project will be copied to the bin/Debug or bin/Release folder when the project is compiled.

提交回复
热议问题