Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What extensions are there for generated C# files?

I'm writing a filter for the C# files that are generated, and want to get rid of the obvious generated files such as .Designer.cs or .g.cs. What other generated extensions are there? Thanks.

Clarification: I'm only looking files that have a .cs extension, but something comes before the .cs. Meaning that C# files that do not end in .cs do not interest me.

like image 222
Dmitri Nesteruk Avatar asked Jan 13 '11 12:01

Dmitri Nesteruk


2 Answers

I might be forgetting many of them, but still:

  • *.baml
  • *.g.cs
  • *.g.i.cs
  • *.designer.cs
  • *.cache
  • *.tlog
  • *.g.resources
  • *.cache
  • *.lref
  • *.pdb
  • *.exe
  • *.dll (Might well be some outside dll instead of being a generated one!)
  • *.xml

I have only listed solution related extensions and not source control related extensions.

like image 80
Yogesh Avatar answered Oct 03 '22 10:10

Yogesh


Depending on you source control you may have files like...

  1. *.vspscc
  2. *.scc
  3. *.vss

If a WPF project then

  1. *.xaml.cs

...

.resx ???

VS Files

  1. *.user
  2. *.suo
like image 39
abmv Avatar answered Oct 03 '22 10:10

abmv