AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

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

Open ldillonel opened this issue 3 years ago • 1 comments

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.

ldillonel avatar Aug 18 '22 12:08 ldillonel

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 https://github.com/dotnet/dotnet-docker/pull/3989#pullrequestreview-1077365611. PTAL @Rick-Anderson

mthalman avatar Aug 18 '22 17:08 mthalman

Moved to #27141

Rick-Anderson avatar Sep 30 '22 01:09 Rick-Anderson