-
Notifications
You must be signed in to change notification settings - Fork 42
/
ImplicitPackages.targets
39 lines (30 loc) · 2.03 KB
/
ImplicitPackages.targets
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
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects Condition=" '$(MSBuildVersion)' == '' Or '$(MSBuildVersion)' < '16.0' ">$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<!--
Package Version property for Implicit Packages included in the props file
-->
<PropertyGroup Condition="'$(ExtrasUwpMetaPackageVersion)' == ''">
<ExtrasUwpMetaPackageVersion>6.2.12</ExtrasUwpMetaPackageVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(ExtrasTizenMetaPackageVersion)' == ''">
<ExtrasTizenMetaPackageVersion>8.0.0.15631</ExtrasTizenMetaPackageVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(ExtrasNetfxMetaPackageVersion)' == ''">
<ExtrasNetfxMetaPackageVersion>1.0.2</ExtrasNetfxMetaPackageVersion>
</PropertyGroup>
<PropertyGroup>
<ExtrasImplicitPlatformPackageIsPrivate Condition="'$(ExtrasImplicitPlatformPackageIsPrivate)' == ''">false</ExtrasImplicitPlatformPackageIsPrivate>
</PropertyGroup>
<ItemGroup Condition="'$(DisableImplicitFrameworkReferences)' != 'true' AND '$(_SdkShortFrameworkIdentifier)' == 'uap' ">
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="$(ExtrasUwpMetaPackageVersion)" PrivateAssets="all" IsImplicitlyDefined="true"/>
</ItemGroup>
<ItemGroup Condition="'$(DisableImplicitFrameworkReferences)' != 'true' AND '$(_SdkShortFrameworkIdentifier)' == 'tizen'">
<PackageReference Include="Tizen.NET" Version="$(ExtrasTizenMetaPackageVersion)" IsImplicitlyDefined="true"/>
<PackageReference Update="Tizen.NET" PrivateAssets="All" Condition="'$(ExtrasImplicitPlatformPackageIsPrivate)' == 'true'"/>
</ItemGroup>
<ItemGroup Condition="'$(DisableImplicitFrameworkReferences)' != 'true' AND '$(TargetFrameworkIdentifier)' == '.NETFramework' ">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="$(ExtrasNetfxMetaPackageVersion)" PrivateAssets="All" IsImplicitlyDefined="true"/>
</ItemGroup>
</Project>