Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which files have to be in SVN repository for other people to be able to compile?

I've created a Codeplex site for an app I'm building and right now I just right click the entire solution folder Visual C# Express created for me, and used that.

Now in my repo I have a lot files that I'm assuming will enable the user to compile my application on their end.

I heard I shouldn't upload the /obj folder and some other things.

What things are absolutely necesary for me to commit to my repository?

like image 358
Sergio Tapia Avatar asked Dec 30 '22 06:12

Sergio Tapia


2 Answers

You should ignore the following, by setting the svn:ignore property on your project folder:

bin
obj
*.user
*.suo
like image 102
Michael Hackner Avatar answered Dec 31 '22 18:12

Michael Hackner


You need the solution file, the C# project file(s), and all of the code files.

Basically, leave out the .suo file (with the solution), any user specific files (which will have your username appended to them, the bin\ and the obj\ folders. Everything else should be included.

like image 21
Reed Copsey Avatar answered Dec 31 '22 20:12

Reed Copsey