Add key file into project
[platform/core/csapi/tizenfx.git] / src / Tizen.Applications.WidgetControl / Tizen.Applications.WidgetControl.csproj
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
3   <PropertyGroup>\r
4     <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>\r
5     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
6     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
7     <ProductVersion>8.0.30703</ProductVersion>\r
8     <SchemaVersion>2.0</SchemaVersion>\r
9     <ProjectGuid>{A667ADA4-E7DB-4E45-9D31-491024750EE1}</ProjectGuid>\r
10     <OutputType>Library</OutputType>\r
11     <AppDesignerFolder>Properties</AppDesignerFolder>\r
12     <RootNamespace>Tizen.Applications.WidgetControl</RootNamespace>\r
13     <AssemblyName>Tizen.Applications.WidgetControl</AssemblyName>\r
14     <FileAlignment>512</FileAlignment>\r
15     <DefaultLanguage>en-US</DefaultLanguage>\r
16   </PropertyGroup>\r
17   <PropertyGroup>\r
18     <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>\r
19     <TargetFrameworkVersion>v1.6</TargetFrameworkVersion>\r
20     <NuGetTargetMoniker>.NETStandard,Version=v1.6</NuGetTargetMoniker>\r
21     <TargetFrameworkMoniker>.NETStandard,Version=v1.6</TargetFrameworkMoniker>\r
22     <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
23     <NoStdLib>true</NoStdLib>\r
24     <NoWarn>$(NoWarn);1701</NoWarn>\r
25     <UseVSHostingProcess>false</UseVSHostingProcess>\r
26   </PropertyGroup>\r
27   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
28     <DebugSymbols>true</DebugSymbols>\r
29     <DebugType>full</DebugType>\r
30     <Optimize>false</Optimize>\r
31     <OutputPath>bin\Debug\</OutputPath>\r
32     <DefineConstants>DEBUG;TRACE</DefineConstants>\r
33     <ErrorReport>prompt</ErrorReport>\r
34     <WarningLevel>4</WarningLevel>\r
35   </PropertyGroup>\r
36   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
37     <DebugType>pdbonly</DebugType>\r
38     <Optimize>true</Optimize>\r
39     <OutputPath>bin\Release\</OutputPath>\r
40     <DefineConstants>TRACE</DefineConstants>\r
41     <ErrorReport>prompt</ErrorReport>\r
42     <WarningLevel>4</WarningLevel>\r
43   </PropertyGroup>\r
44   <PropertyGroup>\r
45     <SignAssembly>true</SignAssembly>\r
46   </PropertyGroup>\r
47   <PropertyGroup>\r
48     <AssemblyOriginatorKeyFile>Tizen.Applications.WidgetControl.snk</AssemblyOriginatorKeyFile>\r
49   </PropertyGroup>\r
50   <ItemGroup>\r
51     <None Include="Tizen.Applications.WidgetControl.project.json" />\r
52     <None Include="Tizen.Applications.WidgetControl.nuspec" />\r
53     <None Include="Tizen.Applications.WidgetControl.snk" />\r
54   </ItemGroup>\r
55   <ItemGroup>\r
56     <Compile Include="Interop\Interop.Libraries.cs" />\r
57     <Compile Include="Interop\Interop.WidgetService.cs" />\r
58     <Compile Include="Properties\AssemblyInfo.cs" />\r
59     <Compile Include="Tizen.Applications\WidgetControl.cs" />\r
60     <Compile Include="Tizen.Applications\WidgetLifecycleEventArgs.cs" />\r
61   </ItemGroup>\r
62   <Import Project="$(MSBuildExtensionsPath)\Tizen\Tizen.CSharp.GBS.targets" Condition="Exists('$(MSBuildExtensionsPath)\Tizen\Tizen.CSharp.GBS.targets')" />\r
63   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
64   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.\r
65        Other similar extension points exist, see Microsoft.Common.targets.\r
66   <Target Name="BeforeBuild">\r
67   </Target>\r
68   <Target Name="AfterBuild">\r
69   </Target>\r
70   -->\r
71   <PropertyGroup>\r
72     <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and\r
73                          https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild\r
74                 -->\r
75     <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two\r
76                          properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and\r
77                          to prevent it from outputting a warning (MSB3644).\r
78                 -->\r
79     <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>\r
80     <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>\r
81     <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>\r
82   </PropertyGroup>\r
83   <!-- Include tasks for Tizen -->\r
84   <PropertyGroup>\r
85     <TizenBuildPath>$(MSBuildExtensionsPath)\Tizen</TizenBuildPath>\r
86     <TizenToolsPath>$(TizenBuildPath)\bin</TizenToolsPath>\r
87   </PropertyGroup>\r
88   <UsingTask TaskName="Tizen.Tasks.SignPackage.TizenCleanPackageSource" AssemblyFile="$(TizenToolsPath)\Tizen.Tasks.SignPackage.dll" />\r
89   <UsingTask TaskName="Tizen.Tasks.SignPackage.TizenPreparePackageManifest" AssemblyFile="$(TizenToolsPath)\Tizen.Tasks.SignPackage.dll" />\r
90   <UsingTask TaskName="Tizen.Tasks.SignPackage.TizenPreparePackageSource" AssemblyFile="$(TizenToolsPath)\Tizen.Tasks.SignPackage.dll" />\r
91   <UsingTask TaskName="Tizen.Tasks.SignPackage.TizenSignPackage" AssemblyFile="$(TizenToolsPath)\Tizen.Tasks.SignPackage.dll" />\r
92   <!-- Task to clean package source -->\r
93   <Target Name="_TizenCleanPkgSrc">\r
94     <TizenCleanPackageSource SolutionPath="$(SolutionPath)" ProjectPath="$(MSBuildProjectFullPath)" />\r
95   </Target>\r
96   <!-- Task to prepare tizen-manifest.xml file -->\r
97   <Target Name="_TizenPrepManifest">\r
98     <TizenPreparePackageManifest SolutionPath="$(SolutionPath)" ProjectPath="$(MSBuildProjectFullPath)" />\r
99   </Target>\r
100   <!-- Task to prepare package sources(executable, dlls, resource files) -->\r
101   <Target Name="_TizenPrepPkgSrc">\r
102     <TizenPreparePackageSource SolutionPath="$(SolutionPath)" ProjectPath="$(MSBuildProjectFullPath)" AssemblyName="$(AssemblyName)" TargetPath="$(TargetPath)" />\r
103   </Target>\r
104   <!-- Task to signing and packaging -->\r
105   <Target Name="_TizenSignPackge">\r
106     <TizenSignPackage SolutionPath="$(SolutionPath)" ProjectPath="$(MSBuildProjectFullPath)" SolutionName="$(SolutionName)" AuthorCertificate="$(AuthorCertificate)" AuthorPasswd="$(AuthorPasswd)" DistribCertificate="$(DistribCertificate)" DistribPasswd="$(DistribPasswd)" />\r
107   </Target>\r
108 </Project>\r