dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.25k stars 5.89k forks source link

Document CS8032 #26267

Open Youssef1313 opened 3 years ago

Youssef1313 commented 3 years ago

This specific warning should be a high priority IMO. It's being reported a lot, and usually unclear to the developer to figure out why it happens.

image

image

The most common reason for the warning is using a Visual Studio version that doesn't support a given CodeAnalysis package version.

CodeAnalysis version 3.x requires VS 2019 16.x (e.g, 3.11 requires 16.11) CodeAnalysis version 4.x requires VS 2022 17.x

This should be linked from the analyzer tutorial to warn analyzer authors that upgrading their CodeAnalysis packages will require consumers to upgrade VS.


Document Details

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

Youssef1313 commented 3 years ago

This is still being reported repeatedly and needs attention.

CodeAnalysis version 3.x requires VS 2019 16.x (e.g, 3.11 requires 16.11) CodeAnalysis version 4.x requires VS 2022 17.x

We need mapping like this but for command-line builds.

BillWagner commented 2 years ago

Related to #24002