Visual Studio's Rule Set Editor does not open

969 views Asked by At

I am trying to edit a custom ruleset file for FxCop. When I open a ruleset file I receive this message:

Width of the image strip must be a positive multiple of
ImageSize.Width
Parameter name: value

It looks like the file is already open, because when I try to edit as XML it asks me if I want to close it first. I cannot edit as XML, either.

1

There are 1 answers

2
Sandipan On BEST ANSWER

Came across this problem today. Tried repairing the Visual Studio installation without success. In the end, I found the problem in my laptop: I had previously set the display to scale at 110% a few months back, and the error message made this a likely issue - so I set it back to 100% and it worked! I am using Visual Studio 2017 on Windows 10.