[scripts] Make 'rsp-to-csproj' add included files into folders.#25096
[scripts] Make 'rsp-to-csproj' add included files into folders.#25096rolfbjarne merged 2 commits intomainfrom
Conversation
This makes it easier to navigate a generated project file in VSCode, since the files are located in folders instead of one potentially enormous list (the platform assemblies have thousands of source files).
There was a problem hiding this comment.
Pull request overview
This PR updates rsp-to-csproj to emit Link metadata for included items so that generated projects show files grouped into folders in editors like VSCode instead of a single flat list.
Changes:
- Add
Link="relative/path"metadata when an item’sIncludepath is under the specified working directory. - Keep generated
<ItemGroup>items identical except for the additionalLinkattribute.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ [CI Build #e385b13] Build passed (Build packages) ✅Pipeline on Agent |
✅ [PR Build #e385b13] Build passed (Detect API changes) ✅Pipeline on Agent |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
✅ [CI Build #e385b13] Build passed (Build macOS tests) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #e385b13] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 156 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
This makes it easier to navigate a generated project file in VSCode, since the
files are located in folders instead of one potentially enormous list (the
platform assemblies have thousands of source files).