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