0fc28b847cd7087974cf23f17609965cf9111158
[test/tct/csharp/api.git] /
1 <Project>
2   <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
3   <!-- Setting Tizen Extension Path -->
4   <PropertyGroup Label="Globals">
5     <TizenProjectExtensionsPath>$(MSBuildExtensionsPath)\Tizen\VisualStudio\</TizenProjectExtensionsPath>
6   </PropertyGroup>
7
8   <!-- Import Tizen property in Tizen.NET SDK -->
9   <Import Project="$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.props" Condition="Exists('$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.props')" />
10
11   <!-- Property Group for .NET Core Project -->
12   <PropertyGroup>
13     <OutputType>Exe</OutputType>
14     <TargetFramework>netcoreapp2.0</TargetFramework>
15   </PropertyGroup>
16
17   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18     <DebugType>portable</DebugType>
19   </PropertyGroup>
20   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
21     <DebugType>None</DebugType>
22   </PropertyGroup>
23
24   <ItemGroup>
25     <Folder Include="lib\" />
26     <Folder Include="res\" />
27   </ItemGroup>
28
29   <!-- Include Nuget Package for Tizen Project building -->
30   <ItemGroup>
31     <PackageReference Include="Tizen.NET" Version="6.0.0.14677" />
32     <PackageReference Include="Tizen.NET.Sdk" Version="1.0.1" />
33   </ItemGroup>
34
35   <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
36   <Import Project="$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.targets" Condition="Exists('$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.targets')" />
37
38   <!-- Install Check 'Visual Studio for Tizen' for developing on Visual Studio -->
39   <Target Name="TizenVsixInstallCheck" BeforeTargets="CompileDesignTime">
40     <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" />
41     <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" />
42   </Target>
43 </Project>
44