Relative Content

Tag Archive for .net.net-core

How to add excludecodecoverage attribute at namespace level?

I have one project which containg 3 foplders Models, Services and Core where in models folders contains POCO class which i dont want to include part of coverege so how can we do that? I know that individual class level we can assign [ExcludeCodeCoverage] attribute but how we can achieve at namespace level.

Updating configuration when migrating from .NET Framework to .NET 8

I’ve been tasked with updating a .NET Framework application to .NET 8. I ran Microsoft’s migration tool, and it seemed to go well, with no errors, but I don’t know if there’s anything else I need to do. Trying to run the application locally for the first time, I’m getting this error: