Net config filters are not handled properly
See original GitHub issueDescribe the bug If a .netconfig file is defined with assemblyfilters, or classfilters, they are not taken into account.
To Reproduce
- Create a .netconfig file, and specify some assemblyfilters (In my case, was : assemblyfilters = -*.Test, to exclude my tests projects and classfilters = -*.g.cs to exclude generated files)
 - run reportgenerator on cmd.
 - filters are not applied
 
Maybe because default values of command line takes precedence over .netconfig file ?
[ReportGenerator]
	assemblyfilters =-*.g.cs
	classfilters =-*.Test
	reports = coverage.xml
	targetdir = coveragereport
Issue Analytics
- State:
 - Created 5 months ago
 - Comments:6 (3 by maintainers)
 
Top Results From Across the Web
ExceptionFilterAttribute not handling properties exceptions
basically, simple answer is simple: exception filter is action-level filter.
Read more >Filters in ASP.NET Core MVC Application
Exception Filters are used to handle any unhandled exceptions that occur in our application. They do not have before or after methods. They ......
Read more >Avoid Duplicating Code by Using ASP.NET Core Filters
Exception filters handle the unhandled exceptions that occur in controller creation, model binding, action filters, and action methods.
Read more >Filters — ASP.NET documentation - Read the Docs
Exception filters handle unhandled exceptions, including those that occur during controller creation and model binding. They are only called when an exception ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Works like a charm, thanks
Thanks for the console output. Now I think I know what’s wrong.
There are 3 filter options in ReportGenerator:
According to your console output you are trying to filter certain files. For files you have to use filefilters. Filefilters can be used to filter files within a class. If all files of a class are filtered, the whole class will be filtered.
E.g.