Reputation: 16290
I have an ASP.NET project (NET6) and I removed Docker support by:
When I try to publish the project I get the following errors:
Visual Studio container tools require Docker Desktop. To get it, see https://go.microsoft.com/fwlink/?linkid=847268
The "KillAppInsideContainer" task failed unexpectedly.
I've installed Docker Desktop for Windows and I still get these errors when publishing:
The "KillAppInsideContainer" task failed unexpectedly.
Method not found: 'Void Microsoft.VisualStudio.Containers.Tools.Shared.Functions.AzureFunctionsFeedDataProvider..ctor(Microsoft.VisualStudio.Containers.Tools.Common.Services.Logging.ILoggingService)'.
Am I missing other settings / places where Docker is still referenced?
Upvotes: 4
Views: 1151
Reputation: 16290
I had a reference to this Nuget package:
Microsoft.VisualStudio.Azure.Containers.Tools.Targets
Once removed, publishing works fine.
Upvotes: 7