System.Runtime.Serialization.SerializationException: Unable to find assembly MyAssembly

后端 未结 9 1812
-上瘾入骨i
-上瘾入骨i 2020-12-19 04:00

So I\'ve found a bunch of threads on this topic but I don\'t think I\'ve found one that applies yet.

Basically my .exe loads a .dll (MyAssembly) file which does the

9条回答
  •  情歌与酒
    2020-12-19 04:16

    I just stumbled over the same issue and figured out that my fault was the existance of two versions of that assembly within my probing paths. That typically happens if you first did your assembly and afterwards fix a postbuild event to move it to where you really need it.

提交回复
热议问题