aspire icon indicating copy to clipboard operation
aspire copied to clipboard

Should use ContainerRepository instead of ContainerImageName in container builds

Open amolenk opened this issue 9 months ago • 1 comments

When using azd up to deploy to Azure, the container build emits a warning:

CONTAINER003: The property 'ContainerImageName' was set but is obsolete - please use 'ContainerRepository' instead.

Normally this isn't a problem because it's just a warning, but it'll break the deployment if you specify MSBuildTreatWarningsAsErrors to true (which is useful for maintaining code quality).

amolenk avatar May 19 '24 16:05 amolenk