How do I keep Resharper Files out of SVN?

前端 未结 8 1137
生来不讨喜
生来不讨喜 2021-01-04 04:51

I am using VS2008 and Resharper. Resharper creates a directory _Resharper.ProjectName. These files provide no value for source control that I am aware of and cause issues

8条回答
  •  盖世英雄少女心
    2021-01-04 05:06

    SVN only controls what you put into it when creating your repository. Don't just import your entire project folder but import a "clean" folder BEFORE doing a build. After the build you get all the object files or your _Resharper folder etc. but they are not version controlled.

    I forgot: the

    svn:ignore
    command is another possibility to tell SVN to exclude certain files. You can add this as a property to the version controlled folders, e.g. with TortoiseSVN.

提交回复
热议问题