We have project which is compiled in net48 by default. We have CA1515 enabled on this project and compilation will pass. As soon as project is multi targeted with net48;net10.0, compilation will fail with CA1515 errors while given project is set to OutputType Library. Please see attached compilation binary logs from both compilation (successful net48 and failure in net48\net10.0). CA1515 should not be triggered on OutputType => Library.
CA1515_BinaryLog.zip