1
1
<Project >
2
- <PropertyGroup >
3
- <!-- This should be passed from the VSTS build-->
4
- <MicrosoftIdentityAbstractionsVersion Condition =" '$(MicrosoftIdentityAbstractionsVersion)' == ''" >6.0.0-local</MicrosoftIdentityAbstractionsVersion >
5
- <!-- This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion-->
6
- <Version >$(MicrosoftIdentityAbstractionsVersion)</Version >
2
+ <PropertyGroup >
3
+ <!-- This should be passed from the VSTS build -->
4
+ <MicrosoftIdentityAbstractionsVersion Condition =" '$(MicrosoftIdentityAbstractionsVersion)' == ''" >7.0.1</MicrosoftIdentityAbstractionsVersion >
5
+ <!-- This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion -->
6
+ <Version >$(MicrosoftIdentityAbstractionsVersion)</Version >
7
+ <AssemblyOriginatorKeyFile >$(MSBuildThisFileDirectory)\build\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile >
8
+ <RepositoryType >git</RepositoryType >
9
+ <Authors >Microsoft</Authors >
10
+ <Company >Microsoft Corporation</Company >
11
+ <Copyright >© Microsoft Corporation. All rights reserved.</Copyright >
12
+ <PackageLicenseExpression >MIT</PackageLicenseExpression >
13
+ <PackageProjectUrl >https://github.com/AzureAD/microsoft-identity-abstractions-for-dotnet</PackageProjectUrl >
14
+ <RepositoryUrl >https://github.com/AzureAD/microsoft-identity-abstractions-for-dotnet</RepositoryUrl >
15
+ <PackageReleaseNotes >The release notes are available at https://github.com/AzureAD/microsoft-identity-abstractions-for-dotnet/releases and the roadmap at https://github.com/AzureAD/microsoft-identity-abstractions-for-dotnet/wiki#roadmap </PackageReleaseNotes >
16
+ <PackageTags >Microsoft Identity Abstractions for dotnet;Microsoft identity platform;Microsoft Identity Web;.NET;ASP.NET Core;Web App;Web API;B2C;Azure Active Directory;AAD;Identity;Authentication;Authorization</PackageTags >
17
+ <DefineConstants >$(DefineConstants);WEB</DefineConstants >
18
+ <PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
19
+ </PropertyGroup >
20
+
21
+ <PropertyGroup >
22
+ <TargetFrameworks >netstandard2.0;netstandard2.1;net462;net8.0</TargetFrameworks >
23
+ <SignAssembly >true</SignAssembly >
24
+ <AssemblyOriginatorKeyFile >../../build/MSAL.snk</AssemblyOriginatorKeyFile >
25
+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
26
+ <Nullable >enable</Nullable >
27
+ <LangVersion >12</LangVersion >
28
+ <EnablePackageValidation >true</EnablePackageValidation >
29
+ <PackageValidationBaselineVersion >7.0.0</PackageValidationBaselineVersion >
30
+ <BannedApiAnalyzersVersion >3.3.4</BannedApiAnalyzersVersion >
31
+ <MicrosoftCodeAnalysisPublicApiAnalyzers >3.3.4</MicrosoftCodeAnalysisPublicApiAnalyzers >
32
+ <MicrosoftCodeAnalysisNetAnalyzersVersion >8.0.0</MicrosoftCodeAnalysisNetAnalyzersVersion >
33
+ </PropertyGroup >
7
34
8
- <AssemblyOriginatorKeyFile >$(MSBuildThisFileDirectory)\build\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile >
9
- <RepositoryType >git</RepositoryType >
10
- <Authors >Microsoft</Authors >
11
- <Company >Microsoft Corporation</Company >
12
- <Copyright >© Microsoft Corporation. All rights reserved.</Copyright >
13
- <PackageLicenseExpression >MIT</PackageLicenseExpression >
14
- <PackageProjectUrl >https://github.com/AzureAD/microsoft-identity-abstractions-for-dotnet</PackageProjectUrl >
15
- <RepositoryUrl >https://github.com/AzureAD/microsoft-identity-abstractions-for-dotnet</RepositoryUrl >
16
- <PackageReleaseNotes >The release notes are available at https://github.com/AzureAD/microsoft-identity-abstractions-for-dotnet/releases and the roadmap at https://github.com/AzureAD/microsoft-identity-abstractions-for-dotnet/wiki#roadmap </PackageReleaseNotes >
17
- <PackageTags >Microsoft Identity Abstractions for dotnet;Microsoft identity platform;Microsoft Identity Web;.NET;ASP.NET Core;Web App;Web API;B2C;Azure Active Directory;AAD;Identity;Authentication;Authorization</PackageTags >
18
- <DefineConstants >$(DefineConstants);WEB</DefineConstants >
19
- <PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
20
- </PropertyGroup >
35
+ <PropertyGroup Label =" Source Link" >
36
+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
37
+ <EmbedUntrackedSources >true</EmbedUntrackedSources >
38
+ <!-- Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
39
+ <IncludeSymbols >true</IncludeSymbols >
40
+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
41
+ <!-- The MSAL.snk has both private and public keys -->
42
+ <DelaySign >false</DelaySign >
43
+ <EnableNETAnalyzers >true</EnableNETAnalyzers >
44
+ <EnforceCodeStyleInBuild >true</EnforceCodeStyleInBuild >
45
+ </PropertyGroup >
46
+
47
+ <PropertyGroup Condition =" '$(TF_BUILD)' == 'true'" >
48
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
49
+ </PropertyGroup >
21
50
22
- <PropertyGroup >
23
- <TargetFrameworks >netstandard2.0;netstandard2.1;net462;net8.0</TargetFrameworks >
24
- <SignAssembly >true</SignAssembly >
25
- <AssemblyOriginatorKeyFile >../../build/MSAL.snk</AssemblyOriginatorKeyFile >
26
- <GenerateDocumentationFile >true</GenerateDocumentationFile >
27
- <Nullable >enable</Nullable >
28
- <LangVersion >12</LangVersion >
29
- <EnablePackageValidation >true</EnablePackageValidation >
30
- <PackageValidationBaselineVersion >5.0.0</PackageValidationBaselineVersion >
31
- </PropertyGroup >
51
+ <ItemGroup >
52
+ <None Include =" ..\..\LICENSE" >
53
+ <Pack >True</Pack >
54
+ <PackagePath />
55
+ </None >
56
+ </ItemGroup >
32
57
33
- <PropertyGroup Label =" Source Link" >
34
- <PublishRepositoryUrl >true</PublishRepositoryUrl >
35
- <EmbedUntrackedSources >true</EmbedUntrackedSources >
36
- <!-- Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
37
- <IncludeSymbols >true</IncludeSymbols >
38
- <SymbolPackageFormat >snupkg</SymbolPackageFormat >
39
- <!-- The MSAL.snk has both private and public keys -->
40
- <DelaySign >false</DelaySign >
41
- <EnableNETAnalyzers >true</EnableNETAnalyzers >
42
- <EnforceCodeStyleInBuild >true</EnforceCodeStyleInBuild >
43
- </PropertyGroup >
58
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net462'" >
59
+ <Reference Include =" System.Net.Http" />
60
+ </ItemGroup >
44
61
45
- <PropertyGroup Condition =" '$(TF_BUILD)' == 'true'" >
46
- <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
47
- </PropertyGroup >
62
+ <ItemGroup Label =" Build Tools"
63
+ Condition =" $([MSBuild]::IsOsPlatform('Windows'))" >
64
+ <PackageReference Include =" Microsoft.SourceLink.GitHub"
65
+ Version =" 1.0.0"
66
+ PrivateAssets =" All" />
67
+ </ItemGroup >
48
68
49
- <ItemGroup >
50
- <None Include =" ..\..\LICENSE" >
51
- <Pack >True</Pack >
52
- <PackagePath ></PackagePath >
53
- </None >
54
- </ItemGroup >
69
+ <ItemGroup >
70
+ <!-- Protects against sync-over-async: https://github.com/microsoft/vs-threading/blob/main/doc/analyzers/index.md. -->
71
+ <PackageReference Include =" Microsoft.VisualStudio.Threading.Analyzers"
72
+ Version =" 17.11.20"
73
+ PrivateAssets =" all" />
55
74
56
- < ItemGroup Condition = " '$(TargetFramework)' == 'net462' " >
57
- < Reference Include =" System.Net.Http " />
58
- </ ItemGroup >
59
-
60
- < ItemGroup Label = " Build Tools " Condition = " $([MSBuild]::IsOsPlatform('Windows')) " >
61
- < PackageReference Include = " Microsoft.SourceLink.GitHub " Version = " 1.0.0 " PrivateAssets = " All " / >
62
- </ItemGroup >
63
- </Project >
75
+ <!-- Help understand public API changes -->
76
+ < PackageReference Include =" Microsoft.CodeAnalysis.PublicApiAnalyzers "
77
+ Version = " $(MicrosoftCodeAnalysisPublicApiAnalyzers) " >
78
+ < PrivateAssets >all</ PrivateAssets >
79
+ < IncludeAssets >runtime; build; native; contentfiles; analyzers</ IncludeAssets >
80
+ </ PackageReference >
81
+ </ItemGroup >
82
+ </Project >
0 commit comments