Skip to content

Commit

Permalink
KeepFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebaltazar committed Nov 4, 2024
1 parent 9bdc2c9 commit 7fee8f0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions Maui.AzurePipelines/LinkerPleaseInclude.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using PipelineApproval.Presentation;

namespace PipelineApproval
{

/// <summary>
/// This class is never actually executed, but when Xamarin linking is enabled it does how to ensure types and properties
/// are preserved in the deployed app
/// </summary>
public class LinkerPleaseInclude
{
public void Include()
{
var s = FontAwesome.A;
s = FontAwesome.AddressBook;
s = FontAwesome.AddressCard;
s = FontAwesome.ChevronDown;
}
}
}
2 changes: 1 addition & 1 deletion Maui.AzurePipelines/Presentation/FontAwesome.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace PipelineApproval.Presentation;

static class FontAwesome
public static class FontAwesome
{
public const string Space = "\u0020";
public const string Hyphen = "\u002d";
Expand Down

0 comments on commit 7fee8f0

Please sign in to comment.