Skip to content

Commit

Permalink
Update Sentry.Maui.Device.TestApp.csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescrosswell committed Sep 23, 2024
1 parent 6f7ee86 commit cc5277c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks />
<TargetFrameworks Condition="'$(NO_ANDROID)' == ''">$(TargetFrameworks);net8.0-android</TargetFrameworks>
<TargetFrameworks Condition="'$(NO_IOS)' == '' And $([MSBuild]::IsOSPlatform('OSX'))">$(TargetFrameworks);net8.0-ios</TargetFrameworks>
<OutputType>Exe</OutputType>
Expand Down Expand Up @@ -39,6 +40,13 @@
<RuntimeIdentifier Condition="'$(TargetPlatformIdentifier)' == 'ios' And '$(OSArchitecture)' == 'x64'">iossimulator-x64</RuntimeIdentifier>
</PropertyGroup>

<!-- Log for debugging -->
<Target Name="LogProperties" BeforeTargets="BeforeBuild">
<Message Text="OSArchitecture: $(OSArchitecture)" Importance="High" />
<Message Text="TargetPlatformIdentifier: $(TargetPlatformIdentifier)" Importance="High" />
<Message Text="RuntimeIdentifier: $(RuntimeIdentifier)" Importance="High" />
</Target>

<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4"/>
Expand Down

0 comments on commit cc5277c

Please sign in to comment.