Could not load file or assembly 'System.ValueTuple'

前端 未结 18 1848
你的背包
你的背包 2020-12-08 18:02

I\'ve got a VS2017 project that compiles to a DLL which is then called by an EXE written by someone else. Both projects target .Net Framework 4.6.2. I rewrote one of my DLL

18条回答
  •  伪装坚强ぢ
    2020-12-08 18:51

    In my case I think something delete this dll from project and framework folders, maybe during installing something it flied; so my project during debugging couldn't find that dll and throw that error. I installed

    Install-Package System.ValueTuple -Version 4.5.0

    Package and than everything worked again. Before doing further complicated solutions as described above answers may installing ValueTuple package works for you.

提交回复
热议问题