Could not load file or assembly 'System.ValueTuple'

前端 未结 18 1891
你的背包
你的背包 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:42

    I resolved this issue by registering System.ValueTuple in my computer's machine.config file (along with my own DLL which was already registered there). I don't particularly like this approach though since it's dependent upon the DLL version which is subject to change at any time. Hopefully MS will just add this assembly to the next version of the .Net Framework.

    
    
      
        
        
        
      
      ...
    
    
    

提交回复
热议问题