简体   繁体   English

最新/上一个版本返回错误“无法评估表达式“[System.Version]::Parse('')”。版本字符串部分太短或太长。”

[英]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.尝试使用 nuget 包管理器为 VS 2019 社区上的 C# 单元测试项目安装最新版本(3.1.0)的coverlet.msuild。 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我返回错误:“无法评估表达式“[System.Version]::Parse('')”。版本字符串部分太短或太长。C:\\Users\\robpi\\source\\repos\\UnitTestProject1\\包\\coverlet.msbuild.3.1.0\\build\\coverlet.msbuild.targets

coverlet.msbuild does not install coverlet.msbuild 不安装

Note: I try to install earlier version (2.7.0) - same outcome注意:我尝试安装早期版本(2.7.0) - 结果相同

"

I am having the same problem with .NET framework 4.8.我对 .NET 框架 4.8 也有同样的问题。 For .NET core it seems to be fine.对于 .NET 核心,它似乎没问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 指定的路径,文件名或两者都太长。 C#Azure聊天机器人错误 - The specified path, file name, or both are too long. C# Azure Chat bot error 有没有办法解决“此表达式有副作用,将不会被评估。”? - Is there a way around “This expression has side effects and will not be evaluated.”? CXX0030:错误:无法计算表达式 - CXX0030: Error: expression cannot be evaluated 更新 .Net Framework 版本(4.6.2 到 4.7.2)后无法评估 GetPathsOfAllDirectoriesAbove() - GetPathsOfAllDirectoriesAbove() cannot be evaluated after updating .Net Framework version (4.6.2 to 4.7.2) 无法打开Xamarin Android .axml文件:安装的Android SDK过旧。 需要25.1.3版或更高版本。 请更新到最新版本 - Can’t open Xamarin Android .axml file: The installed Android SDK is too old. Version 25.1.3 or newer is required. Please update to the latest version 在 NuGet 上找不到最新版本的 package - Cannot find the latest version of a package on NuGet 文件名或扩展名太长 - The filename or extension is too long 字符串太长而无法放在一行上-VB.NET - String is too long to fit on one line - VB.NET 在构建期间无法自动将NuGet包更新到最新版本 - Cannot automatically update a NuGet package to the latest version during build 将解决方案转换为最新版本 - Convert solution to the latest version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM