project: allow to disable native AOT deployment

This commit is contained in:
Aikawa Yataro 2024-09-13 07:33:31 +00:00
parent 886b242b66
commit 79d3083b0d
No known key found for this signature in database
GPG key ID: 1C5D95FB10179404

View file

@ -20,7 +20,7 @@
<RepositoryType>Public</RepositoryType> <RepositoryType>Public</RepositoryType>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'"> <PropertyGroup Condition="'$(Configuration)' == 'Release' and '$(SourceGitNoAot)' != 'true'">
<PublishAot>true</PublishAot> <PublishAot>true</PublishAot>
<PublishTrimmed>true</PublishTrimmed> <PublishTrimmed>true</PublishTrimmed>
<TrimMode>link</TrimMode> <TrimMode>link</TrimMode>