“Unverifiable code failed policy check” for a closed source assembly

后端 未结 3 1495
天命终不由人
天命终不由人 2021-01-23 04:36

I\'m attempting to dynamically load some (purchased) assemblies from resource streams in a C# program during an MSI installation routine, but I\'m getting \"Unverifiable code fa

3条回答
  •  无人共我
    2021-01-23 04:58

    This may not be relevant any longer, but I encountered the same issue recently. If you take the stream and stick it in a temp file, you can then use Assembly.LoadFrom to load the assembly.

提交回复
热议问题