[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-microsoft-modifying-project-properties":3,"mdc--v1n870-key":30,"related-repo-microsoft-modifying-project-properties":1295,"related-org-microsoft-modifying-project-properties":1397},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":20,"repoUrl":21,"updatedAt":22,"license":23,"forks":24,"topics":25,"repo":26,"sourceUrl":28,"mdContent":29},"modifying-project-properties","update .NET project configuration properties","Modifies .NET project properties in PropertyGroup elements within .csproj, .vbproj, and Directory.Build.props files. Handles TargetFramework, LangVersion, Nullable, OutputType, TreatWarningsAsErrors, and other MSBuild configuration settings. Use when asked to \"change TargetFramework\", \"update project settings\", \"enable nullable\", \"set LangVersion\", or modify any build property. Also triggers for Directory.Build.props changes, conditional PropertyGroup handling, and centralized vs project-specific property decisions.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"microsoft","Microsoft","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmicrosoft.png",[12,16,19],{"name":13,"slug":14,"type":15},"Configuration","configuration","tag",{"name":17,"slug":18,"type":15},".NET","net",{"name":9,"slug":8,"type":15},7,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fupgrade-agent-plugins","2026-07-07T06:54:27.808",null,1,[],{"repoUrl":21,"stars":20,"forks":24,"topics":27,"description":23},[],"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fupgrade-agent-plugins\u002Ftree\u002FHEAD\u002Fplugins\u002Fupgrade-agent\u002Fextenders\u002Fupgrade-dotnet\u002Fupgrade\u002Fskills\u002Flazy\u002Fcommon\u002Fmodifying-project-properties","---\r\nname: modifying-project-properties\r\ndescription: >\r\n  Modifies .NET project properties in PropertyGroup elements within .csproj, .vbproj, and\r\n  Directory.Build.props files. Handles TargetFramework, LangVersion, Nullable, OutputType,\r\n  TreatWarningsAsErrors, and other MSBuild configuration settings. Use when asked to \"change\r\n  TargetFramework\", \"update project settings\", \"enable nullable\", \"set LangVersion\", or modify\r\n  any build property. Also triggers for Directory.Build.props changes, conditional PropertyGroup\r\n  handling, and centralized vs project-specific property decisions.\r\nmetadata:\r\n  traits: .NET|CSharp|VisualBasic|DotNetCore\r\n  discovery: lazy\r\n---\r\n\r\n# Project Properties Modification\r\n\r\n## Overview\r\n\r\nModify .NET project properties in `\u003CPropertyGroup>` elements. Properties may be defined across multiple files in the MSBuild import chain, so always discover where a property is defined before modifying it — changing the wrong file creates confusing overrides or has no effect.\r\n\r\n**Common properties:** TargetFramework, LangVersion, Nullable, OutputType, AssemblyName, TreatWarningsAsErrors, ImplicitUsings\r\n\r\n## Import Chain\r\n\r\nProperties can be defined in multiple locations, evaluated in this order:\r\n\r\n```\r\nSDK imports → Directory.Build.props → Project file → Directory.Build.targets → SDK imports\r\n```\r\n\r\n| Location | Purpose |\r\n|---|---|\r\n| Directory.Build.props | Centralized defaults for all projects |\r\n| .csproj\u002F.vbproj | Project-specific settings and overrides |\r\n| Directory.Build.targets | Post-evaluation defaults |\r\n| Explicit `\u003CImport>` | Custom shared configuration |\r\n\r\nLater definitions override earlier ones, which is why project-file properties override Directory.Build.props values.\r\n\r\n## Workflow\r\n\r\n### Step 1: Discover Import Chain\r\n\r\n```bash\r\nget_project_dependencies \u003Cpath-to-csproj>\r\n```\r\n\r\nThis reveals which .props\u002F.targets files are imported and where packages are referenced. Always run this first — properties are often not where you expect.\r\n\r\nSupplement with direct file inspection:\r\n\r\n```bash\r\n# Find all props files\r\nfind . -name \"Directory.Build.props\"\r\n# Search for a specific property across all project files\r\ngrep -r \"TargetFramework\" . --include=\"*.csproj\" --include=\"*.vbproj\" --include=\"*.fsproj\" --include=\"*.props\"\r\n```\r\n\r\n### Step 2: Find the Property\r\n\r\nSearch each file in the import chain for the target property. Pay attention to `Condition` attributes — they limit when a property applies:\r\n\r\n```xml\r\n\u003C!-- This only applies in Debug builds -->\r\n\u003CPropertyGroup Condition=\"'$(Configuration)'=='Debug'\">\r\n  \u003COptimize>false\u003C\u002FOptimize>\r\n\u003C\u002FPropertyGroup>\r\n```\r\n\r\n### Step 3: Choose Modification Location\r\n\r\n| Scenario | Action | Why |\r\n|---|---|---|\r\n| Property in Directory.Build.props | Modify there | Respect centralization; changing elsewhere creates a confusing override |\r\n| Property in project file | Modify project file | It's an intentional override |\r\n| Property doesn't exist | Ask user | User decides if it should be centralized or project-specific |\r\n\r\n**Centralization guidance:**\r\n- **Usually centralized:** TargetFramework, LangVersion, Nullable, TreatWarningsAsErrors\r\n- **Usually project-specific:** OutputType, AssemblyName, RootNamespace\r\n\r\n### Step 4: Apply the Change\r\n\r\nUse `str_replace` on the correct file.\r\n\r\nWhen modifying conditional properties:\r\n- Understand whether the property should remain conditional or become unconditional\r\n- If removing a condition, preserve other properties in that PropertyGroup\r\n- If the property appears in multiple conditional groups, decide whether to update all or extract to unconditional\r\n\r\n### Step 5: Report Impact\r\n\r\nTell the user which file was modified and the blast radius:\r\n\r\n```\r\n✅ Updated TargetFramework to net8.0 in Directory.Build.props\r\n⚠️  This affects ALL projects in the repository.\r\n```\r\n\r\n```\r\nTask Progress:\r\n- [ ] Step 1: Discover import chain with get_project_dependencies\r\n- [ ] Step 2: Find existing property definition(s)\r\n- [ ] Step 3: Determine correct modification location\r\n- [ ] Step 4: Apply the change\r\n- [ ] Step 5: Report impact to user\r\n```\r\n\r\n## Examples\r\n\r\n### Centralized Property Update\r\n\r\n**Task:** Update TargetFramework to net8.0\r\n\r\n1. Run `get_project_dependencies` → find Directory.Build.props in import chain\r\n2. Find `\u003CTargetFramework>net48\u003C\u002FTargetFramework>` in Directory.Build.props\r\n3. Modify Directory.Build.props (centralized location):\r\n   ```\r\n   str_replace Directory.Build.props\r\n   old: \u003CTargetFramework>net48\u003C\u002FTargetFramework>\r\n   new: \u003CTargetFramework>net8.0\u003C\u002FTargetFramework>\r\n   ```\r\n4. Report: \"Updated in Directory.Build.props — affects all projects\"\r\n\r\n### Project-Specific Override\r\n\r\n**Task:** Set LangVersion to 12.0 for ExperimentalProject.csproj\r\n\r\n1. Find `\u003CLangVersion>11.0\u003C\u002FLangVersion>` in Directory.Build.props\r\n2. Find `\u003CLangVersion>preview\u003C\u002FLangVersion>` override in ExperimentalProject.csproj\r\n3. Modify the project file (respect the intentional override):\r\n   ```\r\n   str_replace ExperimentalProject.csproj\r\n   old: \u003CLangVersion>preview\u003C\u002FLangVersion>\r\n   new: \u003CLangVersion>12.0\u003C\u002FLangVersion>\r\n   ```\r\n4. Report: \"Updated in ExperimentalProject.csproj — overrides default (11.0) from Directory.Build.props\"\r\n\r\n### Adding a New Property\r\n\r\n**Task:** Enable nullable reference types\r\n\r\n1. Search all files — property not found\r\n2. Ask user: \"Apply to all projects (Directory.Build.props) or just this project?\"\r\n3. User chooses centralized → add inside existing PropertyGroup:\r\n   ```\r\n   str_replace Directory.Build.props\r\n   old:   \u003CLangVersion>11.0\u003C\u002FLangVersion>\r\n     \u003C\u002FPropertyGroup>\r\n   new:   \u003CLangVersion>11.0\u003C\u002FLangVersion>\r\n       \u003CNullable>enable\u003C\u002FNullable>\r\n     \u003C\u002FPropertyGroup>\r\n   ```\r\n4. Report: \"Enabled nullable in Directory.Build.props — all projects affected, expect new warnings\"\r\n\r\n### Conditional Property Modification\r\n\r\n**Task:** Set Optimize=true unconditionally (currently conditional)\r\n\r\nFound in Directory.Build.props:\r\n```xml\r\n\u003CPropertyGroup Condition=\"'$(Configuration)'=='Debug'\">\r\n  \u003COptimize>false\u003C\u002FOptimize>\r\n  \u003CDebugType>full\u003C\u002FDebugType>\r\n\u003C\u002FPropertyGroup>\r\n\u003CPropertyGroup Condition=\"'$(Configuration)'=='Release'\">\r\n  \u003COptimize>true\u003C\u002FOptimize>\r\n  \u003CDebugType>portable\u003C\u002FDebugType>\r\n\u003C\u002FPropertyGroup>\r\n```\r\n\r\n**Option A — Extract to unconditional group** (preserves other conditional properties):\r\n```xml\r\n\u003CPropertyGroup>\r\n  \u003COptimize>true\u003C\u002FOptimize>\r\n\u003C\u002FPropertyGroup>\r\n\u003CPropertyGroup Condition=\"'$(Configuration)'=='Debug'\">\r\n  \u003CDebugType>full\u003C\u002FDebugType>\r\n\u003C\u002FPropertyGroup>\r\n\u003CPropertyGroup Condition=\"'$(Configuration)'=='Release'\">\r\n  \u003CDebugType>portable\u003C\u002FDebugType>\r\n\u003C\u002FPropertyGroup>\r\n```\r\n\r\n**Option B — Update within conditions** (simpler, keeps structure):\r\nChange `\u003COptimize>false\u003C\u002FOptimize>` to `\u003COptimize>true\u003C\u002FOptimize>` in Debug group only.\r\n\r\n## Property Reference\r\n\r\n| Category | Properties |\r\n|---|---|\r\n| Framework\u002FLanguage | TargetFramework, LangVersion, ImplicitUsings |\r\n| Code Quality | Nullable, TreatWarningsAsErrors, WarningLevel, NoWarn |\r\n| Output | OutputType (Exe\u002FLibrary\u002FWinExe), AssemblyName, RootNamespace |\r\n| Build | Deterministic, DebugType, Optimize |\r\n\r\n## Red Flags\r\n\r\n- **Never modify without discovering imports first** — the property may not be where you expect, and changing the wrong file creates silent conflicts\r\n- **Never add a property to the project file when it exists in Directory.Build.props** — this creates a confusing override that's hard to debug\r\n- **Never ignore Condition attributes** — modifying a conditional property without understanding the condition can break specific build configurations\r\n- **Never assume property is in the project file** — most shared settings live in Directory.Build.props\r\n\r\n**Watch for:** Multiple Directory.Build.props files (nearest to project wins), intentional overrides in project files, Condition attributes on PropertyGroup or individual properties.\r\n\r\n## Troubleshooting\r\n\r\n| Problem | Solution |\r\n|---|---|\r\n| Property not taking effect | Check for Condition attributes limiting when it applies; check for overrides in project file |\r\n| Changed Directory.Build.props but one project unaffected | Project has explicit override in the project file; check for excluding Condition |\r\n| Unexpected property value | Run `dotnet msbuild \u002Fpp` to see fully evaluated project with all imports resolved |\r\n| Multiple Directory.Build.props — which wins? | Nearest to project file: repo root → src\u002F → src\u002FMyApp\u002F |\r\n\r\n## Related Skills\r\n\r\nFor package management (ItemGroup elements), see the **project-package-management** skill.\r\n",{"data":31,"body":35},{"name":4,"description":6,"metadata":32},{"traits":33,"discovery":34},".NET|CSharp|VisualBasic|DotNetCore","lazy",{"type":36,"children":37},"root",[38,47,54,69,80,86,91,103,189,194,200,207,250,255,260,419,425,438,479,485,566,574,599,605,618,623,641,647,652,661,670,676,682,692,740,746,755,800,806,815,847,853,862,867,937,947,1019,1045,1051,1125,1131,1174,1184,1190,1271,1277,1289],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"project-properties-modification",[44],{"type":45,"value":46},"text","Project Properties Modification",{"type":39,"tag":48,"props":49,"children":51},"h2",{"id":50},"overview",[52],{"type":45,"value":53},"Overview",{"type":39,"tag":55,"props":56,"children":57},"p",{},[58,60,67],{"type":45,"value":59},"Modify .NET project properties in ",{"type":39,"tag":61,"props":62,"children":64},"code",{"className":63},[],[65],{"type":45,"value":66},"\u003CPropertyGroup>",{"type":45,"value":68}," elements. Properties may be defined across multiple files in the MSBuild import chain, so always discover where a property is defined before modifying it — changing the wrong file creates confusing overrides or has no effect.",{"type":39,"tag":55,"props":70,"children":71},{},[72,78],{"type":39,"tag":73,"props":74,"children":75},"strong",{},[76],{"type":45,"value":77},"Common properties:",{"type":45,"value":79}," TargetFramework, LangVersion, Nullable, OutputType, AssemblyName, TreatWarningsAsErrors, ImplicitUsings",{"type":39,"tag":48,"props":81,"children":83},{"id":82},"import-chain",[84],{"type":45,"value":85},"Import Chain",{"type":39,"tag":55,"props":87,"children":88},{},[89],{"type":45,"value":90},"Properties can be defined in multiple locations, evaluated in this order:",{"type":39,"tag":92,"props":93,"children":97},"pre",{"className":94,"code":96,"language":45},[95],"language-text","SDK imports → Directory.Build.props → Project file → Directory.Build.targets → SDK imports\n",[98],{"type":39,"tag":61,"props":99,"children":101},{"__ignoreMap":100},"",[102],{"type":45,"value":96},{"type":39,"tag":104,"props":105,"children":106},"table",{},[107,126],{"type":39,"tag":108,"props":109,"children":110},"thead",{},[111],{"type":39,"tag":112,"props":113,"children":114},"tr",{},[115,121],{"type":39,"tag":116,"props":117,"children":118},"th",{},[119],{"type":45,"value":120},"Location",{"type":39,"tag":116,"props":122,"children":123},{},[124],{"type":45,"value":125},"Purpose",{"type":39,"tag":127,"props":128,"children":129},"tbody",{},[130,144,157,170],{"type":39,"tag":112,"props":131,"children":132},{},[133,139],{"type":39,"tag":134,"props":135,"children":136},"td",{},[137],{"type":45,"value":138},"Directory.Build.props",{"type":39,"tag":134,"props":140,"children":141},{},[142],{"type":45,"value":143},"Centralized defaults for all projects",{"type":39,"tag":112,"props":145,"children":146},{},[147,152],{"type":39,"tag":134,"props":148,"children":149},{},[150],{"type":45,"value":151},".csproj\u002F.vbproj",{"type":39,"tag":134,"props":153,"children":154},{},[155],{"type":45,"value":156},"Project-specific settings and overrides",{"type":39,"tag":112,"props":158,"children":159},{},[160,165],{"type":39,"tag":134,"props":161,"children":162},{},[163],{"type":45,"value":164},"Directory.Build.targets",{"type":39,"tag":134,"props":166,"children":167},{},[168],{"type":45,"value":169},"Post-evaluation defaults",{"type":39,"tag":112,"props":171,"children":172},{},[173,184],{"type":39,"tag":134,"props":174,"children":175},{},[176,178],{"type":45,"value":177},"Explicit ",{"type":39,"tag":61,"props":179,"children":181},{"className":180},[],[182],{"type":45,"value":183},"\u003CImport>",{"type":39,"tag":134,"props":185,"children":186},{},[187],{"type":45,"value":188},"Custom shared configuration",{"type":39,"tag":55,"props":190,"children":191},{},[192],{"type":45,"value":193},"Later definitions override earlier ones, which is why project-file properties override Directory.Build.props values.",{"type":39,"tag":48,"props":195,"children":197},{"id":196},"workflow",[198],{"type":45,"value":199},"Workflow",{"type":39,"tag":201,"props":202,"children":204},"h3",{"id":203},"step-1-discover-import-chain",[205],{"type":45,"value":206},"Step 1: Discover Import Chain",{"type":39,"tag":92,"props":208,"children":212},{"className":209,"code":210,"language":211,"meta":100,"style":100},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","get_project_dependencies \u003Cpath-to-csproj>\n","bash",[213],{"type":39,"tag":61,"props":214,"children":215},{"__ignoreMap":100},[216],{"type":39,"tag":217,"props":218,"children":220},"span",{"class":219,"line":24},"line",[221,227,233,239,245],{"type":39,"tag":217,"props":222,"children":224},{"style":223},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[225],{"type":45,"value":226},"get_project_dependencies",{"type":39,"tag":217,"props":228,"children":230},{"style":229},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[231],{"type":45,"value":232}," \u003C",{"type":39,"tag":217,"props":234,"children":236},{"style":235},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[237],{"type":45,"value":238},"path-to-cspro",{"type":39,"tag":217,"props":240,"children":242},{"style":241},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[243],{"type":45,"value":244},"j",{"type":39,"tag":217,"props":246,"children":247},{"style":229},[248],{"type":45,"value":249},">\n",{"type":39,"tag":55,"props":251,"children":252},{},[253],{"type":45,"value":254},"This reveals which .props\u002F.targets files are imported and where packages are referenced. Always run this first — properties are often not where you expect.",{"type":39,"tag":55,"props":256,"children":257},{},[258],{"type":45,"value":259},"Supplement with direct file inspection:",{"type":39,"tag":92,"props":261,"children":263},{"className":209,"code":262,"language":211,"meta":100,"style":100},"# Find all props files\nfind . -name \"Directory.Build.props\"\n# Search for a specific property across all project files\ngrep -r \"TargetFramework\" . --include=\"*.csproj\" --include=\"*.vbproj\" --include=\"*.fsproj\" --include=\"*.props\"\n",[264],{"type":39,"tag":61,"props":265,"children":266},{"__ignoreMap":100},[267,276,309,318],{"type":39,"tag":217,"props":268,"children":269},{"class":219,"line":24},[270],{"type":39,"tag":217,"props":271,"children":273},{"style":272},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[274],{"type":45,"value":275},"# Find all props files\n",{"type":39,"tag":217,"props":277,"children":279},{"class":219,"line":278},2,[280,285,290,295,300,304],{"type":39,"tag":217,"props":281,"children":282},{"style":223},[283],{"type":45,"value":284},"find",{"type":39,"tag":217,"props":286,"children":287},{"style":235},[288],{"type":45,"value":289}," .",{"type":39,"tag":217,"props":291,"children":292},{"style":235},[293],{"type":45,"value":294}," -name",{"type":39,"tag":217,"props":296,"children":297},{"style":229},[298],{"type":45,"value":299}," \"",{"type":39,"tag":217,"props":301,"children":302},{"style":235},[303],{"type":45,"value":138},{"type":39,"tag":217,"props":305,"children":306},{"style":229},[307],{"type":45,"value":308},"\"\n",{"type":39,"tag":217,"props":310,"children":312},{"class":219,"line":311},3,[313],{"type":39,"tag":217,"props":314,"children":315},{"style":272},[316],{"type":45,"value":317},"# Search for a specific property across all project files\n",{"type":39,"tag":217,"props":319,"children":321},{"class":219,"line":320},4,[322,327,332,336,341,346,350,355,359,364,368,372,376,381,385,389,393,398,402,406,410,415],{"type":39,"tag":217,"props":323,"children":324},{"style":223},[325],{"type":45,"value":326},"grep",{"type":39,"tag":217,"props":328,"children":329},{"style":235},[330],{"type":45,"value":331}," -r",{"type":39,"tag":217,"props":333,"children":334},{"style":229},[335],{"type":45,"value":299},{"type":39,"tag":217,"props":337,"children":338},{"style":235},[339],{"type":45,"value":340},"TargetFramework",{"type":39,"tag":217,"props":342,"children":343},{"style":229},[344],{"type":45,"value":345},"\"",{"type":39,"tag":217,"props":347,"children":348},{"style":235},[349],{"type":45,"value":289},{"type":39,"tag":217,"props":351,"children":352},{"style":235},[353],{"type":45,"value":354}," --include=",{"type":39,"tag":217,"props":356,"children":357},{"style":229},[358],{"type":45,"value":345},{"type":39,"tag":217,"props":360,"children":361},{"style":235},[362],{"type":45,"value":363},"*.csproj",{"type":39,"tag":217,"props":365,"children":366},{"style":229},[367],{"type":45,"value":345},{"type":39,"tag":217,"props":369,"children":370},{"style":235},[371],{"type":45,"value":354},{"type":39,"tag":217,"props":373,"children":374},{"style":229},[375],{"type":45,"value":345},{"type":39,"tag":217,"props":377,"children":378},{"style":235},[379],{"type":45,"value":380},"*.vbproj",{"type":39,"tag":217,"props":382,"children":383},{"style":229},[384],{"type":45,"value":345},{"type":39,"tag":217,"props":386,"children":387},{"style":235},[388],{"type":45,"value":354},{"type":39,"tag":217,"props":390,"children":391},{"style":229},[392],{"type":45,"value":345},{"type":39,"tag":217,"props":394,"children":395},{"style":235},[396],{"type":45,"value":397},"*.fsproj",{"type":39,"tag":217,"props":399,"children":400},{"style":229},[401],{"type":45,"value":345},{"type":39,"tag":217,"props":403,"children":404},{"style":235},[405],{"type":45,"value":354},{"type":39,"tag":217,"props":407,"children":408},{"style":229},[409],{"type":45,"value":345},{"type":39,"tag":217,"props":411,"children":412},{"style":235},[413],{"type":45,"value":414},"*.props",{"type":39,"tag":217,"props":416,"children":417},{"style":229},[418],{"type":45,"value":308},{"type":39,"tag":201,"props":420,"children":422},{"id":421},"step-2-find-the-property",[423],{"type":45,"value":424},"Step 2: Find the Property",{"type":39,"tag":55,"props":426,"children":427},{},[428,430,436],{"type":45,"value":429},"Search each file in the import chain for the target property. Pay attention to ",{"type":39,"tag":61,"props":431,"children":433},{"className":432},[],[434],{"type":45,"value":435},"Condition",{"type":45,"value":437}," attributes — they limit when a property applies:",{"type":39,"tag":92,"props":439,"children":443},{"className":440,"code":441,"language":442,"meta":100,"style":100},"language-xml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003C!-- This only applies in Debug builds -->\n\u003CPropertyGroup Condition=\"'$(Configuration)'=='Debug'\">\n  \u003COptimize>false\u003C\u002FOptimize>\n\u003C\u002FPropertyGroup>\n","xml",[444],{"type":39,"tag":61,"props":445,"children":446},{"__ignoreMap":100},[447,455,463,471],{"type":39,"tag":217,"props":448,"children":449},{"class":219,"line":24},[450],{"type":39,"tag":217,"props":451,"children":452},{},[453],{"type":45,"value":454},"\u003C!-- This only applies in Debug builds -->\n",{"type":39,"tag":217,"props":456,"children":457},{"class":219,"line":278},[458],{"type":39,"tag":217,"props":459,"children":460},{},[461],{"type":45,"value":462},"\u003CPropertyGroup Condition=\"'$(Configuration)'=='Debug'\">\n",{"type":39,"tag":217,"props":464,"children":465},{"class":219,"line":311},[466],{"type":39,"tag":217,"props":467,"children":468},{},[469],{"type":45,"value":470},"  \u003COptimize>false\u003C\u002FOptimize>\n",{"type":39,"tag":217,"props":472,"children":473},{"class":219,"line":320},[474],{"type":39,"tag":217,"props":475,"children":476},{},[477],{"type":45,"value":478},"\u003C\u002FPropertyGroup>\n",{"type":39,"tag":201,"props":480,"children":482},{"id":481},"step-3-choose-modification-location",[483],{"type":45,"value":484},"Step 3: Choose Modification Location",{"type":39,"tag":104,"props":486,"children":487},{},[488,509],{"type":39,"tag":108,"props":489,"children":490},{},[491],{"type":39,"tag":112,"props":492,"children":493},{},[494,499,504],{"type":39,"tag":116,"props":495,"children":496},{},[497],{"type":45,"value":498},"Scenario",{"type":39,"tag":116,"props":500,"children":501},{},[502],{"type":45,"value":503},"Action",{"type":39,"tag":116,"props":505,"children":506},{},[507],{"type":45,"value":508},"Why",{"type":39,"tag":127,"props":510,"children":511},{},[512,530,548],{"type":39,"tag":112,"props":513,"children":514},{},[515,520,525],{"type":39,"tag":134,"props":516,"children":517},{},[518],{"type":45,"value":519},"Property in Directory.Build.props",{"type":39,"tag":134,"props":521,"children":522},{},[523],{"type":45,"value":524},"Modify there",{"type":39,"tag":134,"props":526,"children":527},{},[528],{"type":45,"value":529},"Respect centralization; changing elsewhere creates a confusing override",{"type":39,"tag":112,"props":531,"children":532},{},[533,538,543],{"type":39,"tag":134,"props":534,"children":535},{},[536],{"type":45,"value":537},"Property in project file",{"type":39,"tag":134,"props":539,"children":540},{},[541],{"type":45,"value":542},"Modify project file",{"type":39,"tag":134,"props":544,"children":545},{},[546],{"type":45,"value":547},"It's an intentional override",{"type":39,"tag":112,"props":549,"children":550},{},[551,556,561],{"type":39,"tag":134,"props":552,"children":553},{},[554],{"type":45,"value":555},"Property doesn't exist",{"type":39,"tag":134,"props":557,"children":558},{},[559],{"type":45,"value":560},"Ask user",{"type":39,"tag":134,"props":562,"children":563},{},[564],{"type":45,"value":565},"User decides if it should be centralized or project-specific",{"type":39,"tag":55,"props":567,"children":568},{},[569],{"type":39,"tag":73,"props":570,"children":571},{},[572],{"type":45,"value":573},"Centralization guidance:",{"type":39,"tag":575,"props":576,"children":577},"ul",{},[578,589],{"type":39,"tag":579,"props":580,"children":581},"li",{},[582,587],{"type":39,"tag":73,"props":583,"children":584},{},[585],{"type":45,"value":586},"Usually centralized:",{"type":45,"value":588}," TargetFramework, LangVersion, Nullable, TreatWarningsAsErrors",{"type":39,"tag":579,"props":590,"children":591},{},[592,597],{"type":39,"tag":73,"props":593,"children":594},{},[595],{"type":45,"value":596},"Usually project-specific:",{"type":45,"value":598}," OutputType, AssemblyName, RootNamespace",{"type":39,"tag":201,"props":600,"children":602},{"id":601},"step-4-apply-the-change",[603],{"type":45,"value":604},"Step 4: Apply the Change",{"type":39,"tag":55,"props":606,"children":607},{},[608,610,616],{"type":45,"value":609},"Use ",{"type":39,"tag":61,"props":611,"children":613},{"className":612},[],[614],{"type":45,"value":615},"str_replace",{"type":45,"value":617}," on the correct file.",{"type":39,"tag":55,"props":619,"children":620},{},[621],{"type":45,"value":622},"When modifying conditional properties:",{"type":39,"tag":575,"props":624,"children":625},{},[626,631,636],{"type":39,"tag":579,"props":627,"children":628},{},[629],{"type":45,"value":630},"Understand whether the property should remain conditional or become unconditional",{"type":39,"tag":579,"props":632,"children":633},{},[634],{"type":45,"value":635},"If removing a condition, preserve other properties in that PropertyGroup",{"type":39,"tag":579,"props":637,"children":638},{},[639],{"type":45,"value":640},"If the property appears in multiple conditional groups, decide whether to update all or extract to unconditional",{"type":39,"tag":201,"props":642,"children":644},{"id":643},"step-5-report-impact",[645],{"type":45,"value":646},"Step 5: Report Impact",{"type":39,"tag":55,"props":648,"children":649},{},[650],{"type":45,"value":651},"Tell the user which file was modified and the blast radius:",{"type":39,"tag":92,"props":653,"children":656},{"className":654,"code":655,"language":45},[95],"✅ Updated TargetFramework to net8.0 in Directory.Build.props\n⚠️  This affects ALL projects in the repository.\n",[657],{"type":39,"tag":61,"props":658,"children":659},{"__ignoreMap":100},[660],{"type":45,"value":655},{"type":39,"tag":92,"props":662,"children":665},{"className":663,"code":664,"language":45},[95],"Task Progress:\n- [ ] Step 1: Discover import chain with get_project_dependencies\n- [ ] Step 2: Find existing property definition(s)\n- [ ] Step 3: Determine correct modification location\n- [ ] Step 4: Apply the change\n- [ ] Step 5: Report impact to user\n",[666],{"type":39,"tag":61,"props":667,"children":668},{"__ignoreMap":100},[669],{"type":45,"value":664},{"type":39,"tag":48,"props":671,"children":673},{"id":672},"examples",[674],{"type":45,"value":675},"Examples",{"type":39,"tag":201,"props":677,"children":679},{"id":678},"centralized-property-update",[680],{"type":45,"value":681},"Centralized Property Update",{"type":39,"tag":55,"props":683,"children":684},{},[685,690],{"type":39,"tag":73,"props":686,"children":687},{},[688],{"type":45,"value":689},"Task:",{"type":45,"value":691}," Update TargetFramework to net8.0",{"type":39,"tag":693,"props":694,"children":695},"ol",{},[696,708,721,735],{"type":39,"tag":579,"props":697,"children":698},{},[699,701,706],{"type":45,"value":700},"Run ",{"type":39,"tag":61,"props":702,"children":704},{"className":703},[],[705],{"type":45,"value":226},{"type":45,"value":707}," → find Directory.Build.props in import chain",{"type":39,"tag":579,"props":709,"children":710},{},[711,713,719],{"type":45,"value":712},"Find ",{"type":39,"tag":61,"props":714,"children":716},{"className":715},[],[717],{"type":45,"value":718},"\u003CTargetFramework>net48\u003C\u002FTargetFramework>",{"type":45,"value":720}," in Directory.Build.props",{"type":39,"tag":579,"props":722,"children":723},{},[724,726],{"type":45,"value":725},"Modify Directory.Build.props (centralized location):\n",{"type":39,"tag":92,"props":727,"children":730},{"className":728,"code":729,"language":45},[95],"str_replace Directory.Build.props\nold: \u003CTargetFramework>net48\u003C\u002FTargetFramework>\nnew: \u003CTargetFramework>net8.0\u003C\u002FTargetFramework>\n",[731],{"type":39,"tag":61,"props":732,"children":733},{"__ignoreMap":100},[734],{"type":45,"value":729},{"type":39,"tag":579,"props":736,"children":737},{},[738],{"type":45,"value":739},"Report: \"Updated in Directory.Build.props — affects all projects\"",{"type":39,"tag":201,"props":741,"children":743},{"id":742},"project-specific-override",[744],{"type":45,"value":745},"Project-Specific Override",{"type":39,"tag":55,"props":747,"children":748},{},[749,753],{"type":39,"tag":73,"props":750,"children":751},{},[752],{"type":45,"value":689},{"type":45,"value":754}," Set LangVersion to 12.0 for ExperimentalProject.csproj",{"type":39,"tag":693,"props":756,"children":757},{},[758,769,781,795],{"type":39,"tag":579,"props":759,"children":760},{},[761,762,768],{"type":45,"value":712},{"type":39,"tag":61,"props":763,"children":765},{"className":764},[],[766],{"type":45,"value":767},"\u003CLangVersion>11.0\u003C\u002FLangVersion>",{"type":45,"value":720},{"type":39,"tag":579,"props":770,"children":771},{},[772,773,779],{"type":45,"value":712},{"type":39,"tag":61,"props":774,"children":776},{"className":775},[],[777],{"type":45,"value":778},"\u003CLangVersion>preview\u003C\u002FLangVersion>",{"type":45,"value":780}," override in ExperimentalProject.csproj",{"type":39,"tag":579,"props":782,"children":783},{},[784,786],{"type":45,"value":785},"Modify the project file (respect the intentional override):\n",{"type":39,"tag":92,"props":787,"children":790},{"className":788,"code":789,"language":45},[95],"str_replace ExperimentalProject.csproj\nold: \u003CLangVersion>preview\u003C\u002FLangVersion>\nnew: \u003CLangVersion>12.0\u003C\u002FLangVersion>\n",[791],{"type":39,"tag":61,"props":792,"children":793},{"__ignoreMap":100},[794],{"type":45,"value":789},{"type":39,"tag":579,"props":796,"children":797},{},[798],{"type":45,"value":799},"Report: \"Updated in ExperimentalProject.csproj — overrides default (11.0) from Directory.Build.props\"",{"type":39,"tag":201,"props":801,"children":803},{"id":802},"adding-a-new-property",[804],{"type":45,"value":805},"Adding a New Property",{"type":39,"tag":55,"props":807,"children":808},{},[809,813],{"type":39,"tag":73,"props":810,"children":811},{},[812],{"type":45,"value":689},{"type":45,"value":814}," Enable nullable reference types",{"type":39,"tag":693,"props":816,"children":817},{},[818,823,828,842],{"type":39,"tag":579,"props":819,"children":820},{},[821],{"type":45,"value":822},"Search all files — property not found",{"type":39,"tag":579,"props":824,"children":825},{},[826],{"type":45,"value":827},"Ask user: \"Apply to all projects (Directory.Build.props) or just this project?\"",{"type":39,"tag":579,"props":829,"children":830},{},[831,833],{"type":45,"value":832},"User chooses centralized → add inside existing PropertyGroup:\n",{"type":39,"tag":92,"props":834,"children":837},{"className":835,"code":836,"language":45},[95],"str_replace Directory.Build.props\nold:   \u003CLangVersion>11.0\u003C\u002FLangVersion>\n  \u003C\u002FPropertyGroup>\nnew:   \u003CLangVersion>11.0\u003C\u002FLangVersion>\n    \u003CNullable>enable\u003C\u002FNullable>\n  \u003C\u002FPropertyGroup>\n",[838],{"type":39,"tag":61,"props":839,"children":840},{"__ignoreMap":100},[841],{"type":45,"value":836},{"type":39,"tag":579,"props":843,"children":844},{},[845],{"type":45,"value":846},"Report: \"Enabled nullable in Directory.Build.props — all projects affected, expect new warnings\"",{"type":39,"tag":201,"props":848,"children":850},{"id":849},"conditional-property-modification",[851],{"type":45,"value":852},"Conditional Property Modification",{"type":39,"tag":55,"props":854,"children":855},{},[856,860],{"type":39,"tag":73,"props":857,"children":858},{},[859],{"type":45,"value":689},{"type":45,"value":861}," Set Optimize=true unconditionally (currently conditional)",{"type":39,"tag":55,"props":863,"children":864},{},[865],{"type":45,"value":866},"Found in Directory.Build.props:",{"type":39,"tag":92,"props":868,"children":870},{"className":440,"code":869,"language":442,"meta":100,"style":100},"\u003CPropertyGroup Condition=\"'$(Configuration)'=='Debug'\">\n  \u003COptimize>false\u003C\u002FOptimize>\n  \u003CDebugType>full\u003C\u002FDebugType>\n\u003C\u002FPropertyGroup>\n\u003CPropertyGroup Condition=\"'$(Configuration)'=='Release'\">\n  \u003COptimize>true\u003C\u002FOptimize>\n  \u003CDebugType>portable\u003C\u002FDebugType>\n\u003C\u002FPropertyGroup>\n",[871],{"type":39,"tag":61,"props":872,"children":873},{"__ignoreMap":100},[874,881,888,896,903,912,921,929],{"type":39,"tag":217,"props":875,"children":876},{"class":219,"line":24},[877],{"type":39,"tag":217,"props":878,"children":879},{},[880],{"type":45,"value":462},{"type":39,"tag":217,"props":882,"children":883},{"class":219,"line":278},[884],{"type":39,"tag":217,"props":885,"children":886},{},[887],{"type":45,"value":470},{"type":39,"tag":217,"props":889,"children":890},{"class":219,"line":311},[891],{"type":39,"tag":217,"props":892,"children":893},{},[894],{"type":45,"value":895},"  \u003CDebugType>full\u003C\u002FDebugType>\n",{"type":39,"tag":217,"props":897,"children":898},{"class":219,"line":320},[899],{"type":39,"tag":217,"props":900,"children":901},{},[902],{"type":45,"value":478},{"type":39,"tag":217,"props":904,"children":906},{"class":219,"line":905},5,[907],{"type":39,"tag":217,"props":908,"children":909},{},[910],{"type":45,"value":911},"\u003CPropertyGroup Condition=\"'$(Configuration)'=='Release'\">\n",{"type":39,"tag":217,"props":913,"children":915},{"class":219,"line":914},6,[916],{"type":39,"tag":217,"props":917,"children":918},{},[919],{"type":45,"value":920},"  \u003COptimize>true\u003C\u002FOptimize>\n",{"type":39,"tag":217,"props":922,"children":923},{"class":219,"line":20},[924],{"type":39,"tag":217,"props":925,"children":926},{},[927],{"type":45,"value":928},"  \u003CDebugType>portable\u003C\u002FDebugType>\n",{"type":39,"tag":217,"props":930,"children":932},{"class":219,"line":931},8,[933],{"type":39,"tag":217,"props":934,"children":935},{},[936],{"type":45,"value":478},{"type":39,"tag":55,"props":938,"children":939},{},[940,945],{"type":39,"tag":73,"props":941,"children":942},{},[943],{"type":45,"value":944},"Option A — Extract to unconditional group",{"type":45,"value":946}," (preserves other conditional properties):",{"type":39,"tag":92,"props":948,"children":950},{"className":440,"code":949,"language":442,"meta":100,"style":100},"\u003CPropertyGroup>\n  \u003COptimize>true\u003C\u002FOptimize>\n\u003C\u002FPropertyGroup>\n\u003CPropertyGroup Condition=\"'$(Configuration)'=='Debug'\">\n  \u003CDebugType>full\u003C\u002FDebugType>\n\u003C\u002FPropertyGroup>\n\u003CPropertyGroup Condition=\"'$(Configuration)'=='Release'\">\n  \u003CDebugType>portable\u003C\u002FDebugType>\n\u003C\u002FPropertyGroup>\n",[951],{"type":39,"tag":61,"props":952,"children":953},{"__ignoreMap":100},[954,962,969,976,983,990,997,1004,1011],{"type":39,"tag":217,"props":955,"children":956},{"class":219,"line":24},[957],{"type":39,"tag":217,"props":958,"children":959},{},[960],{"type":45,"value":961},"\u003CPropertyGroup>\n",{"type":39,"tag":217,"props":963,"children":964},{"class":219,"line":278},[965],{"type":39,"tag":217,"props":966,"children":967},{},[968],{"type":45,"value":920},{"type":39,"tag":217,"props":970,"children":971},{"class":219,"line":311},[972],{"type":39,"tag":217,"props":973,"children":974},{},[975],{"type":45,"value":478},{"type":39,"tag":217,"props":977,"children":978},{"class":219,"line":320},[979],{"type":39,"tag":217,"props":980,"children":981},{},[982],{"type":45,"value":462},{"type":39,"tag":217,"props":984,"children":985},{"class":219,"line":905},[986],{"type":39,"tag":217,"props":987,"children":988},{},[989],{"type":45,"value":895},{"type":39,"tag":217,"props":991,"children":992},{"class":219,"line":914},[993],{"type":39,"tag":217,"props":994,"children":995},{},[996],{"type":45,"value":478},{"type":39,"tag":217,"props":998,"children":999},{"class":219,"line":20},[1000],{"type":39,"tag":217,"props":1001,"children":1002},{},[1003],{"type":45,"value":911},{"type":39,"tag":217,"props":1005,"children":1006},{"class":219,"line":931},[1007],{"type":39,"tag":217,"props":1008,"children":1009},{},[1010],{"type":45,"value":928},{"type":39,"tag":217,"props":1012,"children":1014},{"class":219,"line":1013},9,[1015],{"type":39,"tag":217,"props":1016,"children":1017},{},[1018],{"type":45,"value":478},{"type":39,"tag":55,"props":1020,"children":1021},{},[1022,1027,1029,1035,1037,1043],{"type":39,"tag":73,"props":1023,"children":1024},{},[1025],{"type":45,"value":1026},"Option B — Update within conditions",{"type":45,"value":1028}," (simpler, keeps structure):\nChange ",{"type":39,"tag":61,"props":1030,"children":1032},{"className":1031},[],[1033],{"type":45,"value":1034},"\u003COptimize>false\u003C\u002FOptimize>",{"type":45,"value":1036}," to ",{"type":39,"tag":61,"props":1038,"children":1040},{"className":1039},[],[1041],{"type":45,"value":1042},"\u003COptimize>true\u003C\u002FOptimize>",{"type":45,"value":1044}," in Debug group only.",{"type":39,"tag":48,"props":1046,"children":1048},{"id":1047},"property-reference",[1049],{"type":45,"value":1050},"Property Reference",{"type":39,"tag":104,"props":1052,"children":1053},{},[1054,1070],{"type":39,"tag":108,"props":1055,"children":1056},{},[1057],{"type":39,"tag":112,"props":1058,"children":1059},{},[1060,1065],{"type":39,"tag":116,"props":1061,"children":1062},{},[1063],{"type":45,"value":1064},"Category",{"type":39,"tag":116,"props":1066,"children":1067},{},[1068],{"type":45,"value":1069},"Properties",{"type":39,"tag":127,"props":1071,"children":1072},{},[1073,1086,1099,1112],{"type":39,"tag":112,"props":1074,"children":1075},{},[1076,1081],{"type":39,"tag":134,"props":1077,"children":1078},{},[1079],{"type":45,"value":1080},"Framework\u002FLanguage",{"type":39,"tag":134,"props":1082,"children":1083},{},[1084],{"type":45,"value":1085},"TargetFramework, LangVersion, ImplicitUsings",{"type":39,"tag":112,"props":1087,"children":1088},{},[1089,1094],{"type":39,"tag":134,"props":1090,"children":1091},{},[1092],{"type":45,"value":1093},"Code Quality",{"type":39,"tag":134,"props":1095,"children":1096},{},[1097],{"type":45,"value":1098},"Nullable, TreatWarningsAsErrors, WarningLevel, NoWarn",{"type":39,"tag":112,"props":1100,"children":1101},{},[1102,1107],{"type":39,"tag":134,"props":1103,"children":1104},{},[1105],{"type":45,"value":1106},"Output",{"type":39,"tag":134,"props":1108,"children":1109},{},[1110],{"type":45,"value":1111},"OutputType (Exe\u002FLibrary\u002FWinExe), AssemblyName, RootNamespace",{"type":39,"tag":112,"props":1113,"children":1114},{},[1115,1120],{"type":39,"tag":134,"props":1116,"children":1117},{},[1118],{"type":45,"value":1119},"Build",{"type":39,"tag":134,"props":1121,"children":1122},{},[1123],{"type":45,"value":1124},"Deterministic, DebugType, Optimize",{"type":39,"tag":48,"props":1126,"children":1128},{"id":1127},"red-flags",[1129],{"type":45,"value":1130},"Red Flags",{"type":39,"tag":575,"props":1132,"children":1133},{},[1134,1144,1154,1164],{"type":39,"tag":579,"props":1135,"children":1136},{},[1137,1142],{"type":39,"tag":73,"props":1138,"children":1139},{},[1140],{"type":45,"value":1141},"Never modify without discovering imports first",{"type":45,"value":1143}," — the property may not be where you expect, and changing the wrong file creates silent conflicts",{"type":39,"tag":579,"props":1145,"children":1146},{},[1147,1152],{"type":39,"tag":73,"props":1148,"children":1149},{},[1150],{"type":45,"value":1151},"Never add a property to the project file when it exists in Directory.Build.props",{"type":45,"value":1153}," — this creates a confusing override that's hard to debug",{"type":39,"tag":579,"props":1155,"children":1156},{},[1157,1162],{"type":39,"tag":73,"props":1158,"children":1159},{},[1160],{"type":45,"value":1161},"Never ignore Condition attributes",{"type":45,"value":1163}," — modifying a conditional property without understanding the condition can break specific build configurations",{"type":39,"tag":579,"props":1165,"children":1166},{},[1167,1172],{"type":39,"tag":73,"props":1168,"children":1169},{},[1170],{"type":45,"value":1171},"Never assume property is in the project file",{"type":45,"value":1173}," — most shared settings live in Directory.Build.props",{"type":39,"tag":55,"props":1175,"children":1176},{},[1177,1182],{"type":39,"tag":73,"props":1178,"children":1179},{},[1180],{"type":45,"value":1181},"Watch for:",{"type":45,"value":1183}," Multiple Directory.Build.props files (nearest to project wins), intentional overrides in project files, Condition attributes on PropertyGroup or individual properties.",{"type":39,"tag":48,"props":1185,"children":1187},{"id":1186},"troubleshooting",[1188],{"type":45,"value":1189},"Troubleshooting",{"type":39,"tag":104,"props":1191,"children":1192},{},[1193,1209],{"type":39,"tag":108,"props":1194,"children":1195},{},[1196],{"type":39,"tag":112,"props":1197,"children":1198},{},[1199,1204],{"type":39,"tag":116,"props":1200,"children":1201},{},[1202],{"type":45,"value":1203},"Problem",{"type":39,"tag":116,"props":1205,"children":1206},{},[1207],{"type":45,"value":1208},"Solution",{"type":39,"tag":127,"props":1210,"children":1211},{},[1212,1225,1238,1258],{"type":39,"tag":112,"props":1213,"children":1214},{},[1215,1220],{"type":39,"tag":134,"props":1216,"children":1217},{},[1218],{"type":45,"value":1219},"Property not taking effect",{"type":39,"tag":134,"props":1221,"children":1222},{},[1223],{"type":45,"value":1224},"Check for Condition attributes limiting when it applies; check for overrides in project file",{"type":39,"tag":112,"props":1226,"children":1227},{},[1228,1233],{"type":39,"tag":134,"props":1229,"children":1230},{},[1231],{"type":45,"value":1232},"Changed Directory.Build.props but one project unaffected",{"type":39,"tag":134,"props":1234,"children":1235},{},[1236],{"type":45,"value":1237},"Project has explicit override in the project file; check for excluding Condition",{"type":39,"tag":112,"props":1239,"children":1240},{},[1241,1246],{"type":39,"tag":134,"props":1242,"children":1243},{},[1244],{"type":45,"value":1245},"Unexpected property value",{"type":39,"tag":134,"props":1247,"children":1248},{},[1249,1250,1256],{"type":45,"value":700},{"type":39,"tag":61,"props":1251,"children":1253},{"className":1252},[],[1254],{"type":45,"value":1255},"dotnet msbuild \u002Fpp",{"type":45,"value":1257}," to see fully evaluated project with all imports resolved",{"type":39,"tag":112,"props":1259,"children":1260},{},[1261,1266],{"type":39,"tag":134,"props":1262,"children":1263},{},[1264],{"type":45,"value":1265},"Multiple Directory.Build.props — which wins?",{"type":39,"tag":134,"props":1267,"children":1268},{},[1269],{"type":45,"value":1270},"Nearest to project file: repo root → src\u002F → src\u002FMyApp\u002F",{"type":39,"tag":48,"props":1272,"children":1274},{"id":1273},"related-skills",[1275],{"type":45,"value":1276},"Related Skills",{"type":39,"tag":55,"props":1278,"children":1279},{},[1280,1282,1287],{"type":45,"value":1281},"For package management (ItemGroup elements), see the ",{"type":39,"tag":73,"props":1283,"children":1284},{},[1285],{"type":45,"value":1286},"project-package-management",{"type":45,"value":1288}," skill.",{"type":39,"tag":1290,"props":1291,"children":1292},"style",{},[1293],{"type":45,"value":1294},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1296,"total":1396},[1297,1309,1323,1340,1350,1365,1382],{"slug":1298,"name":1298,"fn":1299,"description":1300,"org":1301,"tags":1302,"stars":20,"repoUrl":21,"updatedAt":1308},"converting-to-cpm","migrate .NET projects to Central Package Management","Converts .NET projects and solutions to NuGet Central Package Management (CPM) with Directory.Packages.props. Use when the user wants to centralize, convert, align, or sync NuGet package versions across multiple projects, resolve version conflicts or mismatches, or get versions consistent across a solution or repository. Also triggers when packages are out of sync or drifting across projects.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1303,1304,1305],{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},{"name":1306,"slug":1307,"type":15},"Migration","migration","2026-07-18T05:14:13.971821",{"slug":1310,"name":1310,"fn":1311,"description":1312,"org":1313,"tags":1314,"stars":20,"repoUrl":21,"updatedAt":1322},"creating-winforms-custom-controls","create custom WinForms controls","Creates custom controls and UserControls for modern WinForms (.NET 6+). Use when deriving from Control, UserControl, Button, TextBox, or other base controls, implementing custom rendering with OnPaint overrides, creating composite controls with child control composition, adding custom properties with [Browsable], [Category], or [DefaultValue] attributes for Designer support, implementing INotifyPropertyChanged for control properties, handling Layout\u002FLayoutEngine for custom sizing, creating scrollable controls with AutoScrollMinSize, implementing dark mode theming, or building List\u002FGrid\u002FTree-like controls. Also triggers for \"custom UserControl\", \"derive from Control\", \"owner-drawn control\", \"Designer properties\", \"[Browsable] attribute\", \"custom WinForms control\", \"LayoutEngine\", \"AutoScroll control\", and \"themed control\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1315,1316,1319],{"name":17,"slug":18,"type":15},{"name":1317,"slug":1318,"type":15},"Windows","windows",{"name":1320,"slug":1321,"type":15},"WinUI","winui","2026-07-03T16:31:30.1325",{"slug":1324,"name":1324,"fn":1325,"description":1326,"org":1327,"tags":1328,"stars":20,"repoUrl":21,"updatedAt":1339},"managing-winforms-high-dpi-layout","design high-DPI responsive WinForms layouts","Implements WinForms high-DPI fluent layouts using TableLayoutPanel, FlowLayoutPanel, and DPI-aware design patterns. Use when creating responsive form layouts that must scale across different DPI settings, implementing Per Monitor V2 (PerMonitorV2) DPI awareness, working with TableLayoutPanel.RowStyles\u002FColumnStyles, using FlowLayoutPanel for dynamic layouts, replacing fixed pixel positioning with container-based layout, troubleshooting DPI scaling issues, or structuring nested layout containers. Also triggers for \"TableLayoutPanel\", \"FlowLayoutPanel\", \"high DPI WinForms\", \"PerMonitorV2\", \"DPI aware layout\", \"responsive WinForms\", \"scale UI\", \"AutoScaleMode\", and \"DPI scaling\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1329,1332,1335,1338],{"name":1330,"slug":1331,"type":15},"Design","design",{"name":1333,"slug":1334,"type":15},"Desktop","desktop",{"name":1336,"slug":1337,"type":15},"UI Components","ui-components",{"name":1317,"slug":1318,"type":15},"2026-07-18T05:14:12.982806",{"slug":1341,"name":1341,"fn":1342,"description":1343,"org":1344,"tags":1345,"stars":20,"repoUrl":21,"updatedAt":1349},"managing-winforms-mvvm","implement MVVM pattern in WinForms","Implements MVVM pattern in WinForms applications (.NET 8+) with ViewModels, Commands, and DataContext. Use when user explicitly requests MVVM implementation, setting up ViewModel with INotifyPropertyChanged or ObservableObject, implementing ICommand or RelayCommand, wiring Form.DataContext, binding controls to ViewModel properties, creating Commands for button clicks, or separating business logic from UI code. Also triggers for \"WinForms MVVM\", \"ViewModel in WinForms\", \"INotifyPropertyChanged\", \"DataContext binding\", \"Command pattern WinForms\", \"ObservableObject\", \"RelayCommand\", and \"testable WinForms\". Also use when fixing existing MVVM code or when guided by winforms-feature-adoption scenario. DO NOT USE FOR: automatic application during version upgrades (opt-in only).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1346,1347,1348],{"name":17,"slug":18,"type":15},{"name":1317,"slug":1318,"type":15},{"name":1320,"slug":1321,"type":15},"2026-07-18T05:14:11.951511",{"slug":1351,"name":1351,"fn":1352,"description":1353,"org":1354,"tags":1355,"stars":20,"repoUrl":21,"updatedAt":1364},"migrating-aspnet-framework-to-core","migrate ASP.NET Framework to Core","Orchestrates migration of ASP.NET Framework (System.Web) MVC and WebAPI projects to ASP.NET Core. Covers only old .NET Framework web projects — not applicable to ASP.NET Core or modern .NET web projects (those are already on the target stack). Defines the ordered phase sequence (project file, host, config, DI, controllers, middleware, auth, views, cleanup), satellite skill dispatch, and migration unit breakdown for both in-place and side-by-side modes. Use when executing a task that upgrades a project with System.Web dependencies, HttpModules, HttpHandlers, MVC controllers, WebAPI controllers, or Global.asax. Also triggers for \"migrate ASP.NET to Core\", \"upgrade MVC project\", \"convert WebAPI to ASP.NET Core\". Not applicable to class libraries unless they directly reference System.Web.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1356,1357,1360,1363],{"name":17,"slug":18,"type":15},{"name":1358,"slug":1359,"type":15},"ASP.NET Core","asp-net-core",{"name":1361,"slug":1362,"type":15},"Backend","backend",{"name":1306,"slug":1307,"type":15},"2026-07-03T16:30:55.581898",{"slug":1366,"name":1366,"fn":1367,"description":1368,"org":1369,"tags":1370,"stars":20,"repoUrl":21,"updatedAt":1381},"migrating-documentdb-to-cosmos","migrate DocumentDB to Cosmos DB","Migrates from the deprecated Microsoft.Azure.DocumentDB SDK (V2) to the modern Microsoft.Azure.Cosmos SDK (V3) for Azure Cosmos DB. Use ONLY when Microsoft.Azure.DocumentDB has been flagged as deprecated or obsolete and must be replaced — not for version-bump scenarios where the V2 SDK is still supported.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1371,1374,1377,1380],{"name":1372,"slug":1373,"type":15},"Azure","azure",{"name":1375,"slug":1376,"type":15},"Cosmos DB","cosmos-db",{"name":1378,"slug":1379,"type":15},"Database","database",{"name":1306,"slug":1307,"type":15},"2026-07-03T16:31:21.932144",{"slug":1383,"name":1383,"fn":1384,"description":1385,"org":1386,"tags":1387,"stars":20,"repoUrl":21,"updatedAt":1395},"migrating-global-asax","migrate Global.asax to ASP.NET Core middleware","Migrates Global.asax application lifecycle events to ASP.NET Core middleware, startup configuration, and Program.cs. Use when upgrading ASP.NET Framework apps containing Global.asax or Global.asax.cs files. Triggers for \"migrate Global.asax\", \"convert application events\", \"move Application_Start to Program.cs\", \"replace Global.asax with middleware\", and ASP.NET-to-Core migration involving request lifecycle, error handling, or session management.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1388,1390,1391,1392],{"name":1358,"slug":1389,"type":15},"aspnet-core",{"name":9,"slug":8,"type":15},{"name":1306,"slug":1307,"type":15},{"name":1393,"slug":1394,"type":15},"Modernization","modernization","2026-07-07T06:54:34.226435",19,{"items":1398,"total":1583},[1399,1421,1438,1459,1474,1491,1502,1515,1530,1543,1558,1571],{"slug":1400,"name":1400,"fn":1401,"description":1402,"org":1403,"tags":1404,"stars":1418,"repoUrl":1419,"updatedAt":1420},"rushstack-best-practices","manage Rush monorepos with best practices","Provides best practices and guidance for working with Rush monorepos. Use when the user is working in a Rush-based repository, asks about Rush commands (install, update, build, rebuild), needs help with project selection, dependency management, build caching, subspace configuration, or troubleshooting Rush-specific issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1405,1408,1411,1412,1415],{"name":1406,"slug":1407,"type":15},"Engineering","engineering",{"name":1409,"slug":1410,"type":15},"Local Development","local-development",{"name":9,"slug":8,"type":15},{"name":1413,"slug":1414,"type":15},"Project Management","project-management",{"name":1416,"slug":1417,"type":15},"Rush","rush",6484,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frushstack","2026-04-06T18:34:44.965032",{"slug":1422,"name":1422,"fn":1423,"description":1424,"org":1425,"tags":1426,"stars":1435,"repoUrl":1436,"updatedAt":1437},"azure-ai-agents-persistent-dotnet","build AI agents with Azure .NET SDK","Azure AI Agents Persistent SDK for .NET. Low-level SDK for creating and managing AI agents with threads, messages, runs, and tools. Use for agent CRUD, conversation threads, streaming responses, function calling, file search, and code interpreter. Triggers: \"PersistentAgentsClient\", \"persistent agents\", \"agent threads\", \"agent runs\", \"streaming agents\", \"function calling agents .NET\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1427,1428,1431,1432],{"name":17,"slug":18,"type":15},{"name":1429,"slug":1430,"type":15},"Agents","agents",{"name":1372,"slug":1373,"type":15},{"name":1433,"slug":1434,"type":15},"LLM","llm",2804,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills","2026-07-03T16:32:10.297433",{"slug":1439,"name":1439,"fn":1440,"description":1441,"org":1442,"tags":1443,"stars":1435,"repoUrl":1436,"updatedAt":1458},"azure-ai-anomalydetector-java","build anomaly detection applications with Java","Build anomaly detection applications with Azure AI Anomaly Detector SDK for Java. Use when implementing univariate\u002Fmultivariate anomaly detection, time-series analysis, or AI-powered monitoring.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1444,1447,1448,1451,1454,1455],{"name":1445,"slug":1446,"type":15},"Analytics","analytics",{"name":1372,"slug":1373,"type":15},{"name":1449,"slug":1450,"type":15},"Data Analysis","data-analysis",{"name":1452,"slug":1453,"type":15},"Java","java",{"name":9,"slug":8,"type":15},{"name":1456,"slug":1457,"type":15},"Monitoring","monitoring","2026-05-13T06:14:16.261754",{"slug":1460,"name":1460,"fn":1461,"description":1462,"org":1463,"tags":1464,"stars":1435,"repoUrl":1436,"updatedAt":1473},"azure-ai-contentsafety-java","build content moderation applications with Azure AI","Build content moderation applications with Azure AI Content Safety SDK for Java. Use when implementing text\u002Fimage analysis, blocklist management, or harm detection for hate, violence, sexual content, and self-harm.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1465,1468,1469,1470],{"name":1466,"slug":1467,"type":15},"AI Infrastructure","ai-infrastructure",{"name":1372,"slug":1373,"type":15},{"name":1452,"slug":1453,"type":15},{"name":1471,"slug":1472,"type":15},"Security","security","2026-07-07T06:53:31.293235",{"slug":1475,"name":1475,"fn":1476,"description":1477,"org":1478,"tags":1479,"stars":1435,"repoUrl":1436,"updatedAt":1490},"azure-ai-contentsafety-py","detect harmful content with Azure AI Content Safety","Azure AI Content Safety SDK for Python. Use for detecting harmful content in text and images with multi-severity classification.\nTriggers: \"azure-ai-contentsafety\", \"ContentSafetyClient\", \"content moderation\", \"harmful content\", \"text analysis\", \"image analysis\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1480,1481,1484,1485,1486,1489],{"name":1372,"slug":1373,"type":15},{"name":1482,"slug":1483,"type":15},"Compliance","compliance",{"name":1433,"slug":1434,"type":15},{"name":9,"slug":8,"type":15},{"name":1487,"slug":1488,"type":15},"Python","python",{"name":1471,"slug":1472,"type":15},"2026-07-18T05:14:23.017504",{"slug":1492,"name":1492,"fn":1493,"description":1494,"org":1495,"tags":1496,"stars":1435,"repoUrl":1436,"updatedAt":1501},"azure-ai-language-conversations-py","implement conversational language understanding with Python","Implement Conversational Language Understanding (CLU) using the azure-ai-language-conversations Python SDK. Use when working with ConversationAnalysisClient to analyze conversation intent and entities, building NLP features, or integrating language understanding into applications.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1497,1498,1499,1500],{"name":1445,"slug":1446,"type":15},{"name":1372,"slug":1373,"type":15},{"name":1433,"slug":1434,"type":15},{"name":1487,"slug":1488,"type":15},"2026-07-31T05:54:29.068751",{"slug":1503,"name":1503,"fn":1504,"description":1505,"org":1506,"tags":1507,"stars":1435,"repoUrl":1436,"updatedAt":1514},"azure-ai-translation-text-py","translate text using Azure AI services","Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications.\nTriggers: \"text translation\", \"translator\", \"translate text\", \"transliterate\", \"TextTranslationClient\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1508,1511,1512,1513],{"name":1509,"slug":1510,"type":15},"API Development","api-development",{"name":1372,"slug":1373,"type":15},{"name":9,"slug":8,"type":15},{"name":1487,"slug":1488,"type":15},"2026-07-18T05:14:16.988376",{"slug":1516,"name":1516,"fn":1517,"description":1518,"org":1519,"tags":1520,"stars":1435,"repoUrl":1436,"updatedAt":1529},"azure-ai-vision-imageanalysis-py","analyze images with Azure AI Vision","Azure AI Vision Image Analysis SDK for captions, tags, objects, OCR, people detection, and smart cropping. Use for computer vision and image understanding tasks.\nTriggers: \"image analysis\", \"computer vision\", \"OCR\", \"object detection\", \"ImageAnalysisClient\", \"image caption\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1521,1522,1525,1528],{"name":1372,"slug":1373,"type":15},{"name":1523,"slug":1524,"type":15},"Computer Vision","computer-vision",{"name":1526,"slug":1527,"type":15},"Images","images",{"name":1487,"slug":1488,"type":15},"2026-07-18T05:14:18.007737",{"slug":1531,"name":1531,"fn":1532,"description":1533,"org":1534,"tags":1535,"stars":1435,"repoUrl":1436,"updatedAt":1542},"azure-appconfiguration-java","manage configuration with Azure App Configuration","Azure App Configuration SDK for Java. Centralized application configuration management with key-value settings, feature flags, and snapshots.\nTriggers: \"ConfigurationClient java\", \"app configuration java\", \"feature flag java\", \"configuration setting java\", \"azure config java\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1536,1537,1538,1541],{"name":1372,"slug":1373,"type":15},{"name":13,"slug":14,"type":15},{"name":1539,"slug":1540,"type":15},"Feature Flags","feature-flags",{"name":1452,"slug":1453,"type":15},"2026-07-03T16:32:01.278468",{"slug":1544,"name":1544,"fn":1545,"description":1546,"org":1547,"tags":1548,"stars":1435,"repoUrl":1436,"updatedAt":1557},"azure-cosmos-rust","build applications with Azure Cosmos DB","Azure Cosmos DB library for Rust (NoSQL API). Document CRUD, containers, and globally distributed data.\nTriggers: \"cosmos db rust\", \"CosmosClient rust\", \"document crud rust\", \"NoSQL rust\", \"partition key rust\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1549,1550,1551,1554],{"name":1375,"slug":1376,"type":15},{"name":1378,"slug":1379,"type":15},{"name":1552,"slug":1553,"type":15},"NoSQL","nosql",{"name":1555,"slug":1556,"type":15},"Rust","rust","2026-07-31T05:54:27.021432",{"slug":1559,"name":1559,"fn":1545,"description":1560,"org":1561,"tags":1562,"stars":1435,"repoUrl":1436,"updatedAt":1570},"azure-cosmos-ts","Azure Cosmos DB JavaScript\u002FTypeScript SDK (@azure\u002Fcosmos) for data plane operations. Use for CRUD operations on documents, queries, bulk operations, and container management. Triggers: \"Cosmos DB\", \"@azure\u002Fcosmos\", \"CosmosClient\", \"document CRUD\", \"NoSQL queries\", \"bulk operations\", \"partition key\", \"container.items\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1563,1564,1565,1566,1567],{"name":1375,"slug":1376,"type":15},{"name":1378,"slug":1379,"type":15},{"name":9,"slug":8,"type":15},{"name":1552,"slug":1553,"type":15},{"name":1568,"slug":1569,"type":15},"TypeScript","typescript","2026-07-03T16:31:19.368382",{"slug":1572,"name":1572,"fn":1573,"description":1574,"org":1575,"tags":1576,"stars":1435,"repoUrl":1436,"updatedAt":1582},"azure-data-tables-java","build table storage applications with Java","Build table storage applications with Azure Tables SDK for Java. Use when working with Azure Table Storage or Cosmos DB Table API for NoSQL key-value data, schemaless storage, or structured data at scale.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1577,1578,1579,1580,1581],{"name":1372,"slug":1373,"type":15},{"name":1375,"slug":1376,"type":15},{"name":1378,"slug":1379,"type":15},{"name":1452,"slug":1453,"type":15},{"name":1552,"slug":1553,"type":15},"2026-05-13T06:14:17.582229",267]