我有一个无法发布的WebAPI项目。当我右键单击项目名称并单击“发布”时,我得到:
tmp17CF.tmp
说:
11/07/2019 11:01:44
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.CreateViewAsync(IVsHierarchy project, IAsyncServiceProvider serviceProvider, CancellationToken cancellationToken)
at Microsoft.VisualStudio.ApplicationCapabilities.Publish.Provider.ManagedPublishProvider.<CreateViewAsync>d__3.MoveNext()
===================
我发现了一些有关如何在网络上对其进行修复的想法,但都无济于事:
他们都没有工作
谢谢!