Skip to content

Commit ab8b27c

Browse files
authored
Merge pull request #468 from aikawayataro/aot-switch
Allow to disable native AOT deployment
2 parents 5c2583d + 79d3083 commit ab8b27c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SourceGit.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<RepositoryType>Public</RepositoryType>
2121
</PropertyGroup>
2222

23-
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
23+
<PropertyGroup Condition="'$(Configuration)' == 'Release' and '$(SourceGitNoAot)' != 'true'">
2424
<PublishAot>true</PublishAot>
2525
<PublishTrimmed>true</PublishTrimmed>
2626
<TrimMode>link</TrimMode>

0 commit comments

Comments
 (0)