Search code examples
c#visual-studio-2010stylecop

Revert C# class template to default one


I have just installed StyleCop 4.5 and default templates have been replaced with some I don't really appreciate right now. How can I revert it to default?


Solution

  • I solved that. There's possibility to revert that changes, because visual has backups for old classes templates.

    All templates are placed in folder like this: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp\Code\1033

    After reverting there is one more thing to do, open cmd and enter command: devenv /setup

    This will update changes.