Question: I have dockerfile created by visual studio 2019.
How can i run it manually?
bellow is the dockerfile:

```
FROM mcr.microsoft.com/dotnet/core/aspnet:2.1-nanoserver-1903 AS base
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/core/sdk:2.1-nanoserver-1903 AS build
WORKDIR /src
COPY ["Client/Client.csproj", "Client/"]
RUN dotnet restore "Client/Client.csproj"
COPY . .
WORKDIR "/src/Client"
RUN dotnet build "Client.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "Client.csproj" -c Release -o /app/publish

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "Client.dll"]

```

Answer: 
VS Code stores this info in its *internals* instead of the `.vscode` folder, so you can't *copy* this info between workspaces. There is an [open issue](https://github.com/microsoft/vscode/issues/40239) asking exactly what you want.

But, you have an alternative. Use the [Profile Switcher](https://marketplace.visualstudio.com/items?itemName=aaronpowell.vscode-profile-switcher) extension. 

Its description:

> 
> This extension allows you to define a number of settings profiles that you can easily switch between. The original idea for this extension came from my desire to have an easy way for me to switch my VS Code to a setup that was better optimised for presenting (changed themes, increase font size, etc).
> 
> 
> 

And this is how it handles extensions:

> 
> A profile isn't just the settings you have enabled, but also the extensions that were installed. This allows you to create different profiles for different styles of development (e.g. a React profile and a Vue profile, loading their respective extensions only).
> 
> 
> 

Hope this helps
There is a github issue for this problem: [Feature Request: Enable/disable extensions from config file #40239](https://github.com/microsoft/vscode/issues/40239).

I posted there a workaround using multiple vscode instances: [link](https://github.com/microsoft/vscode/issues/40239#issuecomment-582671616)

Here is a copy-paste:

---

I use some kind of workaround to be able to use the extensions I want.

According to the vscode-cli your can specify the folders for extensions and user-data:

```sh
Options                  Description

--extensions-dir <dir>   Set the root path for extensions.
--user-data-dir <dir>    Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code.

```

Basically, I create a specific folder for my specific tasks (one of front, one for back, ..) and set basic extensions to my default vscode.

To launch my custom config:

```sh
code --extensions-dir "$HOME/.vscode/profiles/my-super-profile/extensions" --user-data-dir "$HOME/.vscode/profiles/my-super-profile/data"

```

The problem are that:

* It's not REALLY a project config file but a global preference file
* I had to install manually the extensions. I believe there is a hackish way to do this
* It use more size than necessary (multiple vscode data / duplicate extensions)
* It doesn't solve in a clean way the team-sharing problem