开发者

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 hav开发者_Go百科e a .cs extension, but something comes before the .cs. Meaning that C# files that do not end in .cs do not interest me.


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.


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜