Skip to content

Changing LinkMode from None to SdkOnly doesn't work correctly with incremental builds. #21545

Open

Description

@rolfbjarne

Test script with output: https://gist.github.com/rolfbjarne/9a962a12160f2f750e01ab9813fd6dc9

The incrementally built .app is much bigger than the clean app:

 21M	clean/Debug/net9.0-macos/osx-arm64/ttt.app
136M	incremental/Debug/net9.0-macos/osx-arm64/ttt.app

Activity

  1. added
    bug
    macOS
    msbuild
    on Oct 29, 2024
  2. added this to the .NET 10 milestone on Oct 29, 2024
  3. modified the milestones: .NET 10, .NET 11 on Oct 14, 2025
  4. modified the milestones: .NET 11, .NET 12 on Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmacOSmsbuild

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions