Closed TrickUK closed 7 years ago
Hi,
I did quick test with "*.Designer.cs" file using latest version (1.3.0) and the file is excluded as expected.
Could you tell me which version are you using and which analyzer is triggered?
Thanks.
1.3 as of this morning, was also doing it with the previous release (not the one before that though!)
Just noticed it's doing it for Web references too.
Which product are you using (there are 4 extensions and 2 nuget packages)?
Oops sorry, Roslynator for VS2015 (refactoring + analysers) installed as an extension.
I found it, it's a bug.
Could you confirm that only RCS1033 and RCS1049 are fired in your generated files?
Yep I believe that is the case. Curiously enough I thought I'd create a testbed app so I could send an example of it happening with my ruleset etc. When I added the DataSet and a TableAdapter, the designer files aren't actually included in the solution tree (but are on disk). No analysis errors.
Looked at my project exhibiting the problem and there is no way (via IDE) to exclude the designer/xss/xsc files. Can't say I'd ever noticed they were there when they don't need to be before now!
Fixed with a1241d8a27845baeb90b020cb2ab6cd8a519bed0
Good stuff, thanks :-)
@TrickUK It's been released.
Awesome, now updated and a clear issue list :-)
Many thanks, better service than most commercial applications!
I'm glad to hear that!
Having updated recently, it would seem that Roslynator isn't ignoring DataSet designer files anymore.
The classes aren't marked with any attributes, but the filenames are all .Desginer.cs so should be ignored anyway?
Regards, Richard.