diff --git a/docs/core/deploying/native-aot/warnings/il3058.md b/docs/core/deploying/native-aot/warnings/il3058.md index 66cdac096341b..c9d5fbe444051 100644 --- a/docs/core/deploying/native-aot/warnings/il3058.md +++ b/docs/core/deploying/native-aot/warnings/il3058.md @@ -41,7 +41,7 @@ public class Program } ``` -``` +```output warning IL3058: Referenced assembly 'MyLibrary' is not built with `true` and may not be compatible with AOT. ``` @@ -49,8 +49,8 @@ warning IL3058: Referenced assembly 'MyLibrary' is not built with `true`. This is the preferred approach if you control the library source code. The `IsAotCompatible` property marks the assembly as compatible with Native AOT and enables AOT-specific analysis. -- **Disable the verification** by setting `false` in your project file if you're confident that the library works correctly with Native AOT even without the attribute. +- If you control the library source code, **update the referenced library** to be built with `true`. The `IsAotCompatible` property marks the assembly as compatible with Native AOT and enables AOT-specific analysis. This is the preferred approach. +- If you're confident that the library works correctly with Native AOT even without the attribute, **disable the verification** by setting `false` in your project file. ## See also diff --git a/docs/core/deploying/trimming/trim-warnings/il2125.md b/docs/core/deploying/trimming/trim-warnings/il2125.md index c87ab6349c2eb..047ce2f3c3174 100644 --- a/docs/core/deploying/trimming/trim-warnings/il2125.md +++ b/docs/core/deploying/trimming/trim-warnings/il2125.md @@ -41,7 +41,7 @@ public class Program } ``` -``` +```output warning IL2125: Referenced assembly 'MyLibrary' is not built with `true` and may not be compatible with trimming. ``` @@ -49,8 +49,8 @@ warning IL2125: Referenced assembly 'MyLibrary' is not built with ` You have several options to fix this warning: -- **Update the referenced library** to be built with `true`. This is the preferred approach if you control the library source code. For guidance on making libraries trim-compatible, see [Prepare .NET libraries for trimming](../prepare-libraries-for-trimming.md). -- **Disable the verification** by setting `false` in your project file if you're confident that the library works correctly with trimming even without the attribute. +- If you control the library source code, **update the referenced library** to be built with `true`. For guidance on making libraries trim-compatible, see [Prepare .NET libraries for trimming](../prepare-libraries-for-trimming.md). This is the preferred approach. +- If you're confident that the library works correctly with trimming even without the attribute, **disable the verification** by setting `false` in your project file. ## See also diff --git a/docs/core/project-sdk/msbuild-props.md b/docs/core/project-sdk/msbuild-props.md index 3e6c2da7daa83..372e858f10ebd 100644 --- a/docs/core/project-sdk/msbuild-props.md +++ b/docs/core/project-sdk/msbuild-props.md @@ -880,7 +880,7 @@ Use the `DefaultItemExcludes` property to define glob patterns for files and fol ``` > [!NOTE] -> The `DefaultItemExcludes` property excludes files and folders from being watched by `dotnet watch`. For more information, see [Ignore specified folders and files from `dotnet watch`](/dotnet/core/tools/dotnet-watch#ignore-specified-files-and-folders). +> The `DefaultItemExcludes` property excludes files and folders from being watched by `dotnet watch`. For more information, see [Ignore specified folders and files from `dotnet watch`](../tools/dotnet-watch.md#ignore-specified-files-and-folders). ### DefaultItemExcludesInProjectFolder diff --git a/docs/core/testing/media/create-unit-test-window.png b/docs/core/testing/media/create-unit-test-window.png deleted file mode 100644 index b69b1dfd51d61..0000000000000 Binary files a/docs/core/testing/media/create-unit-test-window.png and /dev/null differ diff --git a/docs/core/testing/media/create-unit-test.png b/docs/core/testing/media/create-unit-test.png deleted file mode 100644 index 2f8700eab0410..0000000000000 Binary files a/docs/core/testing/media/create-unit-test.png and /dev/null differ diff --git a/docs/core/testing/media/test-copilot-prompt.png b/docs/core/testing/media/test-copilot-prompt.png deleted file mode 100644 index a1799f73a2634..0000000000000 Binary files a/docs/core/testing/media/test-copilot-prompt.png and /dev/null differ diff --git a/docs/core/testing/media/test-copilot-result.png b/docs/core/testing/media/test-copilot-result.png deleted file mode 100644 index e1ce26b17dbe2..0000000000000 Binary files a/docs/core/testing/media/test-copilot-result.png and /dev/null differ diff --git a/docs/core/testing/media/test-mehod-stub.png b/docs/core/testing/media/test-mehod-stub.png deleted file mode 100644 index a696b28f18db5..0000000000000 Binary files a/docs/core/testing/media/test-mehod-stub.png and /dev/null differ diff --git a/docs/core/tools/includes/cli-arguments-project-solution-file.md b/docs/core/tools/includes/cli-arguments-project-solution-file.md index 74d417e64a9ea..e484702aaab04 100644 --- a/docs/core/tools/includes/cli-arguments-project-solution-file.md +++ b/docs/core/tools/includes/cli-arguments-project-solution-file.md @@ -11,4 +11,4 @@ The project or solution or C# (file-based app) file to operate on. If a file isn - `SOLUTION` is the path and filename of a solution file (*.sln* or *.slnx* extension), or the path to a directory that contains a solution file. -- `FILE` is an argument added in .NET 10. The path and filename of a file-based app. File-based apps are contained within a single file that is built and run without a corresponding project (*.csproj*) file. For more information, see [Build file-based C# apps](/dotnet/csharp/fundamentals/tutorials/file-based-programs). +- `FILE` is an argument added in .NET 10. The path and filename of a file-based app. File-based apps are contained within a single file that is built and run without a corresponding project (*.csproj*) file. For more information, see [Build file-based C# apps](../../../csharp/fundamentals/tutorials/file-based-programs.md). diff --git a/docs/csharp/language-reference/toc.yml b/docs/csharp/language-reference/toc.yml index 9dfd5c6218aaa..fb1678d423de9 100644 --- a/docs/csharp/language-reference/toc.yml +++ b/docs/csharp/language-reference/toc.yml @@ -922,7 +922,7 @@ items: - name: CS0198 href: ../misc/cs0198.md - name: CS0200 - href: ../misc/cs0200.md + href: ./compiler-messages/property-declaration-errors.md - name: CS0201 href: ./compiler-messages/cs0201.md - name: CS0202 @@ -1108,7 +1108,7 @@ items: - name: CS0544 href: ../misc/cs0544.md - name: CS0545 - href: ./compiler-messages/cs0545.md + href: ./compiler-messages/property-declaration-errors.md - name: CS0546 href: ../misc/cs0546.md - name: CS0547 @@ -1124,7 +1124,7 @@ items: - name: CS0570 href: ./compiler-messages/cs0570.md - name: CS0571 - href: ./compiler-messages/cs0571.md + href: ./compiler-messages/property-declaration-errors.md - name: CS0572 href: ../misc/cs0572.md - name: CS0573 @@ -1314,7 +1314,7 @@ items: - name: CS0837 href: ../misc/cs0837.md - name: CS0840 - href: ./compiler-messages/cs0840.md + href: ./compiler-messages/property-declaration-errors.md - name: CS0841 href: ../misc/cs0841.md - name: CS0842 @@ -1336,7 +1336,7 @@ items: - name: CS1013 href: ../misc/cs1013.md - name: CS1014 - href: ../misc/cs1014.md + href: ./compiler-messages/property-declaration-errors.md - name: CS1015 href: ../misc/cs1015.md - name: CS1017 @@ -1364,7 +1364,7 @@ items: - name: CS1041 href: ../misc/cs1041.md - name: CS1043 - href: ../misc/cs1043.md + href: ./compiler-messages/property-declaration-errors.md - name: CS1044 href: ../misc/cs1044.md - name: CS1055 @@ -1752,7 +1752,7 @@ items: - name: CS8141 href: ./compiler-messages/cs8141.md - name: CS8145 - href: ./compiler-messages/cs8145.md + href: ./compiler-messages/property-declaration-errors.md - name: CS8146 href: ./compiler-messages/cs8146.md - name: CS8147 @@ -1824,7 +1824,7 @@ items: - name: CS8515 href: ./compiler-messages/cs8515.md - name: CS9036 - href: ./compiler-messages/cs9036.md + href: ./compiler-messages/property-declaration-errors.md - name: CS9043 href: ./compiler-messages/cs9043.md - name: Level 1 warning messages diff --git a/docs/csharp/programming-guide/types/media/index/value-reference-types-common-type-system.png b/docs/csharp/programming-guide/types/media/index/value-reference-types-common-type-system.png deleted file mode 100644 index 17fa182b5b880..0000000000000 Binary files a/docs/csharp/programming-guide/types/media/index/value-reference-types-common-type-system.png and /dev/null differ diff --git a/docs/fundamentals/syslib-diagnostics/obsoletions-overview.md b/docs/fundamentals/syslib-diagnostics/obsoletions-overview.md index aa8be162264b2..e51ade0be5a79 100644 --- a/docs/fundamentals/syslib-diagnostics/obsoletions-overview.md +++ b/docs/fundamentals/syslib-diagnostics/obsoletions-overview.md @@ -95,6 +95,7 @@ The following table lists the `EXTOBS0XXX` obsoletions from the `Microsoft.Exten | Diagnostic ID | Warning or error | Description | |---------------|------------------|-------------| | [EXTOBS0001](extobs0001.md) | Warning | is obsolete and will be removed in a future version. Consider using [Resource Monitoring observable instruments](../../core/diagnostics/built-in-metrics-diagnostics.md#microsoftextensionsdiagnosticsresourcemonitoring). | +| [EXTOBS0002](extobs0002.md) | Warning | The `AddServiceLogEnricher` extension methods have been marked as obsolete starting in package version 10.1.0. The methods enrich application logs, not service logs, so they have been replaced with correctly named `AddApplicationLogEnricher` methods. | ## Suppress warnings diff --git a/docs/navigate/devops-testing/toc.yml b/docs/navigate/devops-testing/toc.yml index c32bcee014f3e..248043b574372 100644 --- a/docs/navigate/devops-testing/toc.yml +++ b/docs/navigate/devops-testing/toc.yml @@ -567,6 +567,8 @@ items: href: ../../core/deploying/trimming/trim-warnings/il2122.md - name: IL2123 href: ../../core/deploying/trimming/trim-warnings/il2123.md + - name: IL2125 + href: ../../core/deploying/trimming/trim-warnings/il2125.md - name: Native AOT deployment model items: - name: Overview @@ -605,6 +607,8 @@ items: href: ../../core/deploying/native-aot/warnings/il3056.md - name: IL3057 href: ../../core/deploying/native-aot/warnings/il3057.md + - name: IL3058 + href: ../../core/deploying/native-aot/warnings/il3058.md - name: iOS-like platforms items: - name: Overview diff --git a/docs/navigate/tools-diagnostics/toc.yml b/docs/navigate/tools-diagnostics/toc.yml index ae5a32092278e..f1e21b9ebbdba 100644 --- a/docs/navigate/tools-diagnostics/toc.yml +++ b/docs/navigate/tools-diagnostics/toc.yml @@ -4181,6 +4181,8 @@ items: items: - name: EXTOBS0001 href: ../../fundamentals/syslib-diagnostics/extobs0001.md + - name: EXTOBS0002 + href: ../../fundamentals/syslib-diagnostics/extobs0002.md - name: API compatibility items: - name: Overview