Erreurs CSharp

De Banane Atomic
Révision datée du 10 octobre 2014 à 16:04 par Nicolas (discussion | contributions) (→‎Could not load file or assembly 0x80131515)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
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" />