Release 4.0.0-preview1-00258
[platform/core/csapi/tizenfx.git] / pkg / build / tizen40 / Tizen.NET.targets
1 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2
3   <PropertyGroup>
4     <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
5   </PropertyGroup>
6
7   <PropertyGroup>
8     <BundledNETStandardPackageVersion Condition="'$(BundledNETStandardPackageVersion)' == ''">2.0.0</BundledNETStandardPackageVersion>
9     <BundledNETCoreAppPackageVersion Condition="'$(BundledNETCoreAppPackageVersion)' == ''">2.0.0</BundledNETCoreAppPackageVersion>
10   </PropertyGroup>
11
12   <PropertyGroup>
13     <DisableStandardFrameworkResolution>true</DisableStandardFrameworkResolution>
14     <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
15     <TargetExt Condition="'$(TargetExt)' == ''">.dll</TargetExt>
16     <GenerateDependencyFile Condition=" '$(GenerateDependencyFile)' == '' ">true</GenerateDependencyFile>
17     <CopyLocalLockFileAssemblies Condition="'$(CopyLocalLockFileAssemblies)' == ''">false</CopyLocalLockFileAssemblies>
18   </PropertyGroup>
19
20   <!--
21     Tizen4.0 TFM supports NETStandard2.0. However NETStandard.Library does not
22     provide reference assemblies when referenced by other TFMs.
23     So, the same reference assemblies are provided directly from Tizen.NET.
24     These reference assemblies came from NETStandard.Library 2.0.0.
25   -->
26   <ItemGroup  Condition="'$(OutputType)' != 'Exe'">
27     <Reference Include="$(MSBuildThisFileDirectory)\ref\*.dll">
28       <Private>false</Private>
29       <Visible>false</Visible>
30       <Facade Condition="'%(FileName)' != 'netstandard'">true</Facade>
31       <NuGetPackageId>NETStandard.Library</NuGetPackageId>
32       <NuGetPackageVersion>$(BundledNETStandardPackageVersion)</NuGetPackageVersion>
33     </Reference>
34   </ItemGroup>
35
36   <ItemGroup Condition="'$(OutputType)' != 'Exe'">
37     <PackageReference Include="NETStandard.Library" Version="$(BundledNETStandardPackageVersion)" IsImplicitlyDefined="true" />
38   </ItemGroup>
39
40   <!--
41     Tizen platform supports .NETCore 2.0 runtime.
42     In application, NETCoreApp2.0 APIs are also available.
43   -->
44   <PropertyGroup Condition="'$(OutputType)' == 'Exe'">
45     <NoWarn>$(NoWarn);NU1701</NoWarn>
46     <AssetTargetFallback>$(AssetTargetFallback);netcoreapp2.0</AssetTargetFallback>
47   </PropertyGroup>
48
49   <ItemGroup Condition="'$(OutputType)' == 'Exe'">
50     <PackageReference Include="Microsoft.NETCore.App" Version="$(BundledNETCoreAppPackageVersion)" IsImplicitlyDefined="true" />
51   </ItemGroup>
52
53 </Project>