Skip to content

Add container support? #9

@fretje

Description

@fretje

This is probably something that should be posted to the Visual Studio Team... But maybe someone here can shed some light on this?

I have tried to get container support running on a project created with this sdk, but it doesn't seem to work.
(See here for the official docs on this container support)

I have added a package reference to the container tools:

<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.13" />

I have added a Dockerfile and a .dockerignore file.

I have added a profile to the launchsettings:

"Docker": {
  "commandName": "Docker",
  "launchBrowser": true,
  "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
  "publishAllPorts": true,
  "useSSL": true
}

But when I try to debug or run the project using that profile, I get an error message "the project doesn't know how to run the profile Docker":

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestknown limitationThis issue is related to a known limitation and cannot currently be fixed.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions