Skip to content

Commit 2a55ba6

Browse files
committed
fix: Avalonia designer does not work (#858)
1 parent 554ffc7 commit 2a55ba6

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="'$(DisableAOT)' != 'true'">
23+
<PropertyGroup Condition="'$(Configuration)' == 'Release' and '$(DisableAOT)' != 'true'">
2424
<PublishAot>true</PublishAot>
2525
<PublishTrimmed>true</PublishTrimmed>
2626
<TrimMode>link</TrimMode>

0 commit comments

Comments
 (0)