Skip to content

Commit

Permalink
feat (Laerdal.Dfu.csproj): simplify the way we include/exclude folder…
Browse files Browse the repository at this point in the history
…s for each target-framework
  • Loading branch information
ksidirop-laerdal committed Nov 13, 2024
1 parent 6b449ef commit bf13027
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Laerdal.Dfu/Laerdal.Dfu.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,22 @@
<SupportedOSPlatformVersion Condition=" '$(IsNet8MacCatalyst)' == 'true' ">13.1</SupportedOSPlatformVersion>
</PropertyGroup>

<!-- ANDROID -->
<!-- Android -->
<ItemGroup Condition=" '$(IsForAndroid)' == 'true' ">
<Compile Remove="Platforms.*\**"/>
<Compile Include="Platforms.Droid\**\*.cs"/>
<Compile Remove="Platforms.NetX\**"/>
<Compile Remove="Platforms.iOSandMacCatalyst\**"/>
</ItemGroup>

<!-- iOS/MacCatalyst -->
<ItemGroup Condition=" '$(IsForAppleStuff)' == 'true' ">
<Compile Remove="Platforms.*\**"/>
<Compile Include="Platforms.iOSandMacCatalyst\**\*.cs"/>
<Compile Remove="Platforms.NetX\**"/>
<Compile Remove="Platforms.Droid\**"/>
</ItemGroup>

<!-- NetStandard -->
<ItemGroup Condition=" '$(IsForPlainNetX)' == 'true' ">
<Compile Remove="Platforms.*\**"/>
<Compile Include="Platforms.NetX\**"/>
<Compile Remove="Platforms.Droid\**"/>
<Compile Remove="Platforms.iOSandMacCatalyst\**"/>
</ItemGroup>

<PropertyGroup>
Expand Down

0 comments on commit bf13027

Please sign in to comment.