StyleCop parser unusable if code contains C# 6.0 features

Most C# 6.0 features introduce new syntax. There's likely a few additions which won't trip up the StyleCop compiler. But at least auto-property initializers (public int X { get; set; } = x;), dec...

Id #7672 | Release: None | Updated: Aug 28 at 5:52 AM by dougbu | Created: Aug 28 at 5:52 AM by dougbu

[dev] VSPackageUnitTest test runs are flakey

The VSPackageUnitTest source code still uses private accessors in a number of places. That feature was deprecated when VS 2010 was released and hasn't seen much love since. Moving to [InternalsVi...

Id #7671 | Release: None | Updated: Aug 27 at 9:04 PM by dougbu | Created: Aug 27 at 9:04 PM by dougbu

[dev] VerifyBuild.cmd fails if VS 2012 is not installed

Current build configuration seems to require both VS 2010 and 2012. Part of the problem is binaries in the default %MSTESTPATH% folder require v11.0 versions of additional Visual Studio binaries. ...

Id #7670 | Release: None | Updated: Aug 27 at 8:59 PM by dougbu | Created: Aug 27 at 8:59 PM by dougbu

[dev] VSPackageUnitTest project is incompatible with VS 2010

This project is configured to require .NET 4.5 though it has no actual dependencies on that version of the platform. Simple fix is to change the <TargetFrameworkVersion> in the properties file. ...

Id #7669 | Release: None | Updated: Aug 27 at 9:01 PM by dougbu | Created: Aug 27 at 7:22 PM by dougbu

[dev] VerifyBuild.cmd fails unless ReSharper 8.2 is installed

Builds fail when ReSharper is not available on a machine. The error relates to an unknown configuration. This is either a problem with VerifyBuild.cmd itself or a missing item on the Set up your ...

Id #7668 | Release: None | Updated: Aug 27 at 7:22 PM by dougbu | Created: Aug 27 at 7:15 PM by dougbu

ArgumentOutOfRangeException when using "var _" in a foreach loop.

I keep running into an ArgumentOutOfRangeException when stylecop tries to parse a file that has a var name set to _ in a foreach loop. I am using StyleCop.Msbuild version 4.7.49.0. eg. foreach (...

Id #7667 | Release: None | Updated: Aug 20 at 7:37 PM by KnightFox | Created: Aug 19 at 7:42 PM by KnightFox

SA1513 Case Statements Curly Brackets

Currently my contract requires me to follow a coding standard. I've setup all the rules in StyleCop, but SA1513 has to be followed in their code, however, SA1513 is effecting Case statements wrapp...

Id #7666 | Release: None | Updated: Aug 14 at 5:28 PM by S_Spindle | Created: Aug 14 at 5:28 PM by S_Spindle

Install hangs

I've uninstalled the previous version, uninstalled Resharper, cleaned the registry, rebooted multiple times, etc., and still the install hangs at about the 25% mark. There is nothing logged anywher...

Id #7665 | Release: None | Updated: Aug 22 at 7:21 AM by gr0ker | Created: Jul 31 at 7:41 PM by JefferyP2100

Rules 1512/1515 don't respect four forward slashes

These two rules used to respect the four forward slashes comments that used to comment out codes. During a ReSharper cleanup, I noticed now the lines with four forward slashes are also been re-arra...

Id #7664 | Release: None | Updated: Jul 30 at 8:07 PM by jack4it | Created: Jul 30 at 8:06 PM by jack4it

SA1121 incorrectly recognises types

SA1121 will incorrectly recognize types that are not system types as system types. For example, if I have the following: namespace MyNamespace.Feature { static class String { static bool DoSo...

Id #7663 | Release: None | Updated: Jul 30 at 11:37 PM by shurn | Created: Jul 29 at 3:12 AM by shurn