SPC100202: Do not reference unavailable NET 3.5 assemblies

Code in the sandbox runs as a partially trusted caller. This means that such code can access only those .NET Framework 3.5 assemblies that have the AllowPartiallyTrustedCallersAttribute attribute.

TypeName: AssemblyCannotReferenceUnavailableNET35Assemblies
CheckId: SPC100202
Severity: Error
Type: AssemblyFileReference
Resolution

Remove references to assemblies which do not have the AllowPartiallyTrustedCallers attribute.

Links

comments powered by Disqus