visual-studio - Visual Studio 2019 不会发布
问题描述
我已经在 VS 2019 中运行了一段时间的 .Core 项目,并且我一直在构建和发布,但突然之间不会再发布了。我已经卸载并重新安装了,我得到了同样的错误。
所以我挖掘了 Stack Track / log 我没有看到这个问题。
System.AggregateException: One or more errors occurred. ---> System.Exception: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.Publish.Framework.Model.DefaultPublishSteps.<>c__DisplayClass26_0.<IsBuildCompletedSuccessfully>b__2()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- 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.Model.DefaultPublishSteps.<DefaultCorePublishStep>d__23.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.ViewModel.ProfileSelectorViewModel.<RunPublishTaskAsync>d__213.MoveNext()
---> (Inner Exception #0) System.Exception: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details. <---
System.Exception: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details.
====================
我什么都没有。
解决方案
推荐阅读
- matlab - 我无法使用位于私人文件夹中的 MEX 功能
- dart - Dart Future 中的内部异常没有被捕获
- haskell - 使用 Bound 与多个类型变量进行抽象
- excel - MS Excel:计算一列中与左侧单元格具有相同编号的单元格数量
- c# - 如何在用户键入时进行源更新
- javascript - Node.js ReferenceError: Product is not defined
- php - 获取选定的状态字段值以在 Woocommerce 结帐审查订单中显示它
- python - jupyter Notebook 上 matplotlib 绘图中的缩放和平移选项
- python - 使用 pandas .map 更改值
- java - Java中的有向图实现