Domanda

I have created a number of custom StyleCop rules that incorporates some special style requirements that were agreed upon in our development team.

The StyleCop SDK documentation (http://stylecop.codeplex.com/downloads/get/324789) states that:

Custom StyleCop rules can be installed by simply copying the assembly containing the rules to the directory that contains StyleCop.dll, or any subdirectory under that directory.

For this to work Visual Studio needs to be closed when using StyleCop for ReSharper.

I expect to be introducing new rules and bugfixes continuously. Is there a good way to distribute new versions of the DLL file containing the custom rules among the team, other than writing a mail to everybody, asking them to close Visual Studio and copy it over the existing file?

È stato utile?

Soluzione

Use Chocolatey with NuGet. Make a local Chocolatey NuGet repository on a network share, and then the updates can be managed via a package installer.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top