|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + <PropertyGroup> |
| 3 | + |
| 4 | + <!--This should be passed from the VSTS build--> |
| 5 | + <ClientSemVer Condition="'$(ClientSemVer)' == ''">1.0.0-localbuild</ClientSemVer> |
| 6 | + <!--This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion--> |
| 7 | + <Version>$(ClientSemVer)</Version> |
| 8 | + |
| 9 | + <DefineConstants>$(DefineConstants);WEB</DefineConstants> |
| 10 | + <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> |
| 11 | + <Authors>Microsoft</Authors> |
| 12 | + <Company>Microsoft</Company> |
| 13 | + <Description>This package enables ASP.NET Core Web apps and Web APIs to use the Microsoft identity platform (formerly Azure AD v2.0). When they call Web APIs, MSAL.NET is used to acquire tokens</Description> |
| 14 | + <Copyright>© Microsoft Corporation. All rights reserved.</Copyright> |
| 15 | + <PackageLicenseExpression>MIT</PackageLicenseExpression> |
| 16 | + <PackageProjectUrl>https://github.com/AzureAD/microsoft-authentication-extensions-for-dotnet</PackageProjectUrl> |
| 17 | + <RepositoryUrl>https://github.com/AzureAD/microsoft-authentication-extensions-for-dotnet</RepositoryUrl> |
| 18 | + <PackageTags>Microsoft Authentication Library MSAL Azure Active Directory AAD Identity .NET ASP.NET Core</PackageTags> |
| 19 | + </PropertyGroup> |
| 20 | + |
| 21 | + <PropertyGroup Label="Source Link"> |
| 22 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 23 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 24 | + <!-- Build symbol package (.snupkg) to distribute the PDB containing Source Link --> |
| 25 | + <IncludeSymbols>true</IncludeSymbols> |
| 26 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 27 | + </PropertyGroup> |
| 28 | + |
| 29 | + <ItemGroup> |
| 30 | + <Compile Remove="InstanceDiscovery\**" /> |
| 31 | + <Compile Remove="Resource\**" /> |
| 32 | + <Compile Remove="TokenCacheProviders\**" /> |
| 33 | + <EmbeddedResource Remove="InstanceDiscovery\**" /> |
| 34 | + <EmbeddedResource Remove="Resource\**" /> |
| 35 | + <EmbeddedResource Remove="TokenCacheProviders\**" /> |
| 36 | + <None Remove="InstanceDiscovery\**" /> |
| 37 | + <None Remove="Resource\**" /> |
| 38 | + <None Remove="TokenCacheProviders\**" /> |
| 39 | + </ItemGroup> |
| 40 | + |
| 41 | + <ItemGroup> |
| 42 | + <Compile Remove="AccountExtensions.cs" /> |
| 43 | + <Compile Remove="AuthorizeForScopesAttribute.cs" /> |
| 44 | + <Compile Remove="ClaimConstants.cs" /> |
| 45 | + <Compile Remove="ClaimsPrincipalExtensions.cs" /> |
| 46 | + <Compile Remove="ClaimsPrincipalFactory.cs" /> |
| 47 | + <Compile Remove="Extensions.cs" /> |
| 48 | + <Compile Remove="HttpContextExtensions.cs" /> |
| 49 | + <Compile Remove="InternalsVisibleTo.cs" /> |
| 50 | + <Compile Remove="ITokenAcquisition.cs" /> |
| 51 | + <Compile Remove="OidcConstants.cs" /> |
| 52 | + <Compile Remove="ServiceCollectionExtensions.cs" /> |
| 53 | + <Compile Remove="TokenAcquisition.cs" /> |
| 54 | + <Compile Remove="WebAppServiceCollectionExtensions.cs" /> |
| 55 | + </ItemGroup> |
| 56 | + |
| 57 | + <ItemGroup> |
| 58 | + <None Remove="NuGet.Config" /> |
| 59 | + <None Remove="README.md" /> |
| 60 | + </ItemGroup> |
| 61 | + |
| 62 | + <ItemGroup Label="Build Tools" Condition="$([MSBuild]::IsOsPlatform('Windows'))"> |
| 63 | + <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" /> |
| 64 | + </ItemGroup> |
| 65 | + |
| 66 | + |
| 67 | + <PropertyGroup> |
| 68 | + <TargetFramework>netcoreapp3.1</TargetFramework> |
| 69 | + </PropertyGroup> |
| 70 | + |
| 71 | + |
| 72 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> |
| 73 | + <CodeAnalysisRuleSet>Microsoft.Identity.Web.ruleset</CodeAnalysisRuleSet> |
| 74 | + </PropertyGroup> |
| 75 | + |
| 76 | + |
| 77 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
| 78 | + <CodeAnalysisRuleSet>Microsoft.Identity.Web.ruleset</CodeAnalysisRuleSet> |
| 79 | + </PropertyGroup> |
| 80 | + |
| 81 | + <ItemGroup> |
| 82 | + <PackageReference Include="Microsoft.AspNetCore.Authentication.AzureAD.UI" Version="3.1.0" /> |
| 83 | + <PackageReference Include="Microsoft.AspNetCore.Authentication.AzureADB2C.UI" Version="3.1.0" /> |
| 84 | + <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.3" /> |
| 85 | + <PackageReference Include="Microsoft.Identity.Client" Version="4.10.0" /> |
| 86 | + <PackageReference Include="Microsoft.Identity.Web" Version="1.0.0-localbuild" /> |
| 87 | + <PackageReference Include="Microsoft.IdentityModel.Protocols.SignedHttpRequest" Version="6.5.0" /> |
| 88 | + <PackageReference Include="System.Collections" Version="4.3.0" /> |
| 89 | + <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="6.5.0" /> |
| 90 | + <PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.5.0" /> |
| 91 | + <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.5.0" /> |
| 92 | + </ItemGroup> |
| 93 | +</Project> |
0 commit comments