Skip to content

Remove DOTNET_STARTUP_HOOKS env workaround after dotnet/sdk#54922 #25799

Description

@rolfbjarne

In PR #25738 we added a temporary workaround in dotnet/targets/Microsoft.Sdk.Desktop.targets for sandboxed Mac Catalyst apps when dotnet watch sets DOTNET_STARTUP_HOOKS to a path outside the app sandbox.

Current workaround (lines ~86-90):

  • when RunWithOpen=false, set RunCommand=env
  • pass "DOTNET_STARTUP_HOOKS=..." in RunArguments

This should be removed/simplified once dotnet/sdk#54922 is merged and available in the SDK used by this repo.

Context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions