We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab6a58 commit 3aa06b2Copy full SHA for 3aa06b2
packaging/build/Microsoft.NET.Build.Containers.targets
@@ -37,6 +37,7 @@
37
<ContainerImageName Condition="'$(ContainerImageName)' == ''">$(AssemblyName)</ContainerImageName>
38
<!-- Only default a tag name if no tag names at all are provided -->
39
<ContainerImageTag Condition="'$(ContainerImageTag)' == '' and '$(ContainerImageTags)' == ''">$(Version)</ContainerImageTag>
40
+ <ContainerImageTag Condition="'$(RunningInVisualStudio)' == 'true' and '$(PublishImageTag)' != ''">$(PublishImageTag)</ContainerImageTag>
41
<ContainerWorkingDirectory Condition="'$(ContainerWorkingDirectory)' == ''">/app</ContainerWorkingDirectory>
42
<!-- Could be semicolon-delimited -->
43
</PropertyGroup>
0 commit comments