Conventions for storing Visual C# projects in an SVN repo
===

Basically my question is **what** parts of a C# do you store in a repository? In a class I took last year, I was told that you never store generated files in version control (so if you are writing c, dont store the .o/.exe files).

But it is easy with c, because you just save the .c, .h and makefile, and you can just checkout the repo, run the make file, and everything works.

But with C# projects in Visual Studio I am having some problems deciding what to store.

If I store just the .cs files, it is awkward to add them to the project on other computers. Am I supposed to store the project file too? 

The problem I am running into is that I used to just store the whole project directory. But then when I would put the project on a different computer, it would complain that the temporaryKey is wrong (.pfx file)...

So what am I supposed to store?

Thanks.