Does generation of Java Code Coverage report require attaching Jacoco agent to application?

there is no workaround for JaCoCo, but the process can be quite seamless if you use maven or gradle plugins - we have a small guide on how to do it here [Coverage & Test Data] Importing JaCoCo coverage report in XML format

I am not so familiar with .NET, I let somebody else answer.