gpt4 book ai didi

c# - 在任何项目上发布错误

转载 作者:行者123 更新时间:2023-11-30 23:05:37 27 4
gpt4 key购买 nike

试图在我的服务器上发布一个 nopcommerce 3.9 应用程序,但我遇到了这个错误

publish has encountered an error Object reference not set to an instance of an object A diagnostic log has been written to following location

日志文件:

System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.VisualStudio.ApplicationCapabilities.Publish.Provider.DefaultPublishTabProvider.InitializeProvider(IVsHierarchy hierarchy) at Microsoft.VisualStudio.ApplicationCapabilities.Publish.Provider.DefaultPublishTabProvider.d__0.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.VisualStudio.ApplicationCapabilities.Publish.Provider.ManagedPublishProvider.d__1.MoveNext()

而且我还没有在我的电脑上安装 SQL Server,也没有在我的电脑上安装 NopCommerce,也从未对源代码进行任何更改

编辑:它不是另一个问题的重复,因为在那种情况下我会得到一个运行时错误,当我想发布它并且程序运行正常并且我的问题是在发布场景中时会发生这种情况

最佳答案

VS 2017 V15.5.5 发布有bug试试更新你的VS

关于c# - 在任何项目上发布错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48718645/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com