Improve repo building experience#2489
Open
manodasanW wants to merge 10 commits into
Open
Conversation
manodasanW
commented
Jul 23, 2026
Member
- Previously when you tried to build the slnx in VS, we would often run to WinRT.Generator.Tasks.dll is being used by msbuild and can't be replaced by the build and we would need to kill the processes and then build any changes for it. In addition, even if we did no changes for it, the builds for it often got triggered due to changing central props / targets file. To address this, we are using solution filters to filter out the task dll and move that to a separate solution filter project. This way when changes are done to the task, they can be done and built and then the rest of the projects can be opened and if there are no changes, then other changes don't impact it either.
- Also updating the PlatformToolset defaults across the projects and some dependencies.
Add cswinrt.buildtasks.slnf (bootstrap) and cswinrt.dev.slnf (all projects except WinRT.Generator.Tasks) plus build-tasks.cmd. Developers build the task DLL out-of-band and open the dev filter so VS never rebuilds the loaded DLL. CI still builds the full cswinrt.slnx, so the task DLL is built and packaged unchanged. Document the workflow in CONTRIBUTING.md and copilot-instructions.md. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10e0f6e6-46f9-4a4c-ae23-44bae267ed9b
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10e0f6e6-46f9-4a4c-ae23-44bae267ed9b
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10e0f6e6-46f9-4a4c-ae23-44bae267ed9b
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10e0f6e6-46f9-4a4c-ae23-44bae267ed9b
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
manodasanW
enabled auto-merge (squash)
July 24, 2026 18:31
Member
|
Nit: seeing this when opening VS still:
|
manodasanW
disabled auto-merge
July 24, 2026 23:36
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10e0f6e6-46f9-4a4c-ae23-44bae267ed9b
Use msbuild -t:restore -p:RestorePackagesConfig=true instead of the bundled nuget.exe, so get_testwinrt.cmd can run standalone in a VS Developer prompt without depending on build.cmd having downloaded .nuget\nuget.exe first. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10e0f6e6-46f9-4a4c-ae23-44bae267ed9b
Drop the unused 32-bit ARM solution platform from cswinrt.slnx (all projects mapped it to x86/x64 with Build=false) and the corresponding arm legs in build.cmd. Correct the ARM64 overrides that mapped to x86/x64 so they map to ARM64, keeping Build=false on projects that don't build for ARM64. Native TestWinRT vcxproj without an ARM64 config keep their Win32 mapping. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 10e0f6e6-46f9-4a4c-ae23-44bae267ed9b
Member
Author
That was due to get_testwinrt.cmd was not ran I believe, added it to the docs that someone should run it the first time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.