Skip to content

Commit

Permalink
Add simple NativeAOT test case.
Browse files Browse the repository at this point in the history
Currently fails with:

> error NETSDK1183: Unable to optimize assemblies for Ahead of time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing. When targeting .NET 7 or higher, make sure to restore packages with the PublishAot property set to true.
  • Loading branch information
rolfbjarne committed Apr 28, 2023
1 parent 168ff42 commit 190a850
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/dotnet/MySimpleApp/iOS/Makefile
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
include ../shared.mk

nativeaot:
$(DOTNET) build /bl:$@.binlog *.csproj /p:RuntimeIdentifier=ios-arm64 /p:PublishAot=true

0 comments on commit 190a850

Please sign in to comment.