What files are needed for a Visual Studio project?

I would like to use git to manage my various Visual Studio projects. Unfortunately, they seem to consist of many files outside of one or two .cs files contained in my code.

Which of these files is needed to create a project?

+3
source share
5 answers

.csproj, assemblyinfo.cs, as well as your code and solution file (.sln).

Alternatively, you can take a look at cleansoureplus from Jeff. This program will clear all unnecessary files and folders.

+3
source

, Visual Studio , . , , , . .

,

:

  • OBJ

:

  • *.
  • *. SDF
  • *.
  • *. OBJ
  • * .
  • *.
+6

:

  • *. cs code files
  • .csproj
  • (.cs, Designer.cs .resx)
  • (AssemblyInfo.cs)
+2

, , . csproj, vbproj, sln.

.

+1

Be sure to look in the project file to find out which files are part of it.

0
source

Source: https://habr.com/ru/post/1712476/


All Articles