/
Microsoft.Identity.Client.csproj
176 lines (170 loc) · 10 KB
/
Microsoft.Identity.Client.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<Project Sdk="Microsoft.NET.Sdk">
<!-- Exclude the analysis of this framework type: workaround for https://jira.sonarsource.com/browse/SONARMSBRU-317 -->
<!-- NB this property has no effect on the assemblies that are built - it is only to tell the VSTS SonarQube analysis tasks
which assembly to analyse. -->
<PropertyGroup Condition="'$(TargetFramework)' != 'net45' ">
<SonarQubeExclude>true</SonarQubeExclude>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net45;netstandard1.1;netstandard1.3;win81;MonoAndroid7;Xamarin.iOS10</TargetFrameworks>
<Authors>Microsoft</Authors>
<PackageTitle>Microsoft Authentication Library</PackageTitle>
<PackageLicenseUrl>https://go.microsoft.com/fwlink/?linkid=844762</PackageLicenseUrl>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=844761</PackageProjectUrl>
<MinClientVersion>2.12</MinClientVersion>
<Description>This package contains the binaries of the Microsoft Authentication Library (MSAL). MSAL makes it easy to obtain tokens from Azure AD v2 (work & school accounts, MSA) and Azure AD B2C, gaining access to Microsoft Cloud API and any other API secured by Microsoft identities. This version supports adding authentication functionality to your .NET based client on Windows desktop (.NET 4.5+), UWP, .NET Core, Xamarin iOS and Xamarin Android.</Description>
<Summary>This package contains the binaries of the Microsoft Authentication Library (MSAL). MSAL makes it easy to obtain tokens from Azure AD v2 (work & school accounts, MSA) and Azure AD B2C, gaining access to Microsoft Cloud API and any other API secured by Microsoft identities. This version supports adding authentication functionality to your .NET based client on Windows desktop (.NET 4.5+), UWP, .NET Core, Xamarin iOS and Xamarin Android.</Summary>
<Copyright>(C) Microsoft Corporation. All rights reserved.</Copyright>
<PackageTags>Microsoft Authentication Library;MSA;MSAL;B2C;Azure Active Directory;AAD;Identity;Authentication;.NET;Windows Store;Xamarin iOS;Android</PackageTags>
<Product>Microsoft.Identity.Client ($(TargetFramework))</Product>
<IncludeSymbols>true</IncludeSymbols>
<GenerateDocumentationFile Condition=" '$(Configuration)' == 'Release' ">true</GenerateDocumentationFile>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\build\MSAL.snk</AssemblyOriginatorKeyFile>
<!-- Workaround until Xamarin supports PPDB -->
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
<DebugType>full</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.1' ">
<DefineConstants>$(DefineConstants);FACADE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'win81' or '$(TargetFramework)' == 'uap10.0' ">
<DefineConstants>$(DefineConstants);WINRT</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'MonoAndroid7'">
<DefineConstants>$(DefineConstants);ANDROID</DefineConstants>
<NoWarn>$(NoWarn);CS8002</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
<DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
<NoWarn>$(NoWarn);CS8002</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'Xamarin.iOS10'">
<DefineConstants>$(DefineConstants);iOS</DefineConstants>
<NoWarn>$(NoWarn);CS8002</NoWarn>
</PropertyGroup>
<PropertyGroup>
<CodeAnalysisRuleSet>..\..\ConfigureAwait.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net45|AnyCPU'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
</PropertyGroup>
<ItemGroup>
<!-- This None is here so the conditionally included files show up in the Solution Explorer -->
<None Include="**\*.cs;**\*.xml;**\*.axml" Exclude="obj\**\*.*;bin\**\*.*" />
<Compile Remove="Platforms\**\*.*" />
<Compile Remove="Features\**\*.*" />
<EmbeddedResource Include="Properties\Microsoft.Identity.Client.rd.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MSBuild.Sdk.Extras" Version="1.1.0-preview.2.build.8" PrivateAssets="All" />
<PackageReference Include="GitVersionTask" Version="4.0.0-beta0011" PrivateAssets="All" />
<PackageReference Include="AsyncUsageAnalyzers" Version="1.0.0-alpha003" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1' or '$(TargetFramework)' == 'netstandard1.3'">
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.3.0" />
<PackageReference Include="System.Runtime.Serialization.Json" Version="4.3.0" />
<PackageReference Include="System.Xml.XDocument" Version="4.3.0" />
<PackageReference Include="System.Security.Cryptography.X509Certificates" Version="4.3.0" Condition="'$(TargetFramework)' != 'netstandard1.1'" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.IdentityModel" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Compile Include="Platforms\net45\*.cs" />
<Compile Include="Features\EventSource\**\*.cs" />
<Compile Include="Features\TokenCache\**\*.cs" />
<Compile Include="Features\PublicClient\**\*.cs" />
<Compile Include="Features\*.cs" />
<Compile Include="Features\ConfidentialClient\**\*.cs" />
<Compile Update="Platforms\net45\CustomWebBrowser.CustomWebBrowserEvent.cs" SubType="Component" />
<Compile Update="Platforms\net45\CustomWebBrowser.cs" SubType="Component" />
<Compile Update="Platforms\net45\WinFormWebAuthenticationDialog.cs" SubType="Form" />
<Compile Update="Platforms\net45\WindowsFormsWebAuthenticationDialogBase.cs" SubType="Form" />
<Compile Update="Platforms\net45\SilentWindowsFormsAuthenticationDialog.cs" SubType="Form" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'win81' or '$(TargetFramework)' == 'uap10.0' ">
<Compile Include="Platforms\winrt\**\*.cs" />
<Compile Include="Features\EventSource\**\*.cs" />
<Compile Include="Features\PublicClient\**\*.cs" />
<Compile Include="Features\*.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1'">
<Compile Include="Platforms\netstandard1.1\*.cs" />
<Compile Include="Features\TokenCache\**\*.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.3' ">
<Compile Include="Platforms\netstandard1.3\**\*.cs" />
<Compile Include="Features\PublicClient\**\*.cs" />
<Compile Include="Features\ConfidentialClient\**\*.cs" />
<Compile Include="Features\EventSource\**\*.cs" />
<Compile Include="Features\TokenCache\**\*.cs" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'uap10.0' ">
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform " Version="5.2.2" />
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.1.1" />
<PackageReference Include="System.Runtime.Serialization.Json" Version="4.0.3" />
<PackageReference Include="System.Xml.XDocument" Version="4.0.11" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'Xamarin.iOS10' ">
<Reference Include="System" />
<Reference Include="System.Runtime" />
<Reference Include="System.Collections" />
<Reference Include="System.Threading.Tasks" />
<Reference Include="System.IdentityModel" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="Xamarin.iOS" />
<Compile Include="Platforms\iOS\**\*.cs" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'MonoAndroid7' ">
<Reference Include="Mono.Android" />
<Reference Include="System" />
<Reference Include="System.Collections" />
<Reference Include="System.Threading.Tasks" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime" />
<Reference Include="System.Threading.Tasks" />
<Reference Include="System.IdentityModel" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" />
<Compile Include="Platforms\Android\**\*.cs" />
<AndroidResource Include="Resources\**\*.axml" />
<AndroidResource Include="Resources\**\*.xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\GlobalSuppressions.cs" />
</ItemGroup>
<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
<!-- This is here to workaround designer issues so VS sees them appropriately -->
<ItemGroup>
<None Update="Platforms\net45\CustomWebBrowser.CustomWebBrowserEvent.cs" SubType="Component" />
<None Update="Platforms\net45\CustomWebBrowser.cs" SubType="Component" />
<None Update="Platforms\net45\WinFormWebAuthenticationDialog.cs" SubType="Form" />
<None Update="Platforms\net45\WindowsFormsWebAuthenticationDialogBase.cs" SubType="Form" />
<None Update="Platforms\net45\SilentWindowsFormsAuthenticationDialog.cs" SubType="Form" />
</ItemGroup>
<!-- CustomTabs and AppCompat must reference the same version -->
<ItemGroup Condition="'$(TargetFramework)' == 'MonoAndroid7'">
<PackageReference Include="Xamarin.Android.Support.CustomTabs">
<Version>25.4.0.2</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat">
<Version>25.4.0.2</Version>
</PackageReference>
</ItemGroup>
</Project>