How to temporarily disable docker support from asp.net core 2.0 project in visual studio 2017 ver 15.3.2?

I created Asp.Net Core 2.0 Web Api project in Visual Studio 2017 ver 15.3.2 with Docker support enabled.

How can I temporarily disable Docker support from project?

In Solution explorer right-click on docker project ("docker compose") and select "Unload project"

Visual Studio Container Tools with ASP.NET Core, Learn how to use Visual Studio tooling and Docker for Windows to containerize an ASP. Visual Studio 2017 and later versions support building, debugging, and running For ASP.NET Core projects targeting .NET Core, there are two options for FROM microsoft/aspnetcore:2.0-nanoserver-1709 FROM  For ASP.NET Core projects targeting .NET Core, there are two options for adding Docker support via the tooling. Open the project in Visual Studio, and choose one of the following options: Select Docker Support from the Project menu. Right-click the project in Solution Explorer and select Add > Docker Support.

I removed following from sln file to remove docker support:

Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{5412559A-5688-4EB3-97F4-31DF8997843C}"
EndProject

User Andriy F., 14 How to temporarily disable docker support from asp.net core 2.0 project in visual studio 2017 ver 15.3.2? 10 Installing ghc binaries on Linux (can't find  Hello and welcome. In this tutorial we will see how we can create a new ASP.NET Core with Docker Support to have our ASP.NET Core app running in Docker. ===== Join our monthly Giveaway! https

Although I have not installed Visual Studio 2017 version 15.3.2, I dealt with the same issue in Visual Studio 2017 version 15.9 by following the steps below to disable docker support from my ASP .NET Core 2.1 :

  1. Solution Explore -> Right click on 'docker-compose' -> Unload project
  2. Solution Explore -> Right click on ASP .NET Core project -> Set as StarUp Project
  3. Solution Explore -> Right click on ASP .NET Core project -> Properties -> Debug tab -> Profile and Launch menu -> IIS Express

Now you have to Rebuild Solution and then Run your project in 'IIS Express' mode.

Cannot start Docker debug with VS2017 15.3 · Issue #37 · microsoft , After upgrade to latest VS 2017 15.3 I cannot start debug of Docker container from VS. Reproducible with any kind of .net core projects (console, asp.net) and NET Core 2.0 MVC Web application and add Docker support with Linux F5 can you log into the container with "Docker exec -it bash" and do you  ASP.NET Core 2.0: Adding and using an appsettings.json file - Duration: Migrate ASP.NET application on Docker Container using Visual Studio 2017 - Duration: 10:40. DevopsGuru 2,954 views.

[PDF] Conan Documentation - Conan docs, It also integrates with all build systems like CMake, Visual Studio The https://​github.com/conan-io/conan project has more than 3.5K stars in Starting in Conan 1.22, Python 2 is no longer supported and Conan will stop Docker: Automatic generation of packages for several versions of gcc and clang http://​www.zlib.net. You start with an existing ASP.NET MVC app, then build the published assets using Visual Studio. You use Docker to create the image that contains and runs your app. You'll browse to the site running in a Windows container and verify the app is working.

Build and run an ASP.NET Core app in a container, an ASP.NET Core app in a Docker container, using Visual Studio Code. Open developer command prompt in the project folder and initialize the project: dotnet new The extension provides completions and contextual help. To see When done testing, right-click the container in the Docker view and choose Stop. Unable to run ASP.Net Core web project using docker in Visual Studio fixed in: visual studio 2019 version 16.1 Fixed In: Visual Studio 2019 version 16.1 Preview 1 visual studio 2019 version 16.0 windows 10.0 project Fixed In: Visual Studio 2019 version 16.1 Preview 3

Merge pull request #58460 from MicrosoftDocs/master , user-help/device-management-azuread-joined-devices-setup.md), your users can join their machines to Azure AD. Your users can also enjoy single sign-on  In this wiki, let’s see how you can use Visual Studio 2017 to develop .NET Core application with Docker support enabled and see what happens when you build/debug. Let’s start off by creating a ASP.NET Core Web Application (.NET Core) and let's name it DockerComposeWebApp .

Comments
  • I'm pretty sure that this snippet you provided this is not located in csproj but in the main sln file. Also, if I remember well, to fully revert what "add docker support" does, he should delete any dockerfiles that were added to projects in the solution.. but of course that's not always wanted.
  • I have changed it to sln in answer. Also I wanted to remove temporarily only so that I could enable it later by adding the same back to sln file. I have updated question as well to reflect that. Thanks @quetzalcoatl for pointing it out.