![](/img/trans.png)
[英]cannot Publish web app with Visual Studio 2019 and Azure
[英]Visual Studio 2019, Publish to Azure is failed for NodeJs Web App
從 Visual Studio 2019 發布的 Node Js 停止工作。 VS 或代碼配置沒有更新。
臨時文件中的錯誤轉儲:
27-Nov-20 09:58:33
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Publish.Framework.ViewModel.ProfileSelectorViewModel.CanShowRestoreAction()
at Microsoft.Publish.Framework.ViewModel.ProfileSelectorViewModel.RebuildCrudProfileCommands(IProfileVisual profile)
at Microsoft.Publish.Framework.ViewModel.ProfileSelectorViewModel.set_SelectedProfile(IProfileVisual value)
at Microsoft.Publish.Framework.ViewModel.ProfileSelectorViewModel.Initialize(ProfileSelectorUserControl view)
at Microsoft.Publish.Framework.Provider.DefaultPublishTabProvider.<CreateViewAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Publish.Framework.Provider.PublishProjectDesignerTabProvider.<CreateViewAsync>d__7.MoveNext()
===================
我嘗試了什么:
無論如何要解決這個問題?
解決方法:使用部署中心本地 git
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.