The main usage is for unit testing coverage, but you can also use it to know the executed lines in a program for debugging purpose.
I then get lots of errors, eg: NuGet Package restore failed for project TestCoverageOptimizedBuild: Unable to find version '1.0.0' of package 'thirdparty'. C:\Program Files (x86)\Microsoft ...