I am currently running .NET 5.0 and VS Version 16.8.0 (but this was an issue on previous versions).
I need to write unit tests for my RouteConfig file and I need to create a RouteCollection in my test. I am given the option to add a reference to System.Web.dll. When I do this VS I get this error:
If I try to add a reference to it manually I am told the "reference is invalid or not supported"
How can I add this to my unit test or what is a better way to test RouteConfig