Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

597
Views
Using coverlet with. Net Framework generates an error: The expression "[System.Version]::Parse('')" canot be evaluated

I wrote a very simple c# .Net Framework applicatin and eddes som unit tests. Now, tring to check the coverage using coverlet. Getting error MSB4184. The expression "[System.Version]::Parse('')" canot be evaluated. Version string portion was too short or too long. (parameter 'input' ). Does anyone encounter such an error?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Coverlet has some limitations. It only supports SDK-style projects and in some cases only .NET Core test projects. This is not an issue if you start a new test project in a solution because you can mix up project types.

But migration of an existing old test project to an SDK style .NET Core project could be necessary.

https://github.com/coverlet-coverage/coverlet#Quick-Start has more information about the requirements.

over 4 years ago · Santiago Trujillo Report

0

One way I got around this issue was by renaming (or deleting) the coverlet.collector directory in your $HOME\.nuget\packages directory. Close Visual Studio completely, then re-open your solution or project.

File Explorer with renamed coverlet.collector directory

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!