Erreurs CSharp

De Banane Atomic
Aller à la navigationAller à la recherche

Could not load file or assembly 0x80131515

An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.

Problème lors du chargement d'une assembly dans un partage réseau.

MonApplication.exe.config
<configuration>
  <runtime>
    <loadFromRemoteSources enabled="true" />