Skip to content

Update NativeInterop baseline and fix devapp version ranges - #6045

Merged
Ashok Kumar Ramakrishnan (ashok672) merged 6 commits into
mainfrom
copilot/update-default-nativeinterop-version
Jun 4, 2026
Merged

Ashok Kumar Ramakrishnan (ashok672) merged 6 commits into
mainfrom
copilot/update-default-nativeinterop-version

Conversation

Copilot AI commented May 30, 2026

Copy link
Copy Markdown
Contributor

Changes proposed in this request

NativeInterop references were partially updated, and the first pass at making the devapp projects float introduced NU1604 during restore. This update keeps the repository baseline at 0.20.6 and changes the devapp projects to a valid open-ended NuGet range.

  • Central baseline

    • Directory.Packages.props
    • Keep MSALRuntimeNativeInteropVersion at 0.20.6
  • Devapp package resolution

    • tests/devapps/MacConsoleAppWithBroker/MacConsoleAppWithBroker.csproj
    • tests/devapps/MacMauiAppWithBroker/MacMauiAppWithBroker.csproj
    • Replace invalid floating configuration with an inclusive lower-bound range
  • Why this shape

    • tests/devapps disables central package management
    • These projects must use Version=... instead of VersionOverride=...
    • [0.20.6,) preserves “latest available >= 0.20.6” without triggering NU1604
<PackageReference Include="Microsoft.Identity.Client.NativeInterop" Version="[0.20.6,)" />

Testing

  • Restored and built tests/devapps/MacConsoleAppWithBroker/MacConsoleAppWithBroker.csproj
  • Restored tests/devapps/MacMauiAppWithBroker/MacMauiAppWithBroker.csproj

Performance impact

None.

Documentation

  • All relevant documentation is updated.

Copilot AI requested review from Copilot and removed request for Copilot May 30, 2026 01:04
Copilot AI changed the title Update default NativeInterop version to 0.20.6 Update default NativeInterop package version to 0.20.6 May 30, 2026
Copilot AI requested review from Copilot and removed request for Copilot May 30, 2026 01:10
Copilot AI changed the title Update default NativeInterop package version to 0.20.6 Update NativeInterop baseline and devapp pins to 0.20.6 May 30, 2026
@ashok672
Ashok Kumar Ramakrishnan (ashok672) marked this pull request as ready for review May 30, 2026 01:11
Copilot AI review requested due to automatic review settings May 30, 2026 01:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns all repository-owned references to Microsoft.Identity.Client.NativeInterop to version 0.20.6, preventing drift between the centrally managed baseline and dev app explicit pins.

Changes:

  • Bump MSALRuntimeNativeInteropVersion in Directory.Packages.props from 0.20.4 to 0.20.6.
  • Update explicit Microsoft.Identity.Client.NativeInterop PackageReference pins in the two macOS dev apps from 0.20.4 to 0.20.6.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
Directory.Packages.props Updates the centrally managed NativeInterop version baseline to 0.20.6.
tests/devapps/MacConsoleAppWithBroker/MacConsoleAppWithBroker.csproj Aligns the dev app’s explicit NativeInterop package pin to 0.20.6.
tests/devapps/MacMauiAppWithBroker/MacMauiAppWithBroker.csproj Aligns the dev app’s explicit NativeInterop package pin (macOS only) to 0.20.6.

Comment thread tests/devapps/MacConsoleAppWithBroker/MacConsoleAppWithBroker.csproj Outdated
Copilot AI requested review from Copilot and removed request for Copilot June 4, 2026 17:20
Copilot AI changed the title Update NativeInterop baseline and devapp pins to 0.20.6 Update NativeInterop baseline to 0.20.6 and use floating version in devapp projects Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants