What extensions exist for generated C # files?

I am writing a filter for the generated C # files and want to get rid of obvious generated files such as .Designer.cs or .g.cs . What other generated extensions exist? Thanks.

Clarification: I only look at files with the extension .cs , but something comes before .cs . That means C # files that don't end with .cs don't interest me.

+4
source share
2 answers

I could forget many of them, but still:

  • *. Baml
  • *. G.cs
  • *. Gics
  • *. Designer.cs
  • *. Cache
  • *. TLOG
  • *. G.resources
  • *. Cache
  • *. Lref
  • *. PDB
  • *. Exe
  • *. dll (maybe some kind of external dll instead of being generated!)
  • *. XML

I have only the listed extensions related to the extension, and not related to the source of the extension.

+3
source

Depending on your control source, you may have files such as ...

  • *. Vspscc
  • *. SCC
  • *. BCC

If a WPF project, then

  • *. Xaml.cs

...

.resx ???

VS Files

  • *. User
  • *. Suo
+1
source

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


All Articles