-
-
Notifications
You must be signed in to change notification settings - Fork 246
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
44 lines (36 loc) · 1.8 KB
/
Copy pathDirectory.Build.targets
File metadata and controls
44 lines (36 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<Project>
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="all"/>
</ItemGroup>
<ItemGroup>
<None Include="Platforms\**\*.cs" />
<Compile Remove="Platforms\**\*.cs" />
<None Include="$(MSBuildThisFileDirectory)nuget.png" Pack="true" PackagePath="icon.png" />
<None Include="$(MSBuildThisFileDirectory)nuget.txt" Pack="true" PackagePath="readme.txt" />
<None Include="$(MSBuildThisFileDirectory)readme.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('-android'))">
<Compile Include="Platforms\Android\**\*.cs" />
<Compile Include="Platforms\Shared\**\*.cs" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('-ios')) OR $(TargetFramework.Contains('maccatalyst'))">
<Compile Include="Platforms\Apple\**\*.cs" />
<Compile Include="Platforms\Shared\**\*.cs" />
<Compile Include="Platforms\iOS\**\*.cs" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('maccatalyst')) AND Exists('$(MSBuildProjectDirectory)\Platforms\MacCatalyst')">
<Compile Remove="Platforms\iOS\**\*.cs" />
<Compile Include="Platforms\MacCatalyst\**\*.cs" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('-macos'))">
<Compile Include="Platforms\Shared\**\*.cs" />
<Compile Include="Platforms\MacOS\**\*.cs" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
<Compile Include="Platforms\Windows\**\*.cs" />
<Compile Include="Platforms\Shared\**\*.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == '$(BaseTargetFramework)'">
<Compile Include="Platforms\Net\**\*.cs" />
</ItemGroup>
</Project>