Skip to content

Commit 76a8cb3

Browse files
authored
Merge branch 'release/10.0' into merge/release/10.0-rc1-to-release/10.0
2 parents 406e556 + 560cd83 commit 76a8cb3

File tree

8 files changed

+358
-320
lines changed

8 files changed

+358
-320
lines changed

eng/Version.Details.props

Lines changed: 100 additions & 100 deletions
Large diffs are not rendered by default.

eng/Version.Details.xml

Lines changed: 201 additions & 201 deletions
Large diffs are not rendered by default.

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AspNetCoreMajorVersion>10</AspNetCoreMajorVersion>
1111
<AspNetCoreMinorVersion>0</AspNetCoreMinorVersion>
1212
<AspNetCorePatchVersion>0</AspNetCorePatchVersion>
13-
<PreReleaseVersionIteration>1</PreReleaseVersionIteration>
13+
<PreReleaseVersionIteration>2</PreReleaseVersionIteration>
1414
<ValidateBaseline>true</ValidateBaseline>
1515
<IdentityModelVersion Condition="'$(IsIdentityModelTestJob)' != 'true'">8.0.1</IdentityModelVersion>
1616
<IdentityModelVersion Condition="'$(IsIdentityModelTestJob)' == 'true'">*-*</IdentityModelVersion>

eng/common/core-templates/steps/install-microbuild.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@ steps:
5353
zipSources: false
5454
feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
5555
${{ if eq(parameters.microbuildUseESRP, true) }}:
56-
${{ if eq(parameters.enableMicrobuildForMacAndLinux, 'true') }}:
57-
azureSubscription: 'MicroBuild Signing Task (DevDiv)'
58-
useEsrpCli: true
59-
${{ elseif eq(variables['System.TeamProject'], 'DevDiv') }}:
56+
ConnectedServiceName: 'MicroBuild Signing Task (DevDiv)'
57+
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
6058
ConnectedPMEServiceName: 6cc74545-d7b9-4050-9dfa-ebefcc8961ea
6159
${{ else }}:
6260
ConnectedPMEServiceName: 248d384a-b39b-46e3-8ad5-c2c210d5e7ca

eng/common/generate-locproject.ps1

Lines changed: 43 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,27 @@ $jsonTemplateFiles | ForEach-Object {
3333

3434
$jsonWinformsTemplateFiles = Get-ChildItem -Recurse -Path "$SourcesDirectory" | Where-Object { $_.FullName -Match "en\\strings\.json" } # current winforms pattern
3535

36+
$wxlFilesV3 = @()
37+
$wxlFilesV5 = @()
3638
$wxlFiles = Get-ChildItem -Recurse -Path "$SourcesDirectory" | Where-Object { $_.FullName -Match "\\.+\.wxl" -And -Not( $_.Directory.Name -Match "\d{4}" ) } # localized files live in four digit lang ID directories; this excludes them
3739
if (-not $wxlFiles) {
3840
$wxlEnFiles = Get-ChildItem -Recurse -Path "$SourcesDirectory" | Where-Object { $_.FullName -Match "\\1033\\.+\.wxl" } # pick up en files (1033 = en) specifically so we can copy them to use as the neutral xlf files
3941
if ($wxlEnFiles) {
40-
$wxlFiles = @()
41-
$wxlEnFiles | ForEach-Object {
42-
$destinationFile = "$($_.Directory.Parent.FullName)\$($_.Name)"
43-
$wxlFiles += Copy-Item "$($_.FullName)" -Destination $destinationFile -PassThru
44-
}
42+
$wxlFiles = @()
43+
$wxlEnFiles | ForEach-Object {
44+
$destinationFile = "$($_.Directory.Parent.FullName)\$($_.Name)"
45+
$content = Get-Content $_.FullName -Raw
46+
47+
# Split files on schema to select different parser settings in the generated project.
48+
if ($content -like "*http://wixtoolset.org/schemas/v4/wxl*")
49+
{
50+
$wxlFilesV5 += Copy-Item $_.FullName -Destination $destinationFile -PassThru
51+
}
52+
elseif ($content -like "*http://schemas.microsoft.com/wix/2006/localization*")
53+
{
54+
$wxlFilesV3 += Copy-Item $_.FullName -Destination $destinationFile -PassThru
55+
}
56+
}
4557
}
4658
}
4759

@@ -114,7 +126,32 @@ $locJson = @{
114126
CloneLanguageSet = "WiX_CloneLanguages"
115127
LssFiles = @( "wxl_loc.lss" )
116128
LocItems = @(
117-
$wxlFiles | ForEach-Object {
129+
$wxlFilesV3 | ForEach-Object {
130+
$outputPath = "$($_.Directory.FullName | Resolve-Path -Relative)\"
131+
$continue = $true
132+
foreach ($exclusion in $exclusions.Exclusions) {
133+
if ($_.FullName.Contains($exclusion)) {
134+
$continue = $false
135+
}
136+
}
137+
$sourceFile = ($_.FullName | Resolve-Path -Relative)
138+
if ($continue)
139+
{
140+
return @{
141+
SourceFile = $sourceFile
142+
CopyOption = "LangIDOnPath"
143+
OutputPath = $outputPath
144+
}
145+
}
146+
}
147+
)
148+
},
149+
@{
150+
LanguageSet = $LanguageSet
151+
CloneLanguageSet = "WiX_CloneLanguages"
152+
LssFiles = @( "P210WxlSchemaV4.lss" )
153+
LocItems = @(
154+
$wxlFilesV5 | ForEach-Object {
118155
$outputPath = "$($_.Directory.FullName | Resolve-Path -Relative)\"
119156
$continue = $true
120157
foreach ($exclusion in $exclusions.Exclusions) {

eng/common/tools.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,15 +544,17 @@ function LocateVisualStudio([object]$vsRequirements = $null){
544544
if (Get-Member -InputObject $GlobalJson.tools -Name 'vswhere') {
545545
$vswhereVersion = $GlobalJson.tools.vswhere
546546
} else {
547-
$vswhereVersion = '2.5.2'
547+
# keep this in sync with the VSWhereVersion in DefaultVersions.props
548+
$vswhereVersion = '3.1.7'
548549
}
549550

550551
$vsWhereDir = Join-Path $ToolsDir "vswhere\$vswhereVersion"
551552
$vsWhereExe = Join-Path $vsWhereDir 'vswhere.exe'
552553

553554
if (!(Test-Path $vsWhereExe)) {
554555
Create-Directory $vsWhereDir
555-
Write-Host 'Downloading vswhere'
556+
Write-Host 'Downloading vswhere $vswhereVersion'
557+
$ProgressPreference = 'SilentlyContinue' # Don't display the console progress UI - it's a huge perf hit
556558
Retry({
557559
Invoke-WebRequest "https://netcorenativeassets.blob.core.windows.net/resource-packages/external/windows/vswhere/$vswhereVersion/vswhere.exe" -OutFile $vswhereExe
558560
})

global.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"jdk": "latest"
2828
},
2929
"msbuild-sdks": {
30-
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25418.110",
31-
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25418.110",
32-
"Microsoft.DotNet.SharedFramework.Sdk": "10.0.0-beta.25418.110",
30+
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25416.109",
31+
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25416.109",
32+
"Microsoft.DotNet.SharedFramework.Sdk": "10.0.0-beta.25416.109",
3333
"Microsoft.Build.NoTargets": "3.7.0",
3434
"Microsoft.Build.Traversal": "3.4.0"
3535
}

package-lock.json

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

0 commit comments

Comments
 (0)