【问题标题】:Visual Studio System.ValueTuple assembly error when creating a NodeJS project创建 NodeJS 项目时的 Visual Studio System.ValueTuple 程序集错误
【发布时间】:2018-08-16 20:40:48
【问题描述】:

我在Windows 10 Enterprise 2015 LTSB 64-bit (10.0, Build 10240) 上运行Visual Studio 2017 (15.8.0).NET Framework 4.6.01055

新建NodeJS项目时,例如:New->Javascript->Node.js->Blank Node.js Console Application

.njsproj 文件打开时,我收到此错误:

Microsoft Visual Studio

Could not load file or assembly 'System.ValueTuple, Version=4.0.2.0,
Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its
dependencies. The located assembly's manifest definition does not
match the assembly reference. (Exception from HRESULT: 0x80131040)

我已经卸载并重新安装了 .NET Core 和 Visual Studio,但我遇到了同样的错误。我该如何解决这个错误?

【问题讨论】:

    标签: node.js visual-studio-2017


    【解决方案1】:

    安装 .NET Framework 4.7.2 为我解决了这个问题

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-02-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多