Skip to content

Commit e6b004b

Browse files
Bump the mgmt dependency to 1.0.0-alpha.20250429.2 (Azure#49727)
* Bump the mgmt dependency to 1.0.0-alpha.20250429.2 * Add back line * Regen and package-lock
1 parent 3552c2c commit e6b004b

File tree

6 files changed

+33
-15
lines changed

6 files changed

+33
-15
lines changed

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
<ItemGroup Condition="'$(IsGeneratorLibrary)' == 'true'">
209209
<PackageReference Update="Microsoft.TypeSpec.Generator.ClientModel" Version="1.0.0-alpha.20250424.2" />
210210
<PackageReference Update="Microsoft.TypeSpec.Generator.Input" Version="1.0.0-alpha.20250424.2" />
211-
<PackageReference Update="Azure.Generator" Version="1.0.0-alpha.20250423.3" />
211+
<PackageReference Update="Azure.Generator" Version="1.0.0-alpha.20250429.2" />
212212
<PackageReference Update="System.ClientModel" Version="1.3.0" />
213213
</ItemGroup>
214214

eng/packages/http-client-csharp-mgmt/eng/scripts/Generate.ps1

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
param(
33
$filter,
44
[bool]$Stubbed = $true,
5-
[bool]$LaunchOnly = $false,
6-
[switch]$ForceNewProject = $false
5+
[bool]$LaunchOnly = $false
76
)
87

98
Import-Module "$PSScriptRoot\Generation.psm1" -DisableNameChecking -Force;
@@ -41,15 +40,15 @@ if (-not $LaunchOnly) {
4140
# only write new launch settings if no filter was passed in
4241
if ($null -eq $filter) {
4342
$mgmtSpec = "TestProjects/Local/Mgmt-TypeSpec"
44-
43+
4544
# Write the launch settings for Mgmt
4645
$mgmtLaunchSettings = @{}
4746
$mgmtLaunchSettings.Add("profiles", @{})
4847
$mgmtLaunchSettings["profiles"].Add("Mgmt-TypeSpec", @{})
4948
$mgmtLaunchSettings["profiles"]["Mgmt-TypeSpec"].Add("commandLineArgs", "`$(SolutionDir)/../dist/generator/Microsoft.TypeSpec.Generator.dll `$(SolutionDir)/$mgmtSpec -g MgmtClientGenerator")
5049
$mgmtLaunchSettings["profiles"]["Mgmt-TypeSpec"].Add("commandName", "Executable")
5150
$mgmtLaunchSettings["profiles"]["Mgmt-TypeSpec"].Add("executablePath", "dotnet")
52-
51+
5352
$mgmtSortedLaunchSettings = @{}
5453
$mgmtSortedLaunchSettings.Add("profiles", [ordered]@{})
5554
$mgmtLaunchSettings["profiles"].Keys | Sort-Object | ForEach-Object {
@@ -65,7 +64,7 @@ if ($null -eq $filter) {
6564

6665
$mgmtSortedLaunchSettings["profiles"][$profileKey] = $sortedProfile
6766
}
68-
67+
6968
# Write the launch settings to the launchSettings.json file
7069
$mgmtLaunchSettingsPath = Join-Path $mgmtSolutionDir "Azure.Generator.Mgmt" "src" "Properties" "launchSettings.json"
7170
# Write the settings to JSON and normalize line endings to Unix style (LF)

eng/packages/http-client-csharp-mgmt/eng/scripts/Generation.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function Get-Mgmt-TspCommand {
4444
$command += " --option @azure-typespec/http-client-csharp-mgmt.api-version=$apiVersion"
4545
}
4646

47-
#$command += " --option @azure-typespec/http-client-csharp-mgmt.new-project=true" TODO: https://github.com/Azure/azure-sdk-for-net/issues/49716
47+
$command += " --option @azure-typespec/http-client-csharp-mgmt.new-project=true"
4848

4949
return $command
5050
}

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/MgmtTypeSpec.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
<ItemGroup>
1111
<Compile Include="$(MSBuildThisFileDirectory)../../../../../../../../sdk/core/Azure.Core/src/Shared/RawRequestUriBuilder.cs" LinkBase="Shared/Core" />
12+
<Compile Include="$(MSBuildThisFileDirectory)../../../../../../../../sdk/core/Azure.Core/src/Shared/TypeFormatters.cs" LinkBase="Shared/Core" />
13+
<Compile Include="$(MSBuildThisFileDirectory)../../../../../../../../sdk/core/Azure.Core/src/Shared/RequestHeaderExtensions.cs" LinkBase="Shared/Core" />
1214
<Compile Include="$(MSBuildThisFileDirectory)../../../../../../../../sdk/core/Azure.Core/src/Shared/AppContextSwitchHelper.cs" LinkBase="Shared/Core" />
1315
<Compile Include="$(MSBuildThisFileDirectory)../../../../../../../../sdk/core/Azure.Core/src/Shared/AsyncLockWithValue.cs" LinkBase="Shared/Core" />
1416
<Compile Include="$(MSBuildThisFileDirectory)../../../../../../../../sdk/core/Azure.Core/src/Shared/FixedDelayWithNoJitterStrategy.cs" LinkBase="Shared/Core" />
@@ -27,8 +29,6 @@
2729
<Compile Include="$(MSBuildThisFileDirectory)../../../../../../../../sdk/core/Azure.Core/src/Shared/TaskExtensions.cs" LinkBase="Shared/Core" />
2830
<Compile Include="$(MSBuildThisFileDirectory)../../../../../../../../sdk/core/Azure.Core/src/Shared/TrimmingAttribute.cs" LinkBase="Shared/Core" />
2931
<Compile Include="$(MSBuildThisFileDirectory)../../../../../../../../sdk/core/Azure.Core/src/Shared/VoidValue.cs" LinkBase="Shared/Core" />
30-
<Compile Include="$(MSBuildThisFileDirectory)../../../../../../../../sdk/core/Azure.Core/src/Shared/TypeFormatters.cs" LinkBase="Shared/Core" />
31-
<Compile Include="$(MSBuildThisFileDirectory)../../../../../../../../sdk/core/Azure.Core/src/Shared/RequestHeaderExtensions.cs" LinkBase="Shared/Core" />
3232
</ItemGroup>
3333

3434
<ItemGroup>

eng/packages/http-client-csharp-mgmt/package-lock.json

Lines changed: 24 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp-mgmt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"dist/**"
3838
],
3939
"dependencies": {
40-
"@azure-typespec/http-client-csharp": "1.0.0-alpha.20250423.3"
40+
"@azure-typespec/http-client-csharp": "1.0.0-alpha.20250429.2"
4141
},
4242
"devDependencies": {
4343
"@azure-tools/azure-http-specs": "0.1.0-alpha.13",

0 commit comments

Comments
 (0)