我在Visual Studio 2017 (15.8.0)
上与.NET Framework 4.6.01055
一起运行Windows 10 Enterprise 2015 LTSB 64-bit (10.0, Build 10240)
。
创建新的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,但是却遇到了相同的错误。如何解决此错误?
答案 0 :(得分:2)
安装.NET Framework 4.7.2为我解决了此问题