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
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>{B96DCE41-7A6D-45A5-8BB8-E035186B5092}</ProjectGuid>
\r
10 <OutputType>Library</OutputType>
\r
11 <AppDesignerFolder>Properties</AppDesignerFolder>
\r
12 <RootNamespace>Tizen.Applications.WidgetApplication</RootNamespace>
\r
13 <AssemblyName>Tizen.Applications.WidgetApplication</AssemblyName>
\r
14 <FileAlignment>512</FileAlignment>
\r
15 <DefaultLanguage>en-US</DefaultLanguage>
\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
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
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
45 <SignAssembly>true</SignAssembly>
\r
48 <AssemblyOriginatorKeyFile>Tizen.Applications.WidgetApplication.snk</AssemblyOriginatorKeyFile>
\r
51 <None Include="Tizen.Applications.WidgetApplication.project.json" />
\r
54 <Compile Include="Interop\Interop.Libraries.cs" />
\r
55 <Compile Include="Interop\Interop.Widget.cs" />
\r
56 <Compile Include="Properties\AssemblyInfo.cs" />
\r
57 <Compile Include="Tizen.Applications\WidgetApplication.cs" />
\r
58 <Compile Include="Tizen.Applications\WidgetBase.cs" />
\r
59 <Compile Include="Tizen.Applications.CoreBackend\WidgetCoreBackend.cs" />
\r
60 <Compile Include="Tizen.Applications\WidgetType.cs" />
\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
68 <Target Name="AfterBuild">
\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
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
79 <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
\r
80 <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
\r
81 <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
\r
83 <!-- Include tasks for Tizen -->
\r
85 <TizenBuildPath>$(MSBuildExtensionsPath)\Tizen</TizenBuildPath>
\r
86 <TizenToolsPath>$(TizenBuildPath)\bin</TizenToolsPath>
\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
96 <!-- Task to prepare tizen-manifest.xml file -->
\r
97 <Target Name="_TizenPrepManifest">
\r
98 <TizenPreparePackageManifest SolutionPath="$(SolutionPath)" ProjectPath="$(MSBuildProjectFullPath)" />
\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
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