ReSharper Web Help

You can share templates using two alternative techniques:

  • Shared Solution Templates. You and other members of your development team can use this Templates Explorer folder to store shared templates designed for use with any particular solution. Templates in this folder will be accessible to anyone who opens the current solution.
  • Mounted File Storage. Live templates can be shared among a group of developers using Mounted File Storage. First, all members of a development team mount file storage that contains templates intended for common use and resides on a shared network location accessible to each developer. Templates contained in the mounted file are updated from and to the file every time a solution is opened or closed. Any changes made to the file are automatically made available to all team members.

 Warning

Any templates that you share should have been created with ReSharper.
To define shared templates
  1. On the main menu, choose ReSharper | Live Templates | <template type>.
  2. If necessary, scroll down the selected Templates Explorer tab to locate the Shared Solution Templates folder.
  3. Create new templates in the Shared Solution Templates folder.
To mount file storage
  1. On the main menu, choose ReSharper | Live Templates | <template type>.
  2. Click Mount File Storage . The Open Storage File dialog box opens.
  3. Specify an XML file that contains templates.
  4. Click OK.

See Also

Procedures