Revert "PR-5360"
[platform/core/csapi/tizenfx.git] / test / ElmSharp.Wearable.Test / ElmSharp.Wearable.Test.csproj
1 <Project>
2   <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
3
4   <!-- Setting Tizen Extension Path -->
5   <PropertyGroup Label="Globals">
6     <TizenProjectExtensionsPath>$(MSBuildExtensionsPath)\Tizen\VisualStudio\</TizenProjectExtensionsPath>
7   </PropertyGroup>
8
9   <!-- Import Tizen property in Tizen.NET SDK -->
10   <Import Project="$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.props" Condition="Exists('$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.props')" />
11
12   <!-- Property Group for .NET Core Project -->
13   <PropertyGroup>
14     <OutputType>Exe</OutputType>
15     <TargetFramework>netcoreapp2.0</TargetFramework>
16   </PropertyGroup>
17
18   <!-- Property Group for Tizen Project -->
19   <PropertyGroup>
20     <TizenCreateTpkOnBuild>true</TizenCreateTpkOnBuild>
21     <PackageTargetFallback>$(PackageTargetFallback);portable-net45+wp80+win81+wpa81</PackageTargetFallback>
22   </PropertyGroup>
23
24   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
25     <DebugType>portable</DebugType>
26   </PropertyGroup>
27   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28     <DebugType>None</DebugType>
29   </PropertyGroup>
30
31   <ItemGroup>
32     <Folder Include="shared\" />
33     <Folder Include="res\" />
34   </ItemGroup>
35
36   <!-- Include Nuget Package for Tizen Project building -->
37   <ItemGroup>
38     <PackageReference Include="Tizen.NET" Version="3.0.0" />
39     <PackageReference Include="Tizen.NET.Sdk" Version="0.9.16-pre1" />
40   </ItemGroup>
41   <ItemGroup>
42     <ProjectReference Include="..\..\src\ElmSharp\ElmSharp.csproj" />
43     <ProjectReference Include="..\..\src\ElmSharp.Wearable\ElmSharp.Wearable.csproj" />
44   </ItemGroup>
45
46   <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
47   <Import Project="$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.targets" Condition="Exists('$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.targets')" />
48
49   <!-- Install Check 'Visual Studio for Tizen' for developing on Visual Studio -->
50   <Target Name="TizenVsixInstallCheck" BeforeTargets="CompileDesignTime">
51     <Warning Condition="!Exists('$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.props')" Text="$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.props is not exist.&#xA; you need to check if 'Visual Studio for Tizen' is installed" />
52     <Warning Condition="!Exists('$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.targets')" Text="$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.targets is not exist.\&#xA; you need to check if 'Visual Studio for Tizen' is installed" />
53   </Target>
54 </Project>