Skip to content

Conversation

@jonathanpeppers
Copy link
Member

In d84352c, I was trying to workaround the error:

D:\.nuget\packages\microsoft.dotnet.ilcompiler\10.0.0-rc.1.25412.102\build\Microsoft.NETCore.Native.Publish.targets(70,5):
The PrivateSdkAssemblies ItemGroup is required for _ComputeAssembliesToCompileToNative

But at that time, I was experimenting with the $(PublishAotUsingRuntimePack) property. This problem only occurs if $(PublishAotUsingRuntimePack) is not set, which we do by default in dotnet/android/main.

It appears we can just remove this workaround.

In d84352c, I was trying to workaround the error:

    D:\.nuget\packages\microsoft.dotnet.ilcompiler\10.0.0-rc.1.25412.102\build\Microsoft.NETCore.Native.Publish.targets(70,5):
    The PrivateSdkAssemblies ItemGroup is required for _ComputeAssembliesToCompileToNative

But at that time, I was experimenting with the `$(PublishAotUsingRuntimePack)`
property. This problem only occurs if `$(PublishAotUsingRuntimePack)`
is *not* set, which we do by default in dotnet/android/main.

It appears we can just remove this workaround.
@jonathanpeppers jonathanpeppers enabled auto-merge (squash) August 14, 2025 13:44
@jonathanpeppers jonathanpeppers merged commit ed3b501 into main Aug 14, 2025
59 checks passed
@jonathanpeppers jonathanpeppers deleted the dev/peppers/remove-nativeaot-hack branch August 14, 2025 14:31
@github-actions github-actions bot locked and limited conversation to collaborators Sep 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants