Could not load file or assembly or one of its dependencies

前端 未结 30 1483
生来不讨喜
生来不讨喜 2020-11-22 03:18

I\'m having another of these \"Could not load file or assembly or one of its dependencies\" problems.

Additional information: Could not load file or

30条回答
  •  被撕碎了的回忆
    2020-11-22 03:42

    Juntos answer is correct but you should also consider:

    For the unity v2.1.505.2 different AssemblyVersion and AssemblyFileVersion attributes are specified:

    enter image description here

    AssemblyFileVersion is used by the NuGet but CLR does not care about it! CLR is going to use only AssemblyVersion!

    So your redirects should be applied to a version that specified in AssemblyVersion attribute. So 2.1.505.0 should be used

    
     
    
    
    
    

    See also: What are differences between AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion?

提交回复
热议问题