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:
In PR #25738 we added a temporary workaround in
dotnet/targets/Microsoft.Sdk.Desktop.targetsfor sandboxed Mac Catalyst apps whendotnet watchsetsDOTNET_STARTUP_HOOKSto a path outside the app sandbox.Current workaround (lines ~86-90):
RunWithOpen=false, setRunCommand=env"DOTNET_STARTUP_HOOKS=..."inRunArgumentsThis should be removed/simplified once dotnet/sdk#54922 is merged and available in the SDK used by this repo.
Context: