Azure SDK:“DeleteCurrentDeployment”任务意外失败。 [英] Azure SDK: The "DeleteCurrentDeployment" task failed unexpectedly.

查看:86
本文介绍了Azure SDK:“DeleteCurrentDeployment”任务意外失败。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自VS2017.3更新以来,每当我启动没有调试器的解决方案时,我都会遇到此问题,请进行一些更改并再次按Ctrl-F5:



错误 "DeleteCurrentDeployment""任务意外失败。

System.Runtime.InteropServices.COMException(0x8001010E):必须在UI线程上调用OutputStringThreadSafe。

    at Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(String callerMemberName)

    at Microsoft.VisualStudio.Workspace.VSIntegration.VSServiceHost.OutputWindowPaneWrapper.OutputStringThreadSafe(String pszOutputString)

    at Microsoft.Cct.CctBuildDeploymentTaskHost.WaitForAsyncResult(IAsyncResult asyncResult)

    at Microsoft.Cct.CctBuildDeploymentTaskHost.DeleteCurrentDeployment()

    at Microsoft.CloudExtensions.MSBuildTasks.DeleteCurrentDeployment.Execute()

    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()

    at Microsoft.Build.BackEnd.TaskBuilder。< ExecuteInstantiatedTask> d__26.MoveNext()



看起来该组件想要做某事当UI不在UI线程上时,用户界面。


解决方案

< blockquote>

您好Jeroen Landheer,


感谢您在此发帖。


根据您的问题与Visual Studio有关,我会移动到

Visual工作室一般问题
 论坛以获得合适的支持。


< span style ="font-size:9.0pt;行高:107%; font-family:'Verdana',sans-serif"> CLR论坛讨论并提出有关.NET Framework基类(BCL)的问题,例如集合,I / O,Regigistry,Globalization,Reflection。还讨论所有其他的
构建在.NET Framework上或扩展.NET Framework的Microsoft库,包括Managed Extensibility Framework(MEF),Charting Controls,CardSpace,Windows Identity Foundation(WIF),Point of Sale(POS),Transactions。 


最好的问候,


温迪


Since the update to VS2017.3 I'm running into this issue whenever I started a solution without the debugger, make some changes and hit Ctrl-F5 again:

Error The "DeleteCurrentDeployment" task failed unexpectedly.
System.Runtime.InteropServices.COMException (0x8001010E): OutputStringThreadSafe must be called on the UI thread.
   at Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(String callerMemberName)
   at Microsoft.VisualStudio.Workspace.VSIntegration.VSServiceHost.OutputWindowPaneWrapper.OutputStringThreadSafe(String pszOutputString)
   at Microsoft.Cct.CctBuildDeploymentTaskHost.WaitForAsyncResult(IAsyncResult asyncResult)
   at Microsoft.Cct.CctBuildDeploymentTaskHost.DeleteCurrentDeployment()
   at Microsoft.CloudExtensions.MSBuildTasks.DeleteCurrentDeployment.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

Looks like the component wants to do something with the UI when it is not on the UI thread.

解决方案

Hi Jeroen Landheer,

Thank you for posting here.

According to your question is more related to Visual Studio, I will move it to Visual Studio General Questions forum for suitable support.

The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions. 

Best Regards,

Wendy


这篇关于Azure SDK:“DeleteCurrentDeployment”任务意外失败。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆