Skip to content

Commit 4729aa2

Browse files
publish trimmed and AOT
1 parent b81b0d1 commit 4729aa2

File tree

5 files changed

+16
-0
lines changed

5 files changed

+16
-0
lines changed

src/Directory.Build.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
<NoWarn>1591</NoWarn>
66
</PropertyGroup>
77

8+
<PropertyGroup>
9+
<IsAotCompatible>true</IsAotCompatible>
10+
<CsWinRTAotOptimizerEnabled>true</CsWinRTAotOptimizerEnabled>
11+
<CsWinRTAotWarningLevel>2</CsWinRTAotWarningLevel>
12+
<WarningsNotAsErrors>IL2081;IL2104</WarningsNotAsErrors>
13+
<PublishTrimmed>true</PublishTrimmed>
14+
</PropertyGroup>
15+
816
<ItemGroup>
917
<Compile Include="..\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
1018
<AdditionalFiles Include="..\StyleCop.json" Link="StyleCop.json" />

src/EdgeFavoritesExtension/Properties/PublishProfiles/win-arm64.pubxml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
88
<SelfContained>true</SelfContained>
99
<PublishProtocol>FileSystem</PublishProtocol>
10+
<PublishSingleFile>false</PublishSingleFile>
11+
<PublishReadyToRun>true</PublishReadyToRun>
1012
</PropertyGroup>
1113
</Project>

src/EdgeFavoritesExtension/Properties/PublishProfiles/win-x64.pubxml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
88
<SelfContained>true</SelfContained>
99
<PublishProtocol>FileSystem</PublishProtocol>
10+
<PublishSingleFile>false</PublishSingleFile>
11+
<PublishReadyToRun>true</PublishReadyToRun>
1012
</PropertyGroup>
1113
</Project>

src/VisualStudioExtension/Properties/PublishProfiles/win-arm64.pubxml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
88
<SelfContained>true</SelfContained>
99
<PublishProtocol>FileSystem</PublishProtocol>
10+
<PublishSingleFile>false</PublishSingleFile>
11+
<PublishReadyToRun>true</PublishReadyToRun>
1012
</PropertyGroup>
1113
</Project>

src/VisualStudioExtension/Properties/PublishProfiles/win-x64.pubxml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
88
<SelfContained>true</SelfContained>
99
<PublishProtocol>FileSystem</PublishProtocol>
10+
<PublishSingleFile>false</PublishSingleFile>
11+
<PublishReadyToRun>true</PublishReadyToRun>
1012
</PropertyGroup>
1113
</Project>

0 commit comments

Comments
 (0)