Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.12 KB | None | 0 0
  1. Severity    Code    Description Project File    Line    Suppression State
  2. Error       The "Fody.WeavingTask" task failed unexpectedly.
  3. System.TypeInitializationException: The type initializer for 'ContainsTypeChecker' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Users\Administrator\Desktop\XY\packages\Fody.1.29.3\FodyIsolated.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) ---> System.NotSupportedException: 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.
  4.  
  5.    --- End of inner exception stack trace ---
  6.    at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
  7.    at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
  8.    at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
  9.    at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
  10.    at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)
  11.    at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
  12.    at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)
  13.    at System.AppDomain.CreateInstanceFromAndUnwrap(String assemblyName, String typeName)
  14.    at System.AppDomain.CreateInstanceFromAndUnwrap(String assemblyName, String typeName)
  15.    at ContainsTypeChecker..cctor() in c:\Code\Fody\Fody\ContainsTypeChecker.cs:line 16
  16.    --- End of inner exception stack trace ---
  17.    at ContainsTypeChecker..ctor()
  18.    at Processor..ctor() in c:\Code\Fody\Fody\Processor.cs:line 29
  19.    at Fody.WeavingTask.Execute() in c:\Code\Fody\Fody\WeavingTask.cs:line 44
  20.    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
  21.    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() keyapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement