Repository navigation
Fix Windows SDK package feature naming conflict and DevCheck VS 2026 support - #6951
Conversation
Prefix the native runtime feature query while preserving its binary export alias. Validate components in the selected VS installation and report missing prerequisites as failures. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: c52dd12d-c300-4d6c-ba0a-8269985be6af
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. |
The build image omits .NET 6/7 runtimes, Live Unit Testing, Live Share, and IntelliCode. Remove these non-build prerequisites so strict DevCheck failures do not reject the CI image. Cover this image configuration and retain failure coverage for missing MSBuild. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: c52dd12d-c300-4d6c-ba0a-8269985be6af
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. |
Run missing-component, split-installation, and no-installation checks for both VS2022 and VS2026. Keep the VS2022 pipeline-image regression specific to its configuration and verify discovery clears stale installation state. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: c52dd12d-c300-4d6c-ba0a-8269985be6af
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. |
Howard Kapustein (DrusTheAxe)
left a comment
There was a problem hiding this comment.
I'd swear I ran into this during some other work and have a fix. Let me check; will update PR once I do
|
Howard Kapustein (@DrusTheAxe) - ping, this is blocking some folks - any objections? |
|
Can we split the Dev Check change from the name conflict change? Dev Check might me approved faster. |
Yes. This is part of the public API, so the name matters. I ran into this recently and have a fix (and good rename) Next steps
|
Confirmed, the Release/ARM64EC definitions in WindowsAppRuntime.sln is broadly wrong. Fixing in #6896 to unblock the sausage-making conveyor belt. |
…ck VS 2026 support Squashed from #6951 (Scottj1s/fix-package-feature-sdk-conflict, commits 98adb6a, 04b8413, caa166f) so the VS 2026 / Windows SDK 28000 build works. Revert this commit once #6951 merges into main. - Rename the native IsPackageFeatureSupported to WindowsAppRuntime_IsPackageFeatureSupported to avoid colliding with the Windows SDK appmodel.h declaration (keeps a PRIVATE alias export). - DevCheck detects VS 2022 and VS 2026 and validates components per version (supersedes the VS 2026-only check from b4ae86f). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
unblocking foundation builds, can revisit later to add arm64ec and other improvements
Summary
WindowsAppRuntime_IsPackageFeatureSupportedso it can coexist with the Windows SDK'sIsPackageFeatureSupporteddeclaration.PRIVATEexport alias, without exposing the conflicting legacy symbol in new import libraries. The public WinRT API is unchanged.Validation
mainbase.powershell -NoProfile -File tools\DevCheck\Test-VisualStudio.ps1andDevCheck.cmd -CheckVisualStudio -NoInteractive -Offline.main; x64/x86 probe clients executed successfully.git diff --cached --check.Full TAEF execution and the full SDK build matrix have not been run locally. Native builds retain existing unrelated MSB4011 and C4090 warnings.
Main-branch CI validation requires an authorized Microsoft employee to run
/azp run TransportPackage-Foundation-PR.