Microsoft.VisualStudio.Azure.Containers.Tools.Targets 1.21.0

Prefix Reserved
dotnet add package Microsoft.VisualStudio.Azure.Containers.Tools.Targets --version 1.21.0                
NuGet\Install-Package Microsoft.VisualStudio.Azure.Containers.Tools.Targets -Version 1.21.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.VisualStudio.Azure.Containers.Tools.Targets --version 1.21.0                
#r "nuget: Microsoft.VisualStudio.Azure.Containers.Tools.Targets, 1.21.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.VisualStudio.Azure.Containers.Tools.Targets as a Cake Addin
#addin nuget:?package=Microsoft.VisualStudio.Azure.Containers.Tools.Targets&version=1.21.0

// Install Microsoft.VisualStudio.Azure.Containers.Tools.Targets as a Cake Tool
#tool nuget:?package=Microsoft.VisualStudio.Azure.Containers.Tools.Targets&version=1.21.0                

Release History

1.21.0

  • Fix build image not producing a regular mode container
  • Added support for setting the LAUNCHING_FROM_VS build arg when launching from VS

1.20.1

  • Fix regression in VisualStudioCredential and Hot Reload for VS < 17.10

1.20.0

  • Handle VS owning launching the container.
  • Add support for Distroless / Chiseled containers (Requires Visual Studio 17.10+)

1.19.6

  • Fix tasks assembly version collisions
  • Add mapping for User Secrets with more project types

1.19.5

  • Add support for debugging AOT compiled projects in dotnet 8
  • Docker image building now passes the configuration to the build via the build-arg BUILD_CONFIGURATION

1.19.4

  • Improve handling project names that use multi-byte Unicode characters

1.19.3

  • Fix bug in tracking volumes when restarting the container

1.19.2

  • Add support for profiling using the Visual Studio Profiler.
  • Add support for the new .NET 8 port environment variables.

1.19.1

  • Update support for VisualStudioCredential to support more .NET versions (Requires Azure.Identity 1.9.0-beta.3+)

1.19.0

  • Add support for basic Hot Reload when not debugging

1.18.1

  • Update support for VisualStudioCredential to use container's .NET install

1.18.0

  • Support for VisualStudioCredential in a container

1.17.2

  • Minor fix for windows debugging on Nano

1.17.1

  • Remove ContainerTagImage and add the tagging to ContainerBuildAndLaunch

1.17.0

  • Support for SDK Style .NET Framework web projects.

1.16.1

1.15.1

  • Fixes an error while building a containerized application.

1.15.0

  • Improved Azure Functions Core tooling install experience.
  • Fixes invalid assembly load failure.

1.14.0

  • Fixes a VS hang while adding docker support to .NET Framework project.
  • Support for Azure Functions .NET 6.0
  • Support for the .json version of StaticWebAssets
  • Fixes a bug in Azure Functions .NET 5 (Isolated)
  • Fixed a bug in handling static assets for .NET 6.0

1.11.1

  • Add support for isolated Azure Functions (.NET5).
  • Fix an issue where docker pull used to fail during warmup if dockerfile had dockerfile ARGs.
  • Show custom MSBuild properties in the UI.

1.10.8

  • Fix issue with inconsistent nuget package and tooling version

1.9.10

  • Use dynamic ports instead of explicit ports.
  • Create the container with project name.
  • Support custom BaseIntermediateOutputPath.
  • Add support for scaffolding Azure Functions v3 projects.

1.9.5

  • Adds support for Blazor ASP.NET Core web apps
    • Also requires Visual Studio 16.3 Preview 3 or later.

1.9.2

  • Adds support for Azure function container debugging.
    • Also requires Visual Studio 16.3 Preview 2 or later.
    • Currently Linux containers only.

1.7.12

  • Updates to logic for determining if ports that Docker wants to map are already in use when debugging in VS.

1.7.8

  • (Meta) Added Release Notes field to this NuGet package, linking to this document.
  • Change to FIPS-compliant version of SHA256.

1.7.2

  • For ASP.NET Core apps, if the "UserSecretsId" MSBuild property is set, the appropriate user secrets folder will be volume mapped and available in the container even if SSL is not enabled.

1.5.4

  • Visual Studio Debugger (VSDBG) should be properly downloaded when using a system proxy.
  • Volume sharing sometimes stops working or credentials expire. Our tools do their best to detect this and provide a clear error message when possible.

1.4.10

  • In most cases the .dockerignore file will show as a linked item under the Dockerfile in Solution Explorer.

1.4.2

  • Added support for Alpine and Ubuntu (bionic) debugging (In VS2019 just update base images in your dockerfile – See here for VS2017 required steps).
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETFramework 4.7.2

    • No dependencies.

NuGet packages (185)

Showing the top 5 NuGet packages that depend on Microsoft.VisualStudio.Azure.Containers.Tools.Targets:

Package Downloads
Microsoft.VisualStudio.Azure.Kubernetes.Tools.Targets

Targets files to enable the Visual Studio Tools for Kubernetes.

devprime.stack.web

DevPrime Web

NugetAntCoreInterfaceAlfred

Nuget used to optimize and create a centralized ecosystem for interfaces

ArmoniK.DevelopmentKit.Worker.Common

ArmoniK Package SDK for high level API

ArmoniK.DevelopmentKit.Worker.Unified

ArmoniK Package SDK for high level API

GitHub repositories (278)

Showing the top 5 popular GitHub repositories that depend on Microsoft.VisualStudio.Azure.Containers.Tools.Targets:

Repository Stars
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 8.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
gui-cs/Terminal.Gui
Cross Platform Terminal UI toolkit for .NET
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
dotnetcore/CAP
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern
Version Downloads Last updated
1.21.0 11,465,089 6/28/2024
1.20.1 9,206,248 4/3/2024
1.20.0 448,898 3/28/2024
1.19.6 11,114,462 1/5/2024
1.19.5 13,996,760 7/26/2023
1.19.4 2,730,597 7/13/2023
1.18.1 14,265,329 2/25/2023
1.17.2 5,943,833 11/16/2022
1.17.0 33,079,097 6/14/2022
1.16.1 6,230,451 5/11/2022
1.15.1 10,786,674 3/17/2022
1.15.0 3,084,553 2/25/2022
1.14.0 25,069,502 9/7/2021
1.11.1 12,200,671 7/3/2021
1.10.8 19,208,653 1/28/2020
1.9.10 12,093,721 10/25/2019
1.9.5 7,494,111 8/27/2019
1.9.2 584,404 7/23/2019
1.7.12 1,839,483 7/8/2019
1.7.11 303,017 6/18/2019
1.7.10 235,412 5/28/2019
1.7.9 2,119,530 5/6/2019
1.7.8 387,228 5/1/2019
1.7.2 228,736 4/23/2019
1.5.4 196,066 3/26/2019
1.4.10 3,454,405 3/5/2019
1.4.4 519,268 1/25/2019
1.4.2 85,269 12/21/2018
1.1.1 1,163,450 10/10/2018
1.1.0 6,560 10/5/2018
1.0.2105168 3,164,639 10/10/2018
1.0.2073426 53,846 9/28/2018
1.0.2068006 29,894 9/27/2018
1.0.1985401 60,579 8/28/2018
1.0.1916590 1,455,175 8/3/2018
1.0.1872750 11,365 7/19/2018