[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D0GKBKJZ2RX7KC80G7XBF1":3,"skill-same:01M7D0GKBKJZ2RX7KC80G7XBF1":87},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7D0GKBKJZ2RX7KC80G7XBF1","migrate-dotnet8-to-dotnet9",null,"Migrate a .NET 8 project to .NET 9 and resolve all breaking changes. USE FOR: upgrading TargetFramework from net8.0 to net9.0, fixing build errors after updating the .NET 9 SDK, resolving behavioral changes in .NET 9 \u002F C# 13 \u002F ASP.NET Core 9 \u002F EF Core 9, replacing BinaryFormatter (now always throws), resolving SYSLIB0054-SYSLIB0057, adapting to params span overload resolution, fixing C# 13 compiler changes, updating HttpClientFactory for SocketsHttpHandler, and resolving EF Core 9 migration\u002FCosmos DB changes. DO NOT USE FOR: .NET Framework migrations, upgrading from .NET 7 or earlier, greenfield .NET 9 projects, or cosmetic modernization unrelated to the upgrade.","itsmejay18\u002FAI-Skills-for-My-Development-Stack","itsmejay18","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F167779943?v=4","01M7CZRFC6DDZA5V2CX8WDSZED","Jay Jemino Ababon ","01M7CZRFCVRNW1SFHSQXEJ3CQN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: migrate-dotnet8-to-dotnet9\ndescription: >\n  Migrate a .NET 8 project to .NET 9 and resolve all breaking changes.\n  USE FOR: upgrading TargetFramework from net8.0 to net9.0, fixing build errors\n  after updating the .NET 9 SDK, resolving behavioral changes in .NET 9 \u002F C# 13 \u002F\n  ASP.NET Core 9 \u002F EF Core 9, replacing BinaryFormatter (now always throws),\n  resolving SYSLIB0054-SYSLIB0057, adapting to params span overload resolution,\n  fixing C# 13 compiler changes, updating HttpClientFactory for SocketsHttpHandler,\n  and resolving EF Core 9 migration\u002FCosmos DB changes.\n  DO NOT USE FOR: .NET Framework migrations, upgrading from .NET 7 or earlier,\n  greenfield .NET 9 projects, or cosmetic modernization unrelated to the upgrade.\nlicense: MIT\n---\n\n# .NET 8 → .NET 9 Migration\n\nMigrate a .NET 8 project or solution to .NET 9, systematically resolving all breaking changes. The outcome is a project targeting `net9.0` that builds cleanly, passes tests, and accounts for every behavioral, source-incompatible, and binary-incompatible change introduced in the .NET 9 release.\n\n## When to Use\n\n- Upgrading `TargetFramework` from `net8.0` to `net9.0`\n- Resolving build errors or new warnings after updating the .NET 9 SDK\n- Adapting to behavioral changes in .NET 9 runtime, ASP.NET Core 9, or EF Core 9\n- Replacing `BinaryFormatter` usage (now always throws at runtime)\n- Updating CI\u002FCD pipelines, Dockerfiles, or deployment scripts for .NET 9\n\n## When Not to Use\n\n- The project already targets `net9.0` and builds cleanly — migration is done. If the goal is to reach `net10.0`, use the `migrate-dotnet9-to-dotnet10` skill as the next step.\n- Upgrading from .NET 7 or earlier — address the prior version breaking changes first\n- Migrating from .NET Framework — that is a separate, larger effort\n- Greenfield projects that start on .NET 9 (no migration needed)\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Project or solution path | Yes | The `.csproj`, `.sln`, or `.slnx` entry point to migrate |\n| Build command | No | How to build (e.g., `dotnet build`, a repo build script). Auto-detect if not provided |\n| Test command | No | How to run tests (e.g., `dotnet test`). Auto-detect if not provided |\n| Project type hints | No | Whether the project uses ASP.NET Core, EF Core, WinForms, WPF, containers, etc. Auto-detect from PackageReferences and SDK attributes if not provided |\n\n## Workflow\n\n> **Answer directly from the loaded reference documents.** Do not search the filesystem or fetch web pages for breaking change information — the references contain the authoritative details. Focus on identifying which breaking changes apply and providing concrete fixes.\n>\n> **Commit strategy:** Commit at each logical boundary — after updating the TFM (Step 2), after resolving build errors (Step 3), after addressing behavioral changes (Step 4), and after updating infrastructure (Step 5). This keeps each commit focused and reviewable.\n\n### Step 1: Assess the project\n\n1. Identify how the project is built and tested. Look for build scripts, `.sln`\u002F`.slnx` files, or individual `.csproj` files.\n2. Run `dotnet --version` to confirm the .NET 9 SDK is installed. If it is not, stop and inform the user.\n3. Determine which technology areas the project uses by examining:\n   - **SDK attribute**: `Microsoft.NET.Sdk.Web` → ASP.NET Core; `Microsoft.NET.Sdk.WindowsDesktop` with `\u003CUseWPF>` or `\u003CUseWindowsForms>` → WPF\u002FWinForms\n   - **PackageReferences**: `Microsoft.EntityFrameworkCore.*` → EF Core; `Microsoft.Extensions.Http` → HttpClientFactory\n   - **Dockerfile presence** → Container changes relevant\n   - **P\u002FInvoke or native interop usage** → Interop changes relevant\n   - **`BinaryFormatter` usage** → Serialization migration needed\n   - **`System.Text.Json` usage** → Serialization changes relevant\n   - **X509Certificate constructors** → Cryptography changes relevant\n4. Record which reference documents are relevant (see the reference loading table in Step 3).\n5. Do a **clean build** (`dotnet build --no-incremental` or delete `bin`\u002F`obj`) on the current `net8.0` target to establish a clean baseline. Record any pre-existing warnings.\n\n### Step 2: Update the Target Framework\n\n1. In each `.csproj` (or `Directory.Build.props` if centralized), change:\n   ```xml\n   \u003CTargetFramework>net8.0\u003C\u002FTargetFramework>\n   ```\n   to:\n   ```xml\n   \u003CTargetFramework>net9.0\u003C\u002FTargetFramework>\n   ```\n   For multi-targeted projects, add `net9.0` to `\u003CTargetFrameworks>` or replace `net8.0`.\n\n2. Update all `Microsoft.Extensions.*`, `Microsoft.AspNetCore.*`, `Microsoft.EntityFrameworkCore.*`, and other Microsoft package references to their 9.0.x versions. If using Central Package Management (`Directory.Packages.props`), update versions there.\n\n3. Run `dotnet restore`. Watch for:\n   - **Version requirements**: .NET 9 SDK requires Visual Studio 17.12+ to target `net9.0` (17.11 for `net8.0` and earlier).\n   - **New warnings for .NET Standard 1.x** and **.NET 7 targets** — consider updating or removing outdated target frameworks.\n\n4. Run a clean build. Collect all errors and new warnings. These will be addressed in Step 3.\n\n### Step 3: Resolve build errors and source-incompatible changes\n\nWork through compilation errors and new warnings systematically. Load the appropriate reference documents based on the project type:\n\n| If the project uses… | Load reference |\n|-----------------------|----------------|\n| Any .NET 9 project | `references\u002Fcsharp-compiler-dotnet8to9.md` |\n| Any .NET 9 project | `references\u002Fcore-libraries-dotnet8to9.md` |\n| Any .NET 9 project | `references\u002Fsdk-msbuild-dotnet8to9.md` |\n| ASP.NET Core | `references\u002Faspnet-core-dotnet8to9.md` |\n| Entity Framework Core | `references\u002Fefcore-dotnet8to9.md` |\n| Cryptography APIs | `references\u002Fcryptography-dotnet8to9.md` |\n| System.Text.Json, HttpClient, networking | `references\u002Fserialization-networking-dotnet8to9.md` |\n| Windows Forms or WPF | `references\u002Fwinforms-wpf-dotnet8to9.md` |\n| Docker containers, native interop | `references\u002Fcontainers-interop-dotnet8to9.md` |\n| Runtime configuration, deployment | `references\u002Fdeployment-runtime-dotnet8to9.md` |\n\n**Common source-incompatible changes to check for:**\n\n1. **`params` span overload resolution** — New `params ReadOnlySpan\u003CT>` overloads on `String.Join`, `String.Concat`, `Path.Combine`, `Task.WhenAll`, and many more now bind preferentially. Code calling these methods inside `Expression` lambdas will fail (CS8640\u002FCS9226). See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n2. **`StringValues` ambiguous overload** — The `params Span\u003CT>` feature creates ambiguity with `StringValues` implicit operators on methods like `String.Concat`, `String.Join`, `Path.Combine`. Fix by explicitly casting arguments. See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n3. **New obsoletion warnings (SYSLIB0054–SYSLIB0057)**:\n   - `SYSLIB0054`: Replace `Thread.VolatileRead`\u002F`VolatileWrite` with `Volatile.Read`\u002F`Volatile.Write`\n   - `SYSLIB0057`: Replace `X509Certificate2`\u002F`X509Certificate` binary\u002Ffile constructors with `X509CertificateLoader` methods\n   - Also `SYSLIB0055` (ARM AdvSimd signed overloads) and `SYSLIB0056` (Assembly.LoadFrom with hash algorithm) — see `references\u002Fcore-libraries-dotnet8to9.md`\n\n4. **C# 13 `InlineArray` on record structs** — `[InlineArray]` attribute on `record struct` types is now disallowed (CS9259). Change to a regular `struct`. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n5. **C# 13 iterator safe context** — Iterators now introduce a safe context in C# 13. Local functions inside iterators that used unsafe code inherited from an outer `unsafe` class will now error. Add `unsafe` modifier to the local function. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n6. **C# 13 collection expression overload resolution** — Empty collection expressions (`[]`) no longer use span vs non-span to tiebreak overloads. Exact element type is now preferred. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n7. **`String.Trim(params ReadOnlySpan\u003Cchar>)` removed** — Code compiled against .NET 9 previews that passes `ReadOnlySpan\u003Cchar>` to `Trim`\u002F`TrimStart`\u002F`TrimEnd` must rebuild; the overload was removed in GA. See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n8. **`BinaryFormatter` always throws** — If the project uses `BinaryFormatter`, **stop and inform the user** — this is a major decision. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n9. **`HttpListenerRequest.UserAgent` is nullable** — The property is now `string?`. Add null checks. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n10. **Windows Forms nullability annotation changes** — Some WinForms API parameters changed from nullable to non-nullable. Update call sites. See `references\u002Fwinforms-wpf-dotnet8to9.md`.\n\n11. **Windows Forms security analyzers (WFO1000)** — New analyzers produce errors for properties without explicit serialization configuration. See `references\u002Fwinforms-wpf-dotnet8to9.md`.\n\nBuild again after each batch of fixes. Repeat until the build is clean.\n\n### Step 4: Address behavioral changes\n\nBehavioral changes do not cause build errors but may change runtime behavior. Review each applicable item and determine whether the previous behavior was relied upon.\n\n**High-impact behavioral changes (check first):**\n\n1. **Floating-point to integer conversions are now saturating** — Conversions from `float`\u002F`double` to integer types now saturate instead of wrapping on x86\u002Fx64. See `references\u002Fdeployment-runtime-dotnet8to9.md`.\n\n2. **EF Core: Pending model changes exception** — `Migrate()`\u002F`MigrateAsync()` now throws if the model has pending changes. **Search for `DateTime.Now`, `DateTime.UtcNow`, or `Guid.NewGuid()` in any `HasData` call — these must be replaced with fixed constants** (e.g., `new DateTime(2024, 1, 1, 0, 0, 0, DateTimeKind.Utc)`). See `references\u002Fefcore-dotnet8to9.md`.\n\n3. **EF Core: Explicit transaction exception** — `Migrate()` inside a user transaction now throws. See `references\u002Fefcore-dotnet8to9.md`.\n\n4. **HttpClientFactory uses `SocketsHttpHandler` by default** — Code that casts the primary handler to `HttpClientHandler` will get `InvalidCastException`. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n5. **HttpClientFactory header redaction by default** — All header values in `Trace`-level logs are now redacted. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n6. **Environment variables take precedence over runtimeconfig.json** — Runtime configuration settings from environment variables now override `runtimeconfig.json`. See `references\u002Fdeployment-runtime-dotnet8to9.md`.\n\n7. **ASP.NET Core `ValidateOnBuild`\u002F`ValidateScopes` in development** — `HostBuilder` now enables DI validation in development by default. See `references\u002Faspnet-core-dotnet8to9.md`.\n\n**Other behavioral changes to review (may cause runtime exceptions ⚠️ or subtle behavioral differences):**\n\n- ⚠️ `FromKeyedServicesAttribute` no longer injects non-keyed service fallback — throws `InvalidOperationException`\n- ⚠️ Container images no longer install zlib — apps depending on system zlib will fail\n- ⚠️ Intel CET is now enabled by default — non-CET-compatible native libraries may cause process termination\n- `BigInteger` now has a maximum length of `(2^31) - 1` bits\n- `JsonDocument` deserialization of JSON `null` now returns non-null `JsonDocument` with `JsonValueKind.Null` instead of C# `null`\n- `System.Text.Json` metadata reader now unescapes metadata property names\n- `ZipArchiveEntry` names\u002Fcomments now respect the UTF-8 flag\n- `IncrementingPollingCounter` initial callback is now asynchronous\n- `InMemoryDirectoryInfo` prepends rootDir to files\n- `RuntimeHelpers.GetSubArray` returns a different type\n- `PictureBox` raises `HttpRequestException` instead of `WebException`\n- `StatusStrip` uses a different default renderer\n- `IMsoComponent` support is opt-in\n- `SafeEvpPKeyHandle.DuplicateHandle` up-refs the handle\n- `HttpClient` metrics report `server.port` unconditionally\n- URI query strings redacted in HttpClient EventSource events and IHttpClientFactory logs\n- `dotnet watch` is incompatible with Hot Reload for old frameworks\n- WPF `GetXmlNamespaceMaps` returns `Hashtable` instead of `String`\n\n### Step 5: Update infrastructure\n\n1. **Dockerfiles**: Update base images. Note that .NET 9 container images no longer install zlib. If your app depends on zlib, add `RUN apt-get update && apt-get install -y zlib1g` to your Dockerfile.\n   ```dockerfile\n   # Before\n   FROM mcr.microsoft.com\u002Fdotnet\u002Fsdk:8.0 AS build\n   FROM mcr.microsoft.com\u002Fdotnet\u002Faspnet:8.0\n   # After\n   FROM mcr.microsoft.com\u002Fdotnet\u002Fsdk:9.0 AS build\n   FROM mcr.microsoft.com\u002Fdotnet\u002Faspnet:9.0\n   ```\n\n2. **CI\u002FCD pipelines**: Update SDK version references. If using `global.json`, update:\n   ```json\n   {\n     \"sdk\": {\n       \"version\": \"9.0.100\",\n       \"rollForward\": \"latestFeature\"\n     }\n   }\n   ```\n   Review the `rollForward` policy — if set to `\"disable\"` or `\"latestPatch\"`, the SDK may not resolve correctly after upgrading. `\"latestFeature\"` (recommended) allows the SDK to roll forward to the latest 9.0.x feature band.\n\n3. **Visual Studio version**: .NET 9 SDK requires VS 17.12+ to target `net9.0`. VS 17.11 can only target `net8.0` and earlier.\n\n4. **Terminal Logger**: `dotnet build` now uses Terminal Logger by default in interactive terminals. CI scripts that parse MSBuild console output may need `--tl:off` or `MSBUILDTERMINALLOGGER=off`.\n\n5. **`dotnet workload` output**: Output format has changed. Update any scripts that parse workload command output.\n\n6. **.NET Monitor images**: Tags simplified to version-only (affects container orchestration referencing specific tags).\n\n### Step 6: Verify\n\n1. Run a full clean build: `dotnet build --no-incremental`\n2. Run all tests: `dotnet test`\n3. If the application is containerized, build and test the container image\n4. Smoke-test the application, paying special attention to:\n   - BinaryFormatter usage (will throw at runtime)\n   - Floating-point to integer conversion behavior\n   - EF Core migration application\n   - HttpClientFactory handler casting and logging\n   - DI validation in development environment\n   - Runtime configuration settings (environment variable precedence)\n5. Review the diff and ensure no unintended behavioral changes were introduced\n\n## Reference Documents\n\nThe `references\u002F` folder contains detailed breaking change information organized by technology area. Load only the references relevant to the project being migrated:\n\n| Reference file | When to load |\n|----------------|-------------|\n| `references\u002Fcsharp-compiler-dotnet8to9.md` | Always (C# 13 compiler breaking changes — InlineArray on records, iterator safe context, collection expression overloads) |\n| `references\u002Fcore-libraries-dotnet8to9.md` | Always (applies to all .NET 9 projects) |\n| `references\u002Fsdk-msbuild-dotnet8to9.md` | Always (SDK and build tooling changes) |\n| `references\u002Faspnet-core-dotnet8to9.md` | Project uses ASP.NET Core |\n| `references\u002Fefcore-dotnet8to9.md` | Project uses Entity Framework Core |\n| `references\u002Fcryptography-dotnet8to9.md` | Project uses System.Security.Cryptography or X.509 certificates |\n| `references\u002Fserialization-networking-dotnet8to9.md` | Project uses BinaryFormatter, System.Text.Json, HttpClient, or networking APIs |\n| `references\u002Fwinforms-wpf-dotnet8to9.md` | Project uses Windows Forms or WPF |\n| `references\u002Fcontainers-interop-dotnet8to9.md` | Project uses Docker containers or native interop (P\u002FInvoke) |\n| `references\u002Fdeployment-runtime-dotnet8to9.md` | Project uses runtime configuration, deployment, or has floating-point to integer conversions |\n","# .NET 8 → .NET 9 Migration\n\nMigrate a .NET 8 project or solution to .NET 9, systematically resolving all breaking changes. The outcome is a project targeting `net9.0` that builds cleanly, passes tests, and accounts for every behavioral, source-incompatible, and binary-incompatible change introduced in the .NET 9 release.\n\n## When to Use\n\n- Upgrading `TargetFramework` from `net8.0` to `net9.0`\n- Resolving build errors or new warnings after updating the .NET 9 SDK\n- Adapting to behavioral changes in .NET 9 runtime, ASP.NET Core 9, or EF Core 9\n- Replacing `BinaryFormatter` usage (now always throws at runtime)\n- Updating CI\u002FCD pipelines, Dockerfiles, or deployment scripts for .NET 9\n\n## When Not to Use\n\n- The project already targets `net9.0` and builds cleanly — migration is done. If the goal is to reach `net10.0`, use the `migrate-dotnet9-to-dotnet10` skill as the next step.\n- Upgrading from .NET 7 or earlier — address the prior version breaking changes first\n- Migrating from .NET Framework — that is a separate, larger effort\n- Greenfield projects that start on .NET 9 (no migration needed)\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Project or solution path | Yes | The `.csproj`, `.sln`, or `.slnx` entry point to migrate |\n| Build command | No | How to build (e.g., `dotnet build`, a repo build script). Auto-detect if not provided |\n| Test command | No | How to run tests (e.g., `dotnet test`). Auto-detect if not provided |\n| Project type hints | No | Whether the project uses ASP.NET Core, EF Core, WinForms, WPF, containers, etc. Auto-detect from PackageReferences and SDK attributes if not provided |\n\n## Workflow\n\n> **Answer directly from the loaded reference documents.** Do not search the filesystem or fetch web pages for breaking change information — the references contain the authoritative details. Focus on identifying which breaking changes apply and providing concrete fixes.\n>\n> **Commit strategy:** Commit at each logical boundary — after updating the TFM (Step 2), after resolving build errors (Step 3), after addressing behavioral changes (Step 4), and after updating infrastructure (Step 5). This keeps each commit focused and reviewable.\n\n### Step 1: Assess the project\n\n1. Identify how the project is built and tested. Look for build scripts, `.sln`\u002F`.slnx` files, or individual `.csproj` files.\n2. Run `dotnet --version` to confirm the .NET 9 SDK is installed. If it is not, stop and inform the user.\n3. Determine which technology areas the project uses by examining:\n   - **SDK attribute**: `Microsoft.NET.Sdk.Web` → ASP.NET Core; `Microsoft.NET.Sdk.WindowsDesktop` with `\u003CUseWPF>` or `\u003CUseWindowsForms>` → WPF\u002FWinForms\n   - **PackageReferences**: `Microsoft.EntityFrameworkCore.*` → EF Core; `Microsoft.Extensions.Http` → HttpClientFactory\n   - **Dockerfile presence** → Container changes relevant\n   - **P\u002FInvoke or native interop usage** → Interop changes relevant\n   - **`BinaryFormatter` usage** → Serialization migration needed\n   - **`System.Text.Json` usage** → Serialization changes relevant\n   - **X509Certificate constructors** → Cryptography changes relevant\n4. Record which reference documents are relevant (see the reference loading table in Step 3).\n5. Do a **clean build** (`dotnet build --no-incremental` or delete `bin`\u002F`obj`) on the current `net8.0` target to establish a clean baseline. Record any pre-existing warnings.\n\n### Step 2: Update the Target Framework\n\n1. In each `.csproj` (or `Directory.Build.props` if centralized), change:\n   ```xml\n   \u003CTargetFramework>net8.0\u003C\u002FTargetFramework>\n   ```\n   to:\n   ```xml\n   \u003CTargetFramework>net9.0\u003C\u002FTargetFramework>\n   ```\n   For multi-targeted projects, add `net9.0` to `\u003CTargetFrameworks>` or replace `net8.0`.\n\n2. Update all `Microsoft.Extensions.*`, `Microsoft.AspNetCore.*`, `Microsoft.EntityFrameworkCore.*`, and other Microsoft package references to their 9.0.x versions. If using Central Package Management (`Directory.Packages.props`), update versions there.\n\n3. Run `dotnet restore`. Watch for:\n   - **Version requirements**: .NET 9 SDK requires Visual Studio 17.12+ to target `net9.0` (17.11 for `net8.0` and earlier).\n   - **New warnings for .NET Standard 1.x** and **.NET 7 targets** — consider updating or removing outdated target frameworks.\n\n4. Run a clean build. Collect all errors and new warnings. These will be addressed in Step 3.\n\n### Step 3: Resolve build errors and source-incompatible changes\n\nWork through compilation errors and new warnings systematically. Load the appropriate reference documents based on the project type:\n\n| If the project uses… | Load reference |\n|-----------------------|----------------|\n| Any .NET 9 project | `references\u002Fcsharp-compiler-dotnet8to9.md` |\n| Any .NET 9 project | `references\u002Fcore-libraries-dotnet8to9.md` |\n| Any .NET 9 project | `references\u002Fsdk-msbuild-dotnet8to9.md` |\n| ASP.NET Core | `references\u002Faspnet-core-dotnet8to9.md` |\n| Entity Framework Core | `references\u002Fefcore-dotnet8to9.md` |\n| Cryptography APIs | `references\u002Fcryptography-dotnet8to9.md` |\n| System.Text.Json, HttpClient, networking | `references\u002Fserialization-networking-dotnet8to9.md` |\n| Windows Forms or WPF | `references\u002Fwinforms-wpf-dotnet8to9.md` |\n| Docker containers, native interop | `references\u002Fcontainers-interop-dotnet8to9.md` |\n| Runtime configuration, deployment | `references\u002Fdeployment-runtime-dotnet8to9.md` |\n\n**Common source-incompatible changes to check for:**\n\n1. **`params` span overload resolution** — New `params ReadOnlySpan\u003CT>` overloads on `String.Join`, `String.Concat`, `Path.Combine`, `Task.WhenAll`, and many more now bind preferentially. Code calling these methods inside `Expression` lambdas will fail (CS8640\u002FCS9226). See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n2. **`StringValues` ambiguous overload** — The `params Span\u003CT>` feature creates ambiguity with `StringValues` implicit operators on methods like `String.Concat`, `String.Join`, `Path.Combine`. Fix by explicitly casting arguments. See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n3. **New obsoletion warnings (SYSLIB0054–SYSLIB0057)**:\n   - `SYSLIB0054`: Replace `Thread.VolatileRead`\u002F`VolatileWrite` with `Volatile.Read`\u002F`Volatile.Write`\n   - `SYSLIB0057`: Replace `X509Certificate2`\u002F`X509Certificate` binary\u002Ffile constructors with `X509CertificateLoader` methods\n   - Also `SYSLIB0055` (ARM AdvSimd signed overloads) and `SYSLIB0056` (Assembly.LoadFrom with hash algorithm) — see `references\u002Fcore-libraries-dotnet8to9.md`\n\n4. **C# 13 `InlineArray` on record structs** — `[InlineArray]` attribute on `record struct` types is now disallowed (CS9259). Change to a regular `struct`. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n5. **C# 13 iterator safe context** — Iterators now introduce a safe context in C# 13. Local functions inside iterators that used unsafe code inherited from an outer `unsafe` class will now error. Add `unsafe` modifier to the local function. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n6. **C# 13 collection expression overload resolution** — Empty collection expressions (`[]`) no longer use span vs non-span to tiebreak overloads. Exact element type is now preferred. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n7. **`String.Trim(params ReadOnlySpan\u003Cchar>)` removed** — Code compiled against .NET 9 previews that passes `ReadOnlySpan\u003Cchar>` to `Trim`\u002F`TrimStart`\u002F`TrimEnd` must rebuild; the overload was removed in GA. See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n8. **`BinaryFormatter` always throws** — If the project uses `BinaryFormatter`, **stop and inform the user** — this is a major decision. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n9. **`HttpListenerRequest.UserAgent` is nullable** — The property is now `string?`. Add null checks. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n10. **Windows Forms nullability annotation changes** — Some WinForms API parameters changed from nullable to non-nullable. Update call sites. See `references\u002Fwinforms-wpf-dotnet8to9.md`.\n\n11. **Windows Forms security analyzers (WFO1000)** — New analyzers produce errors for properties without explicit serialization configuration. See `references\u002Fwinforms-wpf-dotnet8to9.md`.\n\nBuild again after each batch of fixes. Repeat until the build is clean.\n\n### Step 4: Address behavioral changes\n\nBehavioral changes do not cause build errors but may change runtime behavior. Review each applicable item and determine whether the previous behavior was relied upon.\n\n**High-impact behavioral changes (check first):**\n\n1. **Floating-point to integer conversions are now saturating** — Conversions from `float`\u002F`double` to integer types now saturate instead of wrapping on x86\u002Fx64. See `references\u002Fdeployment-runtime-dotnet8to9.md`.\n\n2. **EF Core: Pending model changes exception** — `Migrate()`\u002F`MigrateAsync()` now throws if the model has pending changes. **Search for `DateTime.Now`, `DateTime.UtcNow`, or `Guid.NewGuid()` in any `HasData` call — these must be replaced with fixed constants** (e.g., `new DateTime(2024, 1, 1, 0, 0, 0, DateTimeKind.Utc)`). See `references\u002Fefcore-dotnet8to9.md`.\n\n3. **EF Core: Explicit transaction exception** — `Migrate()` inside a user transaction now throws. See `references\u002Fefcore-dotnet8to9.md`.\n\n4. **HttpClientFactory uses `SocketsHttpHandler` by default** — Code that casts the primary handler to `HttpClientHandler` will get `InvalidCastException`. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n5. **HttpClientFactory header redaction by default** — All header values in `Trace`-level logs are now redacted. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n6. **Environment variables take precedence over runtimeconfig.json** — Runtime configuration settings from environment variables now override `runtimeconfig.json`. See `references\u002Fdeployment-runtime-dotnet8to9.md`.\n\n7. **ASP.NET Core `ValidateOnBuild`\u002F`ValidateScopes` in development** — `HostBuilder` now enables DI validation in development by default. See `references\u002Faspnet-core-dotnet8to9.md`.\n\n**Other behavioral changes to review (may cause runtime exceptions ⚠️ or subtle behavioral differences):**\n\n- ⚠️ `FromKeyedServicesAttribute` no longer injects non-keyed service fallback — throws `InvalidOperationException`\n- ⚠️ Container images no longer install zlib — apps depending on system zlib will fail\n- ⚠️ Intel CET is now enabled by default — non-CET-compatible native libraries may cause process termination\n- `BigInteger` now has a maximum length of `(2^31) - 1` bits\n- `JsonDocument` deserialization of JSON `null` now returns non-null `JsonDocument` with `JsonValueKind.Null` instead of C# `null`\n- `System.Text.Json` metadata reader now unescapes metadata property names\n- `ZipArchiveEntry` names\u002Fcomments now respect the UTF-8 flag\n- `IncrementingPollingCounter` initial callback is now asynchronous\n- `InMemoryDirectoryInfo` prepends rootDir to files\n- `RuntimeHelpers.GetSubArray` returns a different type\n- `PictureBox` raises `HttpRequestException` instead of `WebException`\n- `StatusStrip` uses a different default renderer\n- `IMsoComponent` support is opt-in\n- `SafeEvpPKeyHandle.DuplicateHandle` up-refs the handle\n- `HttpClient` metrics report `server.port` unconditionally\n- URI query strings redacted in HttpClient EventSource events and IHttpClientFactory logs\n- `dotnet watch` is incompatible with Hot Reload for old frameworks\n- WPF `GetXmlNamespaceMaps` returns `Hashtable` instead of `String`\n\n### Step 5: Update infrastructure\n\n1. **Dockerfiles**: Update base images. Note that .NET 9 container images no longer install zlib. If your app depends on zlib, add `RUN apt-get update && apt-get install -y zlib1g` to your Dockerfile.\n   ```dockerfile\n   # Before\n   FROM mcr.microsoft.com\u002Fdotnet\u002Fsdk:8.0 AS build\n   FROM mcr.microsoft.com\u002Fdotnet\u002Faspnet:8.0\n   # After\n   FROM mcr.microsoft.com\u002Fdotnet\u002Fsdk:9.0 AS build\n   FROM mcr.microsoft.com\u002Fdotnet\u002Faspnet:9.0\n   ```\n\n2. **CI\u002FCD pipelines**: Update SDK version references. If using `global.json`, update:\n   ```json\n   {\n     \"sdk\": {\n       \"version\": \"9.0.100\",\n       \"rollForward\": \"latestFeature\"\n     }\n   }\n   ```\n   Review the `rollForward` policy — if set to `\"disable\"` or `\"latestPatch\"`, the SDK may not resolve correctly after upgrading. `\"latestFeature\"` (recommended) allows the SDK to roll forward to the latest 9.0.x feature band.\n\n3. **Visual Studio version**: .NET 9 SDK requires VS 17.12+ to target `net9.0`. VS 17.11 can only target `net8.0` and earlier.\n\n4. **Terminal Logger**: `dotnet build` now uses Terminal Logger by default in interactive terminals. CI scripts that parse MSBuild console output may need `--tl:off` or `MSBUILDTERMINALLOGGER=off`.\n\n5. **`dotnet workload` output**: Output format has changed. Update any scripts that parse workload command output.\n\n6. **.NET Monitor images**: Tags simplified to version-only (affects container orchestration referencing specific tags).\n\n### Step 6: Verify\n\n1. Run a full clean build: `dotnet build --no-incremental`\n2. Run all tests: `dotnet test`\n3. If the application is containerized, build and test the container image\n4. Smoke-test the application, paying special attention to:\n   - BinaryFormatter usage (will throw at runtime)\n   - Floating-point to integer conversion behavior\n   - EF Core migration application\n   - HttpClientFactory handler casting and logging\n   - DI validation in development environment\n   - Runtime configuration settings (environment variable precedence)\n5. Review the diff and ensure no unintended behavioral changes were introduced\n\n## Reference Documents\n\nThe `references\u002F` folder contains detailed breaking change information organized by technology area. Load only the references relevant to the project being migrated:\n\n| Reference file | When to load |\n|----------------|-------------|\n| `references\u002Fcsharp-compiler-dotnet8to9.md` | Always (C# 13 compiler breaking changes — InlineArray on records, iterator safe context, collection expression overloads) |\n| `references\u002Fcore-libraries-dotnet8to9.md` | Always (applies to all .NET 9 projects) |\n| `references\u002Fsdk-msbuild-dotnet8to9.md` | Always (SDK and build tooling changes) |\n| `references\u002Faspnet-core-dotnet8to9.md` | Project uses ASP.NET Core |\n| `references\u002Fefcore-dotnet8to9.md` | Project uses Entity Framework Core |\n| `references\u002Fcryptography-dotnet8to9.md` | Project uses System.Security.Cryptography or X.509 certificates |\n| `references\u002Fserialization-networking-dotnet8to9.md` | Project uses BinaryFormatter, System.Text.Json, HttpClient, or networking APIs |\n| `references\u002Fwinforms-wpf-dotnet8to9.md` | Project uses Windows Forms or WPF |\n| `references\u002Fcontainers-interop-dotnet8to9.md` | Project uses Docker containers or native interop (P\u002FInvoke) |\n| `references\u002Fdeployment-runtime-dotnet8to9.md` | Project uses runtime configuration, deployment, or has floating-point to integer conversions |\n",{"name":5,"license":15,"description":24},"Migrate a .NET 8 project to .NET 9 and resolve all breaking changes. USE FOR: upgrading TargetFramework from net8.0 to net9.0, fixing build errors after updating the .NET 9 SDK, resolving behavioral changes in .NET 9 \u002F C# 13 \u002F ASP.NET Core 9 \u002F EF Core 9, replacing BinaryFormatter (now always throws), resolving SYSLIB0054-SYSLIB0057, adapting to params span overload resolution, fixing C# 13 compiler changes, updating HttpClientFactory for SocketsHttpHandler, and resolving EF Core 9 migration\u002FCosmos DB changes. DO NOT USE FOR: .NET Framework migrations, upgrading from .NET 7 or earlier, greenfield .NET 9 projects, or cosmetic modernization unrelated to the upgrade.\n","main","30954af1dcd1a74b63f05deb2e2c41e5ecae4a82","02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack","https:\u002F\u002Fgithub.com\u002Fitsmejay18","2026-09-18 16:06:36",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add itsmejay18\u002FAI-Skills-for-My-Development-Stack --skill migrate-dotnet8-to-dotnet9",{"tool":37,"command":38},"bunx","bunx skills add itsmejay18\u002FAI-Skills-for-My-Development-Stack --skill migrate-dotnet8-to-dotnet9",{"tool":40,"command":41},"pnpm","pnpm dlx skills add itsmejay18\u002FAI-Skills-for-My-Development-Stack --skill migrate-dotnet8-to-dotnet9","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002FSKILL.md",true,[45,51,55,59,63,67,71,75,79,83],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Faspnet-core-dotnet8to9.md","REFERENCE","参考文档",2357,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Faspnet-core-dotnet8to9.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fcontainers-interop-dotnet8to9.md",1977,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fcontainers-interop-dotnet8to9.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fcore-libraries-dotnet8to9.md",7148,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fcore-libraries-dotnet8to9.md",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fcryptography-dotnet8to9.md",2146,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fcryptography-dotnet8to9.md",{"path":64,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fcsharp-compiler-dotnet8to9.md",3399,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fcsharp-compiler-dotnet8to9.md",{"path":68,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fdeployment-runtime-dotnet8to9.md",2498,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fdeployment-runtime-dotnet8to9.md",{"path":72,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fefcore-dotnet8to9.md",7060,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fefcore-dotnet8to9.md",{"path":76,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fsdk-msbuild-dotnet8to9.md",2393,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fsdk-msbuild-dotnet8to9.md",{"path":80,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fserialization-networking-dotnet8to9.md",5565,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fserialization-networking-dotnet8to9.md",{"path":84,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fwinforms-wpf-dotnet8to9.md",3838,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fwinforms-wpf-dotnet8to9.md",[88,95,102,109,116,123],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7D2RKBHPZ3E1RNN5DWHT550","vectorization","Design, implement, optimize, and review SIMD code in .NET. USE FOR: vectorizing scalar loops with TensorPrimitives, Vector64\u002F128\u002F256\u002F512, or platform hardware intrinsics; reviewing existing SIMD code, including Vector\u003CT>, for contract equivalence, tail handling, memory safety, portability, fallbacks, and measured performance. DO NOT USE FOR: performance work unrelated to SIMD or vectorization.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fvectorization\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7D2RDJ7RN3QK8GJR0QTER1D","resolve-project-references","Guide for interpreting ResolveProjectReferences time in MSBuild performance summaries. Activate when ResolveProjectReferences appears as the most expensive target and developers are trying to optimize it directly. Explains that the reported time includes wait time for dependent project builds and is misleading. Guides users to focus on task self-time instead. Do not activate for general build performance -- use build-perf-diagnostics instead.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fresolve-project-references\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7D2R1H2GTNZYHG9YRX3JDQW","optimizing-ef-core-queries","Optimize and improve the performance of slow Entity Framework Core (EF Core) queries: make them generate less SQL, make fewer database round-trips, and return results faster. Use whenever an EF Core or DbContext query or data-access path is slow or should be made faster — whether or not EF Core owns the database schema. For EF Core, not Dapper or raw ADO.NET.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Foptimizing-ef-core-queries\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7D2QREG04W1YT0NEBHEW5C9","microbenchmarking","Activate this skill when BenchmarkDotNet (BDN) is involved in the task — creating, running, configuring, or reviewing BDN benchmarks. Also activate when microbenchmarking .NET code would be useful and BenchmarkDotNet is the likely tool. Consider activating when answering a .NET performance question requires measurement and BenchmarkDotNet may be needed. Covers microbenchmark design, BDN configuration and project setup, how to run BDN microbenchmarks efficiently and effectively, and using BDN for side-by-side performance comparisons. Do NOT use for profiling\u002Ftracing .NET code (dotnet-trace, PerfView), production telemetry, or load\u002Fstress testing (Crank, k6).","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fmicrobenchmarking\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M7D2QGE175XWPZVACVH2868Z","incremental-build","Guide for optimizing MSBuild incremental builds. USE FOR: builds slower than expected on subsequent runs, 'nothing changed but it rebuilds anyway', diagnosing why targets re-execute unnecessarily, fixing broken no-op builds. Covers 8 common causes: missing Inputs\u002FOutputs on custom targets, volatile properties in output paths (timestamps\u002FGUIDs), file writes outside tracked Outputs, missing FileWrites registration, glob changes, Visual Studio Fast Up-to-Date Check (FUTDC) issues. Key diagnostic: look for 'Building target completely' vs 'Skipping target' in binlog. DO NOT USE FOR: first-time build slowness (use build-perf-baseline), parallelism issues (use build-parallelism), evaluation-phase slowness (use eval-performance), non-MSBuild build systems.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fincremental-build\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M7D2Q1DQTC6K49R73WQTTPSB","eval-performance","Guide for diagnosing and improving MSBuild project evaluation performance. USE FOR: builds slow before any compilation starts, high evaluation time in binlog analysis, expensive glob patterns walking large directories (node_modules, .git, bin\u002Fobj), deep import chains (>20 levels), preprocessed output >10K lines indicating heavy evaluation, property functions with file I\u002FO ($([System.IO.File]::ReadAllText(...))), multiple evaluations per project. Covers the 5 MSBuild evaluation phases, glob optimization via DefaultItemExcludes, import chain analysis with \u002Fpp preprocessing. DO NOT USE FOR: compilation-time slowness (use build-perf-diagnostics), incremental build issues (use incremental-build), non-MSBuild build systems.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Feval-performance\u002FSKILL.md",[],[]]