Question

I am currently setting up TeamCity for my company's .Net solutions, including the Inspections (.Net) runner.

I have it working but would like to change the naming conventions it looks for, as my current company code standards have a m instead of a _ before private field. I know it is possible with the full version of resharper (here), but I was wondering if it was possible to change this within TeamCity?

Many Thanks

Andy

Was it helpful?

Solution

"Inspections (.NET) runner" in TeamCity is the same thing as "ReSharper CommandLine Tools" is. So, I guess, "Introducing InspectCode" article will help you to adjust needed settings.

Well, if you want to configure InspectCode on a TeamCity server, you can make all configurations locally with ReSharper, save the settings to the Solution Team-Shared layer, and then commit the resulting {SolutonName}.sln.DotSettings file (this file is stored in the root directory of the solution near .sln file) in your VCS. InspectCode on the server will find and apply these settings.

As an alternative, you can configure InspectCode by specifying a shared .DotSettings file through the /profile (/p) parameter.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top