简体   繁体   中英

Latest/previous ver return error "The expression "[System.Version]::Parse('')" cannot be evaluated. Version string portion was too short or too long."

Try to install latest ver (3.1.0) of coverlet.msuild using nuget package manager for C# Unit Test Project on VS 2019 Community. I am return the error: "The expression "[System.Version]::Parse('')" cannot be evaluated. Version string portion was too short or too long. C:\\Users\\robpi\\source\\repos\\UnitTestProject1\\packages\\coverlet.msbuild.3.1.0\\build\\coverlet.msbuild.targets

I am having the same problem with .NET framework 4.8. For .NET core it seems to be fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM