Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
734f269
update xref instructions with encoding info (#52613)
gewarren Mar 25, 2026
c946a5e
Add fundamental types articles (#52608)
BillWagner Mar 25, 2026
4b5079f
Add diagnostics for `Main` and top level statements (#52598)
BillWagner Mar 25, 2026
01cd7c1
Bump the dotnet group with 2 updates (#52633)
dependabot[bot] Mar 25, 2026
d6eb21e
Bump the dotnet group with 3 updates (#52639)
dependabot[bot] Mar 25, 2026
b042f51
Bump the dotnet group with 1 update (#52629)
dependabot[bot] Mar 25, 2026
af7915f
Bump the dotnet group with 1 update (#52670)
dependabot[bot] Mar 25, 2026
b91072c
Bump the dotnet group with 1 update (#52630)
dependabot[bot] Mar 25, 2026
e34938d
Bump the dotnet group with 2 updates (#52675)
dependabot[bot] Mar 25, 2026
7f45865
Bump the dotnet group with 1 update (#52672)
dependabot[bot] Mar 25, 2026
0f1cbda
Bump the dotnet group with 4 updates (#52659)
dependabot[bot] Mar 25, 2026
047ca5d
Bump the dotnet group with 2 updates (#52663)
dependabot[bot] Mar 25, 2026
ea99542
Bump the dotnet group with 4 updates (#52661)
dependabot[bot] Mar 25, 2026
d3c6a21
Bump the dotnet group with 1 update (#52673)
dependabot[bot] Mar 25, 2026
acd3fdc
Bump the dotnet group with 2 updates (#52665)
dependabot[bot] Mar 25, 2026
7a8b30f
Bump the dotnet group with 2 updates (#52677)
dependabot[bot] Mar 25, 2026
ec3d329
Bump the dotnet group with 1 update (#52671)
dependabot[bot] Mar 25, 2026
1f08836
Bump the dotnet group with 2 updates (#52668)
dependabot[bot] Mar 25, 2026
686d3b7
Bump the dotnet group with 2 updates (#52667)
dependabot[bot] Mar 25, 2026
4183415
Bump the dotnet group with 2 updates (#52664)
dependabot[bot] Mar 25, 2026
3a418bf
Bump the dotnet group with 1 update (#52631)
dependabot[bot] Mar 25, 2026
b67c088
Remove asterisk from property xrefs (#52615)
gewarren Mar 25, 2026
7a0b1f1
Update code-quality-rule-options links from archived roslyn-analyzers…
Copilot Mar 25, 2026
1919b34
Bump the dotnet group with 1 update (#52623)
dependabot[bot] Mar 25, 2026
f2282bf
Update package index with latest published versions (#52681)
azure-sdk Mar 25, 2026
a0570cd
Bump the dotnet group with 5 updates (#52678)
dependabot[bot] Mar 25, 2026
3aac3d9
Fix typo in custom .NET host tutorial (#52684)
23f2002814 Mar 25, 2026
8ad594b
Remove deprecated code-analyzers article, redirect to FxCop migration…
Copilot Mar 25, 2026
baf5b21
Clean up the TOC node (#52689)
BillWagner Mar 25, 2026
ca598c8
docs(csharp): correct Point extension methods to mutate via ref (#52618)
seyeon923 Mar 26, 2026
d54a71f
Add additional operator errors (#52686)
BillWagner Mar 26, 2026
b2cc7e9
Remove asterisks from property xrefs - /standard and /framework folde…
gewarren Mar 26, 2026
4560c34
Port MEVD docs: expanded conceptual article, new how-to guide, and wo…
Copilot Mar 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,18 @@ Unless otherwise specified, all .NET content refers to modern .NET (not .NET Fra
Use cross-references: `<xref:api-doc-ID>`.

To find API doc IDs:

1. Check XML files in https://github.com/dotnet/dotnet-api-docs.
2. For types: `Value` attribute of `<TypeSignature>` where `Language="DocId"` (omit first 2 characters).
3. For members: `Value` attribute of `<MemberSignature>` where `Language="DocId"` (omit first 2 characters).

If unsure, use API browser: `https://learn.microsoft.com/api/apibrowser/dotnet/search?api-version=0.2&locale=en-us&search={API_NAME}&$skip=0&$top=5` and then use the `url` value from the results as a manual link.

**Encoding**:

1. Encode `#` as `%23` in API doc IDs. For example, `System.String.#ctor` becomes `System.String.%23ctor`.
2. **DO NOT** encode `*` or \` (backtick) characters as `%2A` or `%60` respectively.

## Code Snippets

For snippets >6 lines:
Expand Down
4 changes: 2 additions & 2 deletions .github/prompts/error-consolidation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Overall steps:

We're going to work through a series of files consolidating errors and warnings.

- For the duration of this chat, all references to "destination file" refer to `string-interpolations.md`.
- For the duration of this chat, all references to "the target theme" refer to errors and warnings related to string interpolations, and string interpolation handlers.
- For the duration of this chat, all references to "destination file" refer to `docs/csharp/language-reference/compiler-messages/overloaded-operator-errors.md`.
- For the duration of this chat, all references to "the target theme" refer to errors and warnings related to overflow, underflow, and checked and unchecked operators.

The destination file already contains a skeleton for the final output.

Expand Down
2 changes: 1 addition & 1 deletion .github/prompts/whats-new-net.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ In addition, follow these recommendations:
- For the runtime and libraries articles, include extensive examples as well as links to recently updated articles related to the new feature. The examples should be at least as thorough as the examples from the source release notes.
- Where applicable, the SDK article should include the samples.
- The overview article generally doesn't include examples. Its purpose is to direct readers to more detailed information in other articles.
- All APIs should be referenced using an `xref` style link, at least on first mention. Later mentions should be code-fenced in single back-ticks.
- All APIs should be referenced using an `xref` style link as described in the `.github/copilot-instructions.md` file, at least on first mention. Later mentions should be code-fenced in single back-ticks.
- All links to article in the `dotnet/docs` repository should be file relative.
- Spell out acronyms on first use in each file.
- Avoid gerund form in headings.
Expand Down
15 changes: 15 additions & 0 deletions .openpublishing.redirection.ai.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
"redirect_url": "/dotnet/ai/conceptual/ai-tools",
"redirect_document_id": true
},
{
"source_path_from_root": "/docs/ai/conceptual/vector-databases.md",
"redirect_url": "/dotnet/ai/vector-stores/overview",
"redirect_document_id": true
},
{
"source_path_from_root": "/docs/ai/get-started/dotnet-ai-overview.md",
"redirect_url": "/dotnet/ai/overview",
Expand All @@ -40,6 +45,11 @@
"source_path_from_root": "/docs/ai/how-to/work-with-local-models.md",
"redirect_url": "/dotnet/ai"
},
{
"source_path_from_root": "/docs/ai/quickstarts/build-vector-search-app.md",
"redirect_url": "/dotnet/ai/vector-stores/how-to/build-vector-search-app",
"redirect_document_id": true
},
{
"source_path_from_root": "/docs/ai/quickstarts/evaluate-ai-response.md",
"redirect_url": "/dotnet/ai/evaluation/evaluate-ai-response",
Expand Down Expand Up @@ -98,6 +108,11 @@
"source_path_from_root": "/docs/ai/tutorials/evaluate-with-reporting.md",
"redirect_url": "/dotnet/ai/evaluation/evaluate-with-reporting",
"redirect_document_id": true
},
{
"source_path_from_root": "/docs/ai/tutorials/tutorial-ai-vector-search.md",
"redirect_url": "/dotnet/ai/vector-stores/tutorial-vector-search",
"redirect_document_id": true
}
]
}
84 changes: 84 additions & 0 deletions .openpublishing.redirection.csharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,50 @@
"source_path_from_root": "/docs/csharp/fundamentals/types/namespaces.md",
"redirect_url": "/dotnet/csharp/fundamentals/program-structure/namespaces"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0017.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0028.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0031.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/overloaded-operator-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0220.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/overloaded-operator-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0221.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/overloaded-operator-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0463.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/overloaded-operator-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0543.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/overloaded-operator-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0594.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/overloaded-operator-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0652.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/overloaded-operator-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0659.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/overloaded-operator-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs1021.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/overloaded-operator-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0080.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors"
Expand Down Expand Up @@ -48,6 +92,10 @@
"source_path_from_root": "/docs/csharp/misc/cs0401.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0402.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs0403.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors"
Expand Down Expand Up @@ -132,6 +180,34 @@
"source_path_from_root": "/docs/csharp/misc/cs1022.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/using-directive-errors#cs1022"
},
{
"source_path_from_root": "/docs/csharp/misc/cs1555.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs1556.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs1557.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs1558.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs1559.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs2017.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/misc/cs5001.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/language-reference/compiler-messages/cs0304.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors"
Expand Down Expand Up @@ -867,6 +943,14 @@
"source_path_from_root": "/docs/csharp/language-reference/compiler-messages/cs8795.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/partial-types"
},
{
"source_path_from_root": "/docs/csharp/language-reference/compiler-messages/cs8802.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/language-reference/compiler-messages/cs8803.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/entry-point-errors"
},
{
"source_path_from_root": "/docs/csharp/language-reference/compiler-messages/cs8812.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/unsafe-code-errors"
Expand Down
Loading
Loading