The "ValidateXaml" task failed unexpectedly. vb silverlight socket 错误

前端之家收集整理的这篇文章主要介绍了The "ValidateXaml" task failed unexpectedly. vb silverlight socket 错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Error :The "ValidateXaml" task Failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
at MS.MarkupCompiler.ValidationPass.ValidateXaml(String fileName,Assembly[] assemblies,Assembly callingAssembly,TaskLoggingHelper log,Boolean shouldThrow)
at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute(ITask task)
at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute(ITask task)
at Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost,TaskLoggingContext taskLoggingContext,TaskHost taskHost,ItemBucket bucket,TaskExecutionMode howToExecuteTask,Boolean& taskResult)

解决方法:设置. vbproj文件中 <ValidateXaml>false</ValidateXaml>

原文链接:https://www.f2er.com/vb/261886.html

猜你在找的VB相关文章