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

Sample app targets .NET 7, prerequisite section states .NET 6 which causes an error. #26770

Closed
Tracked by #27141
ldillonel opened this issue Aug 18, 2022 · 2 comments
Closed
Tracked by #27141
Labels
doc-enhancement RR Rick-Anderson needs to review this periodically Source - Docs.ms Docs Customer feedback via GitHub Issue

Comments

@ldillonel
Copy link

Sample app and docker image target .NET 7, but the prerequisite states .NET 6. This produces an error during the project build and app push to docker.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@mthalman
Copy link
Member

The problem is larger than just the 6.0/7.0 difference. There are separate doc pages for each .NET version. So even before the change to make the dotnet-docker samples to be based on .NET 7 instead of .NET 6, there was a problem with the doc pages related to .NET Core 3.1. That's because the 3.1 doc page is referring to the same dotnet-docker repo and so there was a 3.1 pre-requisite on the doc page but the repo was configured to use .NET 6 in the sample projects.

I've outlined some potential solutions at dotnet/dotnet-docker#3989 (review). PTAL @Rick-Anderson

@Rick-Anderson Rick-Anderson added doc-enhancement RR Rick-Anderson needs to review this periodically and removed ⌚ Not Triaged labels Aug 18, 2022
@Rick-Anderson
Copy link
Contributor

Moved to #27141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-enhancement RR Rick-Anderson needs to review this periodically Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
None yet
Development

No branches or pull requests

4 participants