docs
docs copied to clipboard
This repository contains .NET Documentation.
### Type of issue Code doesn't work ### Description `CancellationToken` is not a property on `TestContext`. It instead is `CancellationTokenSource`. ### Page URL https://learn.microsoft.com/en-us/dotnet/core/testing/mstest-analyzers/mstest0049 ### Content source URL https://github.com/dotnet/docs/blob/main/docs/core/testing/mstest-analyzers/mstest0049.md ###...
### Type of issue Missing information ### Description According to [this article](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish), the `-r` argument in `dotnet publish`: > Publishes the application for a given runtime. For a list of...
### Type of issue Missing information ### Description All the examples show methods, not properties. Add two examples for properties: one non-generic and one generic property. ### Page URL https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/extension...
### Type of issue Code doesn't work ### Description The example code for tab-completion calls `.Parse(args).Invoke()` on a `Command`. This results in the result of `SetAction` to become the completion...
## Summary The `dotnet tool exec` documentation was missing the `--source` CLI option that appears in `dotnet tool exec --help` output. The `--configfile` option mentioned in the issue was already...
## Summary The deserialization examples showed JSON being deserialized into complex objects with collections and nested types, but only printed top-level properties. This left users uncertain whether child collections (`IList`,...
### Type of issue Other (describe below) ### Description The examples show how to serialize a complex object, but they do not show how to deserialize it. They only show...
### Summary Fixed the tab-completion example in `how-to-enable-tab-completion.md` by updating the sample code to use `RootCommand` instead of `Command`. ### Changes - Wrapped the command in a `RootCommand`. - Updated...
### Proposed topic or title File-based apps ### Location in table of contents. https://learn.microsoft.com/en-us/dotnet/core/sdk ### Reason for the article File-based apps are a new feature in .NET 10 and we...
## Summary `libatomic1` is a dependency that is explicitly installed in the [sdk docker image](https://github.com/dotnet/dotnet-docker/blob/efe021ac7b969ae2dd72a58646c784752b681e0f/src/sdk/10.0/noble/amd64/Dockerfile#L41), but is not specified as a dependency in the documentation, leading to unexpected behavior for...