Examples have non-recommend value
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- csharp
- Domain
- documentation
Research direction
Start with docs/csharp/language-reference/configure-language-version.md and inspect the examples alongside the guidance about latest and preview values. Update examples that use preview when the article does not recommend it, then verify the examples consistently match the surrounding recommendation.
Written by the indexing model from the issue text.
Description
Type of issue
Other (describe below)
Description
<LangVersion> examples should not be set to preview when it's not recommended to use latests or preview.
Don't set the LangVersion element to latest. The latest setting means the installed compiler uses its latest version. The value of latest can change from machine to machine, making builds unreliable. In addition, it enables language features that might require runtime or library features not included in the current SDK.
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version
Content source URL
Document Version Independent Id
3f01c378-22e4-197c-a862-ab4a924506c7
Platform Id
cdf11e08-8e9a-84aa-affe-8a392bed026a
Article author
@BillWagner
Metadata
- ID: 5694e62b-c756-1f62-4014-2ceafa54c011
- PlatformId: cdf11e08-8e9a-84aa-affe-8a392bed026a
- Service: dotnet-csharp
- Sub-service: lang-reference
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 14h 40m
- Merged PRs (30d)
- 302
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/docs
-
:watch: Not Triaged dotnet-target-version
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
:watch: Not Triaged dotnet-fundamentals/svc
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
:watch: Not Triaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dotnet/docs#56285 · 1 comment ·
Maintainers usually reply within 1 day
-
Add more to the documentationPossibly taken @adarsh6980 claimed this 11 days ago. Opendotnet-fsharp/svc help wanted
Difficulty 1/5 Under an hour Newbie friendliness 90/100
dotnet/docs#56209 · 2 comments ·
Maintainers usually reply within 1 day
-
:watch: Not Triaged
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
pyca/verified-garbage#1023 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
quickemu-project/quickemu#1960 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
area/docs
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day