Visual studio 帮助编译silverlight项目!

Visual studio 帮助编译silverlight项目!,visual-studio,silverlight,Visual Studio,Silverlight,大家好 我试图编译我的项目,但我遇到以下错误: 错误1“ValidateXML”任务意外失败。 System.IO.FileLoadException:无法加载文件或程序集的file:///C:\文档和设置\arielish\My Documents\Downloads\פריקט\RubikCube\obj\Debug\RubikCube.dll'或其依赖项之一。不支持此操作。(来自HRESULT的异常:0x8013155) 文件名:'file:///C:\Documents and Sett

大家好 我试图编译我的项目,但我遇到以下错误:

错误1“ValidateXML”任务意外失败。 System.IO.FileLoadException:无法加载文件或程序集的file:///C:\文档和设置\arielish\My Documents\Downloads\פריקט\RubikCube\obj\Debug\RubikCube.dll'或其依赖项之一。不支持此操作。(来自HRESULT的异常:0x8013155) 文件名:'file:///C:\Documents and Settings\Arielish\My Documents\Downloads\פריקט\RubikCube\obj\Debug\RubikCube.dll'-->System.NotSupportedException:试图从网络位置加载程序集,这会导致该程序集在.NET Framework的早期版本中被沙盒化。默认情况下,.NET Framework的此版本不启用CAS策略,因此此负载可能很危险。如果此加载不是为了沙箱程序集,请启用loadFromRemoteSources开关。有关更多信息,请参阅

在System.Reflection.RuntimeAssembly.\n加载(AssemblyName文件名、字符串代码基、证据assemblySecurity、RuntimeAssembly位置提示、StackScrawMark和stackMark、Boolean throwOnFileNotFound、Boolean For Inspection、Boolean suppressSecurityChecks)

位于System.Reflection.RuntimeAssembly.nLoad(AssemblyName文件名、字符串代码基、证据assemblySecurity、RuntimeAssemblyLocationHint、StackScrawlMark和stackMark、Boolean throwOnFileNotFound、Boolean For Inspection、Boolean suppressSecurityChecks)

位于System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef,证据assemblySecurity,StackScrawMark&stackMark,布尔值用于内省,布尔值suppressSecurityChecks)

位于System.Reflection.RuntimeAssembly.InternalLoadFrom(字符串汇编文件、证据安全性证据、字节[]哈希值、AssemblyHashAlgorithm哈希算法、Boolean ForInspection、Boolean suppressSecurityChecks、StackScrawMark和stackMark)

位于System.Reflection.Assembly.LoadFrom(字符串汇编文件)

在Microsoft.Silverlight.Build.Tasks.validatexml.XamlValidator.Execute(ITask任务)中

在Microsoft.Silverlight.Build.Tasks.validatexml.XamlValidator.Execute(ITask任务)中

在Microsoft.Silverlight.Build.Tasks.ValidateXML.Execute()上

位于Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ItaskeExecutionHost.Execute()

在Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstatedTask(ITaskExecutionHost taskExecutionHost、TaskLoggingContext TaskLoggingContext、TaskHost TaskHost、ItemBucket bucket、TaskExecutionMode howToExecuteTask、Boolean和taskResult)

魔方


我该怎么办?

如果您从internet下载了文件RubikCube,它可能会被阻止。在资源管理器中右键单击它,并在文件属性中“取消阻止”