Skip to content

Commit

Permalink
Enable trimming in Microsoft.Toolkit.Notifications again (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 authored Dec 29, 2022
1 parent fa580d5 commit 6d74906
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
14 changes: 7 additions & 7 deletions src/AmbientSounds.Uwp/AmbientSounds.Uwp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -669,25 +669,25 @@
<Version>10.1901.28001</Version>
</PackageReference>
<PackageReference Include="Microsoft.Toolkit.Uwp">
<Version>7.1.2</Version>
<Version>7.1.3</Version>
</PackageReference>
<PackageReference Include="Microsoft.Toolkit.Uwp.Connectivity">
<Version>7.1.2</Version>
<Version>7.1.3</Version>
</PackageReference>
<PackageReference Include="Microsoft.Toolkit.Uwp.Notifications">
<Version>7.1.2</Version>
<Version>7.1.3</Version>
</PackageReference>
<PackageReference Include="Microsoft.Toolkit.Uwp.UI.Animations">
<Version>7.1.2</Version>
<Version>7.1.3</Version>
</PackageReference>
<PackageReference Include="Microsoft.Toolkit.Uwp.UI.Behaviors">
<Version>7.1.2</Version>
<Version>7.1.3</Version>
</PackageReference>
<PackageReference Include="Microsoft.Toolkit.Uwp.UI.Controls">
<Version>7.1.2</Version>
<Version>7.1.3</Version>
</PackageReference>
<PackageReference Include="Microsoft.Toolkit.Uwp.UI.Media">
<Version>7.1.2</Version>
<Version>7.1.3</Version>
</PackageReference>
<PackageReference Include="Microsoft.UI.Xaml">
<Version>2.7.1</Version>
Expand Down
15 changes: 6 additions & 9 deletions src/AmbientSounds.Uwp/Properties/Default.rd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Application>

<!-- Required for the toolkit's notification helpers to work in release mode -->
<Assembly Name="Microsoft.Toolkit.Uwp.Notifications" Dynamic="Required All" />

<!-- Required for signalr to work in release mode -->
<Namespace Name="Microsoft.Extensions.Options" Dynamic="Required Public"/>
<Type Name="Microsoft.AspNetCore.SignalR.JsonHubProtocolOptions" Activate="Required Public" />
<Type Name="Microsoft.Extensions.Logging.LoggerFactoryOptions" Activate="Required Public" />
<Type Name="Microsoft.Extensions.Logging.LoggerFilterOptions" Activate="Required Public" />
<Type Name="Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions" Activate="Required Public" />
<!-- Required for signalr to work in release mode -->
<Namespace Name="Microsoft.Extensions.Options" Dynamic="Required Public"/>
<Type Name="Microsoft.AspNetCore.SignalR.JsonHubProtocolOptions" Activate="Required Public" />
<Type Name="Microsoft.Extensions.Logging.LoggerFactoryOptions" Activate="Required Public" />
<Type Name="Microsoft.Extensions.Logging.LoggerFilterOptions" Activate="Required Public" />
<Type Name="Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions" Activate="Required Public" />
</Application>
</Directives>

0 comments on commit 6d74906

Please sign in to comment.