dotnet / dotnet/docs

Document CS8032

Open
#26,267 2 comments 0 reactions 0 assignees View on GitHub
dotnet-csharp/svc errors-warnings/subsvc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

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](https://user-images.githubusercontent.com/31348972/134800492-8157847f-1147-49f1-9067-9dc1de062547.png)

![image](https://user-images.githubusercontent.com/31348972/134800505-23a0d317-0f47-474a-9af7-a329f1c17099.png)

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.*

* ID: fc586192-534e-0108-d265-c4f2f6947c57
* Version Independent ID: 4d39f536-5d78-335b-3525-d4b581c28fdc
* Content: [C# Compiler messages](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/)
* Content Source: [docs/csharp/language-reference/compiler-messages/index.md](https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/compiler-messages/index.md)
* Product: **dotnet-csharp**
* Technology: **csharp-diagnostics**
* GitHub Login: @BillWagner
* Microsoft Alias: **wiwagn**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.