Error 1 Failed to complete the "ValidateXaml" task unexpectedly. Fix System.IO.FileLoadException: Failed to load file or assembly "File: // \ TSCLIENT \ d \ Users \ Me \ Documents \ Visual Studio 2010 \ Projects \ SilverlightApplication2 \ SilverlightApplication2 \ OBJ \ Debug \ SilverlightApplication2.dll" or one of its dependencies. operation is not supported. (Exception from HRESULT: 0x80131515)
File name: "File: // \ TSCLIENT \ d \ Users \ Me \ Documents \ Visual Studio 2010 \ Projects \ SilverlightApplication2 \ SilverlightApplication2 \ OBJ \ Debug \ SilverlightApplication2.dll" ---> System.NotSupportedException: an attempt was made to load the assembly from a network that caused the assembly to be isolated in previous versions of the .NET Framework. This release of the .NET Framework does not include CAS by default, so this download can be dangerous. If this load is not intended for the build sandbox, enable loadFromRemoteSources. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
in System.Reflection.RuntimeAssembly._nLoad (AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark & stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityCamelectionName.amelection assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark & stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) in System.Reflection.RuntimeAssembly.InternalLoadAssemblyName (AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark & stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly. InternalLoadFrom (String assembly, securityEvidence proof, Byte [] hashValue,AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark & amp; stackMark) with System.Reflection.Assembly.LoadFrom (String assemblyFile) with Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute (ITask tasks) with Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute (ITask when Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute () in Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () in Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTaskHectogask Taskask Taskask Taskask , TaskHost taskHost, Item ItemBucket, TaskExecutionMode howToExecuteTask, Boolean & taskResult)StackCrawlMark & amp; stackMark) with System.Reflection.Assembly.LoadFrom (String assemblyFile) with Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute (ITask tasks) with Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute (ITask when Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute () in Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () in Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTaskHectogask Taskask Taskask Taskask , TaskHost taskHost, Item ItemBucket, TaskExecutionMode howToExecuteTask, Boolean & taskResult)StackCrawlMark & amp; stackMark) with System.Reflection.Assembly.LoadFrom (String assemblyFile) with Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute (ITask tasks) with Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute (ITask when Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute () in Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () in Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTaskHectogask Taskask Taskask Taskask , TaskHost taskHost, Item ItemBucket, TaskExecutionMode howToExecuteTask, Boolean & taskResult)Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute (ITask tasks) with Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute () in Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.ExecuteHost.Execute Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask (ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, Item ItemBucket, TaskExecutionMode howToExecuteTask, Boolean & taskResult)Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute (ITask tasks) with Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute () in Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.ExecuteHost.Execute Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask (ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, Item ItemBucket, TaskExecutionMode howToExecuteTask, Boolean & taskResult)Thing ItemBucket, TaskExecutionMode howToExecuteTask, Boolean & taskResult)Thing ItemBucket, TaskExecutionMode howToExecuteTask, Boolean & taskResult)
, , XP Mode " " , , - CAS/security.