System.ValueTuple 找不到指定的 Winform 文件
System.ValueTuple cannot find the file specified Winform
我的 Winform GUI 在我的 windows 10 机器上运行良好。当我尝试在 Windows 2003 服务器计算机上 运行 它时,我得到以下信息:
'Could not load file or assembly "System.ValueTuple, Version=4.0.3.0,
Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" or one of its
dependencies. The system cannot find the file specified.
我正在使用 .net 4,因为它可以在服务器 2003 上运行。GUI 加载正常,只是部分功能触发了此错误。如何解决这个问题?
值元组仅适用于 .NET Framework 4.7 及更高版本。
请参阅文档中的 Applies to 部分:
.NET Framework 4.7, 4.7.1, 4.7.2, 4.8
但你运气不好,.NET Framework 4.7 lowest supported server 是 2008 R2 SP1:
Supported Operating System
Windows 10
Windows 7 Service Pack 1
Windows 8.1
Windows Server 2008 R2 SP1
Windows Server 2012
Windows Server 2012 R2
Windows Server 2016
我的 Winform GUI 在我的 windows 10 机器上运行良好。当我尝试在 Windows 2003 服务器计算机上 运行 它时,我得到以下信息:
'Could not load file or assembly "System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" or one of its dependencies. The system cannot find the file specified.
我正在使用 .net 4,因为它可以在服务器 2003 上运行。GUI 加载正常,只是部分功能触发了此错误。如何解决这个问题?
值元组仅适用于 .NET Framework 4.7 及更高版本。
请参阅文档中的 Applies to 部分:
.NET Framework 4.7, 4.7.1, 4.7.2, 4.8
但你运气不好,.NET Framework 4.7 lowest supported server 是 2008 R2 SP1:
Supported Operating System
Windows 10
Windows 7 Service Pack 1
Windows 8.1
Windows Server 2008 R2 SP1
Windows Server 2012
Windows Server 2012 R2
Windows Server 2016