Skip to content

Commit 1178388

Browse files
trwalkebgavrilMS
andauthored
Update MSAL versioning property to use MicrosoftIdentityClientVersion (#5301)
* Rename version variable for MISE integration * pca projects too --------- Co-authored-by: Bogdan Gavril <bogavril@microsoft.com>
1 parent 5ee2b5d commit 1178388

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,5 @@ For MAUI, edit the .csproj and enable the mobile targets.
144144
You can create a package from Visual Studio or from the command line with custom version parameters:
145145

146146
```bash
147-
msbuild <msal>.csproj /t:pack /p:MsalClientSemVer=1.2.3-preview
147+
msbuild <msal>.csproj /t:pack /p:MicrosoftIdentityClientVersion=1.2.3-preview
148148
```

build/template-OneBranch-CI-libsandsamples.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
parameters:
55
BuildPlatform: 'any cpu'
66
BuildConfiguration: 'release'
7-
MsalClientSemVer: '4.60.0-devopsbuild'
7+
MicrosoftIdentityClientVersion: '4.60.0-devopsbuild'
88
MsalSourceDir: 'microsoft-authentication-library-for-dotnet\' #Default MSAL Location
99

1010
steps:
@@ -82,6 +82,6 @@ steps:
8282
displayName: 'Build solution ${{ parameters.Solution }}'
8383
inputs:
8484
solution: ${{ parameters.Solution }}
85-
msbuildArgs: '/p:RunCodeAnalysis=false /p:MsalClientSemVer=${{ parameters.MsalClientSemVer }} /p:SourceLinkCreate=true /p:ContinousIntegrationBuild=true'
85+
msbuildArgs: '/p:RunCodeAnalysis=false /p:MicrosoftIdentityClientVersion=${{ parameters.MicrosoftIdentityClientVersion }} /p:SourceLinkCreate=true /p:ContinousIntegrationBuild=true'
8686
platform: ${{ parameters.BuildPlatform }}
8787
configuration: ${{ parameters.BuildConfiguration }}

build/template-OneBranch-Release-libsandsamples.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
parameters:
66
BuildPlatform: 'any cpu'
77
BuildConfiguration: 'release'
8-
MsalClientSemVer: '4.55.0-devopsbuild'
8+
MicrosoftIdentityClientVersion: '4.55.0-devopsbuild'
99
MsalSourceDir: 'microsoft-authentication-library-for-dotnet\' #Default MSAL Location
1010

1111
steps:
1212

1313
- template: template-OneBranch-CI-libsandsamples.yaml
1414
parameters:
1515
Solution: 'microsoft-authentication-library-for-dotnet/LibsAndSamples.sln'
16-
MsalClientSemVer: $(MsalClientSemVer) #Default MSAL package version
16+
MicrosoftIdentityClientVersion: $(MicrosoftIdentityClientVersion) #Default MSAL package version
1717
MsalSourceDir: $(MsalSourceDir) #Default MSAL root directory
1818
PipelineType: $(PipelineType) #Build type
1919

build/template-build-and-prep-automation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
parameters:
1616
BuildPlatform: '$(BuildPlatform)'
1717
BuildConfiguration: '$(BuildConfiguration)'
18-
MsalClientSemVer: $(MsalClientSemVer)
18+
MicrosoftIdentityClientVersion: $(MicrosoftIdentityClientVersion)
1919
Solution: 'LibsAndSamples.sln'
2020

2121
- task: CopyFiles@2

build/template-restore-build-libsandsamples.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
parameters:
55
BuildPlatform: 'any cpu'
66
BuildConfiguration: 'Release'
7-
MsalClientSemVer: '4.60.0-devopsbuild'
7+
MicrosoftIdentityClientVersion: '4.60.0-devopsbuild'
88

99
steps:
1010

@@ -47,7 +47,7 @@ steps:
4747
displayName: 'Build solution ${{ parameters.Solution }}'
4848
inputs:
4949
solution: ${{ parameters.Solution }}
50-
msbuildArgs: '/p:RunCodeAnalysis=false /p:MsalClientSemVer=${{ parameters.MsalClientSemVer }} /p:SourceLinkCreate=true /p:ContinousIntegrationBuild=true'
50+
msbuildArgs: '/p:RunCodeAnalysis=false /p:MicrosoftIdentityClientVersion=${{ parameters.MicrosoftIdentityClientVersion }} /p:SourceLinkCreate=true /p:ContinousIntegrationBuild=true'
5151
platform: ${{ parameters.BuildPlatform }}
5252
configuration: ${{ parameters.BuildConfiguration }}
5353
maximumCpuCount: true

src/client/Microsoft.Identity.Client.Broker/Microsoft.Identity.Client.Broker.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
<PropertyGroup Label="NuGet and AssemblyInfo metadata">
1313
<!--This should be passed from the VSTS build-->
14-
<MsalClientSemVer Condition="'$(MsalClientSemVer)' == ''">$(MsalInternalVersion)</MsalClientSemVer>
14+
<MicrosoftIdentityClientVersion Condition="'$(MicrosoftIdentityClientVersion)' == ''">$(MsalInternalVersion)</MicrosoftIdentityClientVersion>
1515
<!--This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion-->
16-
<Version>$(MsalClientSemVer)</Version>
16+
<Version>$(MicrosoftIdentityClientVersion)</Version>
1717
<!-- Copyright needs to be in the form of © not (c) to be compliant -->
1818
<Title>MSAL.NET extension for public client broker support</Title>
1919
<Description>

src/client/Microsoft.Identity.Client.Desktop/Microsoft.Identity.Client.Desktop.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
<PropertyGroup Label="NuGet and AssemblyInfo metadata">
1515
<!--This should be passed from the VSTS build-->
16-
<MsalClientSemVer Condition="'$(MsalClientSemVer)' == ''">$(MsalInternalVersion)</MsalClientSemVer>
17-
<MsalClientSemVer>$(MsalClientSemVer)</MsalClientSemVer>
16+
<MicrosoftIdentityClientVersion Condition="'$(MicrosoftIdentityClientVersion)' == ''">$(MsalInternalVersion)</MicrosoftIdentityClientVersion>
17+
<MicrosoftIdentityClientVersion>$(MicrosoftIdentityClientVersion)</MicrosoftIdentityClientVersion>
1818
<!--This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion-->
19-
<Version>$(MsalClientSemVer)</Version>
19+
<Version>$(MicrosoftIdentityClientVersion)</Version>
2020
<!-- Copyright needs to be in the form of © not (c) to be compliant -->
2121
<Title>MSAL.NET extension for desktop scenarios for older .NET platforms</Title>
2222
<Description>

src/client/Microsoft.Identity.Client.Extensions.Msal/Microsoft.Identity.Client.Extensions.Msal.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<PropertyGroup Label="NuGet and AssemblyInfo metadata">
88
<!-- most of the properties are in Directory.Build.props-->
99
<!--This should be passed from the VSTS build-->
10-
<MsalClientSemVer Condition="'$(MsalClientSemVer)' == ''">$(MsalInternalVersion)</MsalClientSemVer>
10+
<MicrosoftIdentityClientVersion Condition="'$(MicrosoftIdentityClientVersion)' == ''">$(MsalInternalVersion)</MicrosoftIdentityClientVersion>
1111
<!--This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion-->
12-
<Version>$(MsalClientSemVer)</Version>
12+
<Version>$(MicrosoftIdentityClientVersion)</Version>
1313
<Description>This package contains the public client (desktop) caching to Microsoft Authentication Library for .NET (MSAL.NET)</Description>
1414
<PackageReadmeFile>README.md</PackageReadmeFile>
1515
</PropertyGroup>

src/client/Microsoft.Identity.Client/Microsoft.Identity.Client.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
<PropertyGroup Label="NuGet and AssemblyInfo metadata">
3030
<!--This should be passed from the VSTS build-->
31-
<MsalClientSemVer Condition="'$(MsalClientSemVer)' == ''">$(MsalInternalVersion)</MsalClientSemVer>
31+
<MicrosoftIdentityClientVersion Condition="'$(MicrosoftIdentityClientVersion)' == ''">$(MsalInternalVersion)</MicrosoftIdentityClientVersion>
3232
<!--This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion-->
33-
<Version>$(MsalClientSemVer)</Version>
33+
<Version>$(MicrosoftIdentityClientVersion)</Version>
3434

3535
<!-- Copyright needs to be in the form of © not (c) to be compliant -->
3636
<Title>Microsoft Authentication Library for .NET</Title>

0 commit comments

Comments
 (0)