Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EnableSdkContainerDebugging causes build failure if ContainerImageTags is set #564

Open
Cjewett opened this issue Apr 26, 2024 · 0 comments

Comments

@Cjewett
Copy link

Cjewett commented Apr 26, 2024

When setting EnableSdkContainerDebugging to true it breaks our compilation because we have ContainerImageTags set. The error is Both ContainerImageTag and ContainerImageTags were provided, but only one or the other is allowed. If I remove EnableSdkContainerDebugging the error goes away, but then the launchProfile for SdkContainer no longer works.

<PropertyGroup>
  <EnableSdkContainerSupport>true</EnableSdkContainerSupport>
  <EnableSdkContainerImage>true</EnableSdkContainerImage>
  <ContainerBaseImage>mcr.microsoft.com/dotnet/aspnet:8.0.0-jammy</ContainerBaseImage>
  <ContainerImageTags>latest;$(Version)</ContainerImageTags>
</PropertyGroup>

Using SDK 8.0.204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant