[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M756M3APHF40WSPEVWJDDV5X":3,"skill-same:01M756M3APHF40WSPEVWJDDV5X":45},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M756M3APHF40WSPEVWJDDV5X","including-generated-files",null,"Fix MSBuild targets that generate files during the build but those files are missing from compilation or output. Only activate in MSBuild\u002F.NET build context. USE FOR: generated source files not compiling (CS0246 for a type that should exist), custom build tasks that create files but they are invisible to subsequent targets, globs not capturing build-generated files because they expand at evaluation time before execution creates them, ensuring generated files are cleaned by the Clean target. Covers correct BeforeTargets timing (CoreCompile, BeforeBuild, AssignTargetPaths), adding to Compile\u002FFileWrites item groups, using $(IntermediateOutputPath) instead of hardcoded obj\u002F paths. DO NOT USE FOR: C# source generators that already work via the Roslyn pipeline, T4 design-time generation that runs in Visual Studio, non-MSBuild build systems. INVOKES: no tools — pure knowledge skill.","weiflycc-cmd\u002Fskills","weiflycc-cmd","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F250846518?v=4","01M756C4PFGZJWKK04WFB9S5XF","威飛工作室","01M756C4QJJ66QDXN2RN6SXY87",0,"MIT","https:\u002F\u002Fgithub.com\u002Fweiflycc-cmd\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fdotnet-msbuild\u002Fskills\u002Fincluding-generated-files\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: including-generated-files\ndescription: \"Fix MSBuild targets that generate files during the build but those files are missing from compilation or output. Only activate in MSBuild\u002F.NET build context. USE FOR: generated source files not compiling (CS0246 for a type that should exist), custom build tasks that create files but they are invisible to subsequent targets, globs not capturing build-generated files because they expand at evaluation time before execution creates them, ensuring generated files are cleaned by the Clean target. Covers correct BeforeTargets timing (CoreCompile, BeforeBuild, AssignTargetPaths), adding to Compile\u002FFileWrites item groups, using $(IntermediateOutputPath) instead of hardcoded obj\u002F paths. DO NOT USE FOR: C# source generators that already work via the Roslyn pipeline, T4 design-time generation that runs in Visual Studio, non-MSBuild build systems. INVOKES: no tools — pure knowledge skill.\"\nlicense: MIT\n---\n\n# Including Generated Files Into Your Build\n\n## Overview\n\nFiles generated during the build are generally ignored by the build process. This leads to confusing results such as:\n- Generated files not being included in the output directory\n- Generated source files not being compiled\n- Globs not capturing files created during the build\n\nThis happens because of how MSBuild's build phases work.\n\n## Quick Takeaway\n\nFor code files generated during the build - we need to add those to `Compile` and `FileWrites` item groups within the target generating the file(s):\n\n```xml\n  \u003CItemGroup>\n    \u003CCompile Include=\"$(GeneratedFilePath)\" \u002F>\n    \u003CFileWrites Include=\"$(GeneratedFilePath)\" \u002F>\n  \u003C\u002FItemGroup>\n```\n\nThe target generating the file(s) should be hooked before CoreCompile and BeforeCompile targets - `BeforeTargets=\"CoreCompile;BeforeCompile\"`\n\n## Why Generated Files Are Ignored\n\nFor detailed explanation, see [How MSBuild Builds Projects](https:\u002F\u002Fdocs.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fbuild-process-overview).\n\n### Evaluation Phase\n\nMSBuild reads your project, imports everything, creates Properties, expands globs for Items **outside of Targets**, and sets up the build process.\n\n### Execution Phase\n\nMSBuild runs Targets & Tasks with the provided Properties & Items to perform the build.\n\n**Key Takeaway:** Files generated during execution don't exist during evaluation, therefore they aren't found. This particularly affects files that are globbed by default, such as source files (`.cs`).\n\n## Solution: Manually Add Generated Files\n\nWhen files are generated during the build, manually add them into the build process. The approach depends on the type of file being generated.\n\n### Use `$(IntermediateOutputPath)` for Generated File Location\n\nAlways use `$(IntermediateOutputPath)` as the base directory for generated files. **Do not** hardcode `obj\\` or construct the intermediary path manually (e.g., `obj\\$(Configuration)\\$(TargetFramework)\\`). The intermediate output path can be redirected to a different location in some build configurations (e.g., shared output directories, CI environments). Using `$(IntermediateOutputPath)` ensures your target works correctly regardless of the actual path.\n\n### Always Add Generated Files to `FileWrites`\n\nEvery generated file should be added to the `FileWrites` item group. This ensures that MSBuild's `Clean` target properly removes your generated files. Without this, generated files will accumulate as stale artifacts across builds.\n\n```xml\n\u003CItemGroup>\n  \u003CFileWrites Include=\"$(IntermediateOutputPath)my-generated-file.xyz\" \u002F>\n\u003C\u002FItemGroup>\n```\n\n### Basic Pattern (Non-Code Files)\n\nFor generated files that need to be copied to output (config files, data files, etc.), add them to `Content` or `None` items before `BeforeBuild`:\n\n```xml\n\u003CTarget Name=\"IncludeGeneratedFiles\" BeforeTargets=\"BeforeBuild\">\n  \n  \u003C!-- Your logic that generates files goes here -->\n\n  \u003CItemGroup>\n    \u003CNone Include=\"$(IntermediateOutputPath)my-generated-file.xyz\" CopyToOutputDirectory=\"PreserveNewest\"\u002F>\n    \n    \u003C!-- Capture all files of a certain type with a glob -->\n    \u003CNone Include=\"$(IntermediateOutputPath)generated\\*.xyz\" CopyToOutputDirectory=\"PreserveNewest\"\u002F>\n\n    \u003C!-- Register generated files for proper cleanup -->\n    \u003CFileWrites Include=\"$(IntermediateOutputPath)my-generated-file.xyz\" \u002F>\n    \u003CFileWrites Include=\"$(IntermediateOutputPath)generated\\*.xyz\" \u002F>\n  \u003C\u002FItemGroup>\n\u003C\u002FTarget>\n```\n\n### For Generated Source Files (Code That Needs Compilation)\n\nIf you're generating `.cs` files that need to be compiled, use **`BeforeTargets=\"CoreCompile;BeforeCompile\"`**. This is the correct timing for adding `Compile` items — it runs late enough that the file generation has occurred, but before the compiler runs. Using `BeforeBuild` is too early for some scenarios and may not work reliably with all SDK features.\n\n```xml\n\u003CTarget Name=\"IncludeGeneratedSourceFiles\" BeforeTargets=\"CoreCompile;BeforeCompile\">\n  \u003CPropertyGroup>\n    \u003CGeneratedCodeDir>$(IntermediateOutputPath)Generated\\\u003C\u002FGeneratedCodeDir>\n    \u003CGeneratedFilePath>$(GeneratedCodeDir)MyGeneratedFile.cs\u003C\u002FGeneratedFilePath>\n  \u003C\u002FPropertyGroup>\n\n  \u003CMakeDir Directories=\"$(GeneratedCodeDir)\" \u002F>\n\n  \u003C!-- Your logic that generates the .cs file goes here -->\n\n  \u003CItemGroup>\n    \u003CCompile Include=\"$(GeneratedFilePath)\" \u002F>\n    \u003CFileWrites Include=\"$(GeneratedFilePath)\" \u002F>\n  \u003C\u002FItemGroup>\n\u003C\u002FTarget>\n```\n\nNote: Specifying both `CoreCompile` and `BeforeCompile` ensures the target runs before whichever target comes first, providing robust ordering regardless of customizations in the build.\n\n## Target Timing\n\nChoose the `BeforeTargets` value based on the type of file being generated:\n\n- **`BeforeTargets=\"BeforeBuild\"`** — For non-code files added to `None` or `Content`. Runs early enough for copy-to-output scenarios.\n- **`BeforeTargets=\"CoreCompile;BeforeCompile\"`** — For generated source files added to `Compile`. Ensures the file is included before the compiler runs.\n- **`BeforeTargets=\"AssignTargetPaths\"`** — The \"final stop\" before `None` and `Content` items (among others) are transformed into new items. Use as a fallback if `BeforeBuild` is too early.\n\n## Globbing Behavior\n\nGlobs behave according to **when** the glob took place:\n\n| Glob Location | Files Captured |\n|---------------|----------------|\n| Outside of a target | Only files visible during Evaluation phase (before build starts) |\n| Inside of a target | Files visible when the target runs (can capture generated files if timed correctly) |\n\nThis is why the solution places the `\u003CItemGroup>` inside a `\u003CTarget>` - the glob runs during execution when the generated files exist.\n\n## Relevant Links\n\n- [How MSBuild Builds Projects](https:\u002F\u002Fdocs.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fbuild-process-overview)\n- [Evaluation Phase](https:\u002F\u002Fdocs.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fbuild-process-overview#evaluation-phase)\n- [Execution Phase](https:\u002F\u002Fdocs.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fbuild-process-overview#execution-phase)\n- [Common Item Types](https:\u002F\u002Fdocs.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fcommon-msbuild-project-items)\n- [How the SDK imports items by default](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fsdk\u002Fblob\u002Fmain\u002Fsrc\u002FTasks\u002FMicrosoft.NET.Build.Tasks\u002Ftargets\u002FMicrosoft.NET.Sdk.DefaultItems.props)\n- [Official docs: Handle generated files](https:\u002F\u002Flearn.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fcustomize-your-build#handle-generated-files)\n","# Including Generated Files Into Your Build\n\n## Overview\n\nFiles generated during the build are generally ignored by the build process. This leads to confusing results such as:\n- Generated files not being included in the output directory\n- Generated source files not being compiled\n- Globs not capturing files created during the build\n\nThis happens because of how MSBuild's build phases work.\n\n## Quick Takeaway\n\nFor code files generated during the build - we need to add those to `Compile` and `FileWrites` item groups within the target generating the file(s):\n\n```xml\n  \u003CItemGroup>\n    \u003CCompile Include=\"$(GeneratedFilePath)\" \u002F>\n    \u003CFileWrites Include=\"$(GeneratedFilePath)\" \u002F>\n  \u003C\u002FItemGroup>\n```\n\nThe target generating the file(s) should be hooked before CoreCompile and BeforeCompile targets - `BeforeTargets=\"CoreCompile;BeforeCompile\"`\n\n## Why Generated Files Are Ignored\n\nFor detailed explanation, see [How MSBuild Builds Projects](https:\u002F\u002Fdocs.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fbuild-process-overview).\n\n### Evaluation Phase\n\nMSBuild reads your project, imports everything, creates Properties, expands globs for Items **outside of Targets**, and sets up the build process.\n\n### Execution Phase\n\nMSBuild runs Targets & Tasks with the provided Properties & Items to perform the build.\n\n**Key Takeaway:** Files generated during execution don't exist during evaluation, therefore they aren't found. This particularly affects files that are globbed by default, such as source files (`.cs`).\n\n## Solution: Manually Add Generated Files\n\nWhen files are generated during the build, manually add them into the build process. The approach depends on the type of file being generated.\n\n### Use `$(IntermediateOutputPath)` for Generated File Location\n\nAlways use `$(IntermediateOutputPath)` as the base directory for generated files. **Do not** hardcode `obj\\` or construct the intermediary path manually (e.g., `obj\\$(Configuration)\\$(TargetFramework)\\`). The intermediate output path can be redirected to a different location in some build configurations (e.g., shared output directories, CI environments). Using `$(IntermediateOutputPath)` ensures your target works correctly regardless of the actual path.\n\n### Always Add Generated Files to `FileWrites`\n\nEvery generated file should be added to the `FileWrites` item group. This ensures that MSBuild's `Clean` target properly removes your generated files. Without this, generated files will accumulate as stale artifacts across builds.\n\n```xml\n\u003CItemGroup>\n  \u003CFileWrites Include=\"$(IntermediateOutputPath)my-generated-file.xyz\" \u002F>\n\u003C\u002FItemGroup>\n```\n\n### Basic Pattern (Non-Code Files)\n\nFor generated files that need to be copied to output (config files, data files, etc.), add them to `Content` or `None` items before `BeforeBuild`:\n\n```xml\n\u003CTarget Name=\"IncludeGeneratedFiles\" BeforeTargets=\"BeforeBuild\">\n  \n  \u003C!-- Your logic that generates files goes here -->\n\n  \u003CItemGroup>\n    \u003CNone Include=\"$(IntermediateOutputPath)my-generated-file.xyz\" CopyToOutputDirectory=\"PreserveNewest\"\u002F>\n    \n    \u003C!-- Capture all files of a certain type with a glob -->\n    \u003CNone Include=\"$(IntermediateOutputPath)generated\\*.xyz\" CopyToOutputDirectory=\"PreserveNewest\"\u002F>\n\n    \u003C!-- Register generated files for proper cleanup -->\n    \u003CFileWrites Include=\"$(IntermediateOutputPath)my-generated-file.xyz\" \u002F>\n    \u003CFileWrites Include=\"$(IntermediateOutputPath)generated\\*.xyz\" \u002F>\n  \u003C\u002FItemGroup>\n\u003C\u002FTarget>\n```\n\n### For Generated Source Files (Code That Needs Compilation)\n\nIf you're generating `.cs` files that need to be compiled, use **`BeforeTargets=\"CoreCompile;BeforeCompile\"`**. This is the correct timing for adding `Compile` items — it runs late enough that the file generation has occurred, but before the compiler runs. Using `BeforeBuild` is too early for some scenarios and may not work reliably with all SDK features.\n\n```xml\n\u003CTarget Name=\"IncludeGeneratedSourceFiles\" BeforeTargets=\"CoreCompile;BeforeCompile\">\n  \u003CPropertyGroup>\n    \u003CGeneratedCodeDir>$(IntermediateOutputPath)Generated\\\u003C\u002FGeneratedCodeDir>\n    \u003CGeneratedFilePath>$(GeneratedCodeDir)MyGeneratedFile.cs\u003C\u002FGeneratedFilePath>\n  \u003C\u002FPropertyGroup>\n\n  \u003CMakeDir Directories=\"$(GeneratedCodeDir)\" \u002F>\n\n  \u003C!-- Your logic that generates the .cs file goes here -->\n\n  \u003CItemGroup>\n    \u003CCompile Include=\"$(GeneratedFilePath)\" \u002F>\n    \u003CFileWrites Include=\"$(GeneratedFilePath)\" \u002F>\n  \u003C\u002FItemGroup>\n\u003C\u002FTarget>\n```\n\nNote: Specifying both `CoreCompile` and `BeforeCompile` ensures the target runs before whichever target comes first, providing robust ordering regardless of customizations in the build.\n\n## Target Timing\n\nChoose the `BeforeTargets` value based on the type of file being generated:\n\n- **`BeforeTargets=\"BeforeBuild\"`** — For non-code files added to `None` or `Content`. Runs early enough for copy-to-output scenarios.\n- **`BeforeTargets=\"CoreCompile;BeforeCompile\"`** — For generated source files added to `Compile`. Ensures the file is included before the compiler runs.\n- **`BeforeTargets=\"AssignTargetPaths\"`** — The \"final stop\" before `None` and `Content` items (among others) are transformed into new items. Use as a fallback if `BeforeBuild` is too early.\n\n## Globbing Behavior\n\nGlobs behave according to **when** the glob took place:\n\n| Glob Location | Files Captured |\n|---------------|----------------|\n| Outside of a target | Only files visible during Evaluation phase (before build starts) |\n| Inside of a target | Files visible when the target runs (can capture generated files if timed correctly) |\n\nThis is why the solution places the `\u003CItemGroup>` inside a `\u003CTarget>` - the glob runs during execution when the generated files exist.\n\n## Relevant Links\n\n- [How MSBuild Builds Projects](https:\u002F\u002Fdocs.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fbuild-process-overview)\n- [Evaluation Phase](https:\u002F\u002Fdocs.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fbuild-process-overview#evaluation-phase)\n- [Execution Phase](https:\u002F\u002Fdocs.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fbuild-process-overview#execution-phase)\n- [Common Item Types](https:\u002F\u002Fdocs.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fcommon-msbuild-project-items)\n- [How the SDK imports items by default](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fsdk\u002Fblob\u002Fmain\u002Fsrc\u002FTasks\u002FMicrosoft.NET.Build.Tasks\u002Ftargets\u002FMicrosoft.NET.Sdk.DefaultItems.props)\n- [Official docs: Handle generated files](https:\u002F\u002Flearn.microsoft.com\u002Fvisualstudio\u002Fmsbuild\u002Fcustomize-your-build#handle-generated-files)\n",{"name":5,"license":15,"description":7},"main","5810d492c9b301d8227f932bf87b5c954c4fa4d6","plugins\u002Fdotnet-msbuild\u002Fskills\u002Fincluding-generated-files","https:\u002F\u002Fgithub.com\u002Fweiflycc-cmd\u002Fskills","https:\u002F\u002Fgithub.com\u002Fweiflycc-cmd","weiflycc.com","2026-11-10 03:26:55",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add weiflycc-cmd\u002Fskills --skill including-generated-files",{"tool":37,"command":38},"bunx","bunx skills add weiflycc-cmd\u002Fskills --skill including-generated-files",{"tool":40,"command":41},"pnpm","pnpm dlx skills add weiflycc-cmd\u002Fskills --skill including-generated-files","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fweiflycc-cmd\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fdotnet-msbuild\u002Fskills\u002Fincluding-generated-files\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M76SGT4WG5682JQJ0V3NSK6X","system-text-json-net11","Provides guidance on new System.Text.Json APIs introduced in .NET 11. It covers typed JsonTypeInfo access via GetTypeInfo\u003CT> and TryGetTypeInfo\u003CT> on JsonSerializerOptions, and the new JsonNamingPolicy.PascalCase static property. Use when serializing or deserializing JSON in .NET 11 applications and needing typed metadata access or PascalCase property naming.","https:\u002F\u002Fgithub.com\u002Fweiflycc-cmd\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fdotnet11\u002Fskills\u002Fsystem-text-json-net11\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M76SGPNZYYV9BCZJW7BF7J8A","nuget-trusted-publishing","Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens. USE FOR: trusted publishing, NuGet OIDC, keyless NuGet publish, migrate from NuGet API key, NuGet\u002Flogin, secure NuGet publishing. DO NOT USE FOR: publishing to private feeds or Azure Artifacts (OIDC is nuget.org only). INVOKES: shell (powershell or bash), edit, create, ask_user for guided repo setup.","https:\u002F\u002Fgithub.com\u002Fweiflycc-cmd\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fdotnet\u002Fskills\u002Fnuget-trusted-publishing\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M76SGHVNBNVM1DMVDYTMAE5G","dotnet-pinvoke","Correctly call native (C\u002FC++) libraries from .NET using P\u002FInvoke and LibraryImport. Covers function signatures, string marshalling, memory lifetime, SafeHandle, and cross-platform patterns. USE FOR: writing new P\u002FInvoke or LibraryImport declarations, reviewing or debugging existing native interop code, wrapping a C or C++ library for use in .NET, diagnosing crashes, memory leaks, or corruption at the managed\u002Fnative boundary. DO NOT USE FOR: COM interop, C++\u002FCLI mixed-mode assemblies, or pure managed code with no native dependencies.","https:\u002F\u002Fgithub.com\u002Fweiflycc-cmd\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fdotnet\u002Fskills\u002Fdotnet-pinvoke\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M76SGDB9Z3GSB1CFW314NC84","csharp-scripts","Run file-based C# apps with the .NET CLI when the user explicitly wants C#\u002F.NET code without creating a project. Use for C# language\u002FAPI experiments, one-file C# apps, small multi-file C# apps composed with `#:include`\u002F`#:exclude`, or C# file-based apps linked with `#:ref`. Do not use for language-agnostic throwaway scripts, generic computations, Python\u002FPowerShell-style automation, full projects, or existing app integration.","https:\u002F\u002Fgithub.com\u002Fweiflycc-cmd\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fdotnet\u002Fskills\u002Fcsharp-scripts\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M76SG805T8W764WAKB1NP3CJ","thread-abort-migration","Guides migration of .NET Framework Thread.Abort usage to cooperative cancellation in modern .NET. USE FOR: modernizing code that calls Thread.Abort, catching ThreadAbortException, replacing Thread.ResetAbort, replacing Thread.Interrupt for thread termination, resolving PlatformNotSupportedException or SYSLIB0006 after retargeting to .NET 6+, migrating ASP.NET Response.End or Response.Redirect(url, true) which internally call Thread.Abort. DO NOT USE FOR: code that only uses Thread.Join, Thread.Sleep, or Thread.Start without any abort, interrupt, or ThreadAbortException usage — these APIs work identically in modern .NET and need no migration. Also not for projects staying on .NET Framework, or Thread.Abort usage inside third-party libraries you do not control.","https:\u002F\u002Fgithub.com\u002Fweiflycc-cmd\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fdotnet-upgrade\u002Fskills\u002Fthread-abort-migration\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M76SG2588ZJBE5C51HYJJSKV","migrate-nullable-references","Enable nullable reference types in a C# project and systematically resolve all warnings. USE FOR: adopting NRTs in existing codebases, file-by-file or project-wide migration, fixing CS8602\u002FCS8618\u002FCS86xx warnings, annotating APIs for nullability, cleaning up null-forgiving operators, upgrading dependencies with new nullable annotations. DO NOT USE FOR: projects already fully migrated with zero warnings (unless auditing suppressions), fixing a handful of nullable warnings in code that already has NRTs enabled, suppressing warnings without fixing them, C# 7.3 or earlier projects. INVOKES: Get-NullableReadiness.ps1 scanner script.","https:\u002F\u002Fgithub.com\u002Fweiflycc-cmd\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fdotnet-upgrade\u002Fskills\u002Fmigrate-nullable-references\u002FSKILL.md",[],[]]