Skip to content

Commit 79d3083

Browse files
committed
project: allow to disable native AOT deployment
1 parent 886b242 commit 79d3083

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)