aspnetcore-tooling/eng/common/generate-locproject.ps1

110 строки
4.8 KiB
PowerShell
Исходник Обычный вид История

[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3313) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Update implementations for RazorConfiguration subclasses - Add UseConsolidatedMvcViews implementation in LatestProjectConfigurationProvider - Move to newer .NET SDK - may address problems in .cache deserialization - !fixup! Typo
2021-03-27 01:44:44 +03:00
Param(
[Parameter(Mandatory=$true)][string] $SourcesDirectory, # Directory where source files live; if using a Localize directory it should live in here
[string] $LanguageSet = 'VS_Main_Languages', # Language set to be used in the LocProject.json
[switch] $UseCheckedInLocProjectJson, # When set, generates a LocProject.json and compares it to one that already exists in the repo; otherwise just generates one
[switch] $CreateNeutralXlfs # Creates neutral xlf files. Only set to false when running locally
)
# Generates LocProject.json files for the OneLocBuild task. OneLocBuildTask is described here:
# https://ceapex.visualstudio.com/CEINTL/_wiki/wikis/CEINTL.wiki/107/Localization-with-OneLocBuild-Task
Set-StrictMode -Version 2.0
$ErrorActionPreference = "Stop"
. $PSScriptRoot\tools.ps1
Import-Module -Name (Join-Path $PSScriptRoot 'native\CommonLibrary.psm1')
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3638) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - React to new StringSegment introduction
2021-05-24 20:52:59 +03:00
$exclusionsFilePath = "$SourcesDirectory\eng\Localize\LocExclusions.json"
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3313) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Update implementations for RazorConfiguration subclasses - Add UseConsolidatedMvcViews implementation in LatestProjectConfigurationProvider - Move to newer .NET SDK - may address problems in .cache deserialization - !fixup! Typo
2021-03-27 01:44:44 +03:00
$exclusions = @{ Exclusions = @() }
if (Test-Path -Path $exclusionsFilePath)
{
$exclusions = Get-Content "$exclusionsFilePath" | ConvertFrom-Json
}
Push-Location "$SourcesDirectory" # push location for Resolve-Path -Relative to work
# Template files
$jsonFiles = @()
$jsonFiles += Get-ChildItem -Recurse -Path "$SourcesDirectory" | Where-Object { $_.FullName -Match "\.template\.config\\localize\\en\..+\.json" } # .NET templating pattern
$jsonFiles += Get-ChildItem -Recurse -Path "$SourcesDirectory" | Where-Object { $_.FullName -Match "en\\strings\.json" } # current winforms pattern
$xlfFiles = @()
$allXlfFiles = Get-ChildItem -Recurse -Path "$SourcesDirectory\*\*.xlf"
$langXlfFiles = @()
if ($allXlfFiles) {
$null = $allXlfFiles[0].FullName -Match "\.([\w-]+)\.xlf" # matches '[langcode].xlf'
$firstLangCode = $Matches.1
$langXlfFiles = Get-ChildItem -Recurse -Path "$SourcesDirectory\*\*.$firstLangCode.xlf"
}
$langXlfFiles | ForEach-Object {
$null = $_.Name -Match "(.+)\.[\w-]+\.xlf" # matches '[filename].[langcode].xlf
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3313) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Update implementations for RazorConfiguration subclasses - Add UseConsolidatedMvcViews implementation in LatestProjectConfigurationProvider - Move to newer .NET SDK - may address problems in .cache deserialization - !fixup! Typo
2021-03-27 01:44:44 +03:00
$destinationFile = "$($_.Directory.FullName)\$($Matches.1).xlf"
$xlfFiles += Copy-Item "$($_.FullName)" -Destination $destinationFile -PassThru
}
$locFiles = $jsonFiles + $xlfFiles
$locJson = @{
Projects = @(
@{
LanguageSet = $LanguageSet
LocItems = @(
$locFiles | ForEach-Object {
$outputPath = "$(($_.DirectoryName | Resolve-Path -Relative) + "\")"
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3313) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Update implementations for RazorConfiguration subclasses - Add UseConsolidatedMvcViews implementation in LatestProjectConfigurationProvider - Move to newer .NET SDK - may address problems in .cache deserialization - !fixup! Typo
2021-03-27 01:44:44 +03:00
$continue = $true
foreach ($exclusion in $exclusions.Exclusions) {
if ($outputPath.Contains($exclusion))
{
$continue = $false
}
}
$sourceFile = ($_.FullName | Resolve-Path -Relative)
if (!$CreateNeutralXlfs -and $_.Extension -eq '.xlf') {
Remove-Item -Path $sourceFile
}
if ($continue)
{
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3501) * Update dependencies from https://github.com/dotnet/aspnetcore build 20210422.12 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21222.12 * Update dependencies from https://github.com/dotnet/aspnetcore build 20210422.13 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21222.13 * Update dependencies from https://github.com/dotnet/aspnetcore build 20210422.17 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21222.17 * Update dependencies from https://github.com/dotnet/aspnetcore build 20210423.1 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21223.1 * Update dependencies from https://github.com/dotnet/aspnetcore build 20210423.2 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21223.2 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21222.13 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210423.3 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21223.3 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21222.13 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210423.6 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21223.6 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21222.13 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210423.8 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21223.8 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21222.13 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210423.9 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21223.9 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21222.13 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210423.10 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21223.10 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21222.13 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210423.11 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21223.11 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21222.13 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210424.1 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21224.1 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21224.1 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210424.2 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21224.2 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21224.1 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210424.3 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21224.3 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21224.1 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210425.1 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21225.1 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21224.4 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/arcade build 20210422.1 Microsoft.DotNet.Arcade.Sdk From Version 6.0.0-beta.21216.2 -> To Version 6.0.0-beta.21222.1 * Update dependencies from https://github.com/dotnet/aspnetcore build 20210426.1 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21226.1 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21224.4 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210426.2 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21226.2 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21224.4 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210426.3 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21226.3 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21226.1 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210426.4 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21226.4 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21226.1 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210426.5 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21226.5 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21226.1 (parent: Microsoft.CodeAnalysis.Razor * Update dependencies from https://github.com/dotnet/aspnetcore build 20210426.6 Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions From Version 6.0.0-preview.5.21222.11 -> To Version 6.0.0-preview.5.21226.6 Dependency coherency updates Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms From Version 6.0.0-preview.5.21222.1 -> To Version 6.0.0-preview.5.21226.1 (parent: Microsoft.CodeAnalysis.Razor Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-04-27 01:05:25 +03:00
if ($_.Directory.Name -eq 'en' -and $_.Extension -eq '.json') {
return @{
SourceFile = $sourceFile
CopyOption = "LangIDOnPath"
OutputPath = "$($_.Directory.Parent.FullName | Resolve-Path -Relative)\"
}
}
else {
return @{
SourceFile = $sourceFile
CopyOption = "LangIDOnName"
OutputPath = $outputPath
}
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3313) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Update implementations for RazorConfiguration subclasses - Add UseConsolidatedMvcViews implementation in LatestProjectConfigurationProvider - Move to newer .NET SDK - may address problems in .cache deserialization - !fixup! Typo
2021-03-27 01:44:44 +03:00
}
}
}
)
}
)
}
$json = ConvertTo-Json $locJson -Depth 5
Write-Host "LocProject.json generated:`n`n$json`n`n"
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3313) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Update implementations for RazorConfiguration subclasses - Add UseConsolidatedMvcViews implementation in LatestProjectConfigurationProvider - Move to newer .NET SDK - may address problems in .cache deserialization - !fixup! Typo
2021-03-27 01:44:44 +03:00
Pop-Location
if (!$UseCheckedInLocProjectJson) {
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3638) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - React to new StringSegment introduction
2021-05-24 20:52:59 +03:00
New-Item "$SourcesDirectory\eng\Localize\LocProject.json" -Force # Need this to make sure the Localize directory is created
Set-Content "$SourcesDirectory\eng\Localize\LocProject.json" $json
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3313) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Update implementations for RazorConfiguration subclasses - Add UseConsolidatedMvcViews implementation in LatestProjectConfigurationProvider - Move to newer .NET SDK - may address problems in .cache deserialization - !fixup! Typo
2021-03-27 01:44:44 +03:00
}
else {
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3638) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - React to new StringSegment introduction
2021-05-24 20:52:59 +03:00
New-Item "$SourcesDirectory\eng\Localize\LocProject-generated.json" -Force # Need this to make sure the Localize directory is created
Set-Content "$SourcesDirectory\eng\Localize\LocProject-generated.json" $json
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3313) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Update implementations for RazorConfiguration subclasses - Add UseConsolidatedMvcViews implementation in LatestProjectConfigurationProvider - Move to newer .NET SDK - may address problems in .cache deserialization - !fixup! Typo
2021-03-27 01:44:44 +03:00
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3638) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.6.21269.7 to 6.0.0-preview.6.21274.1 (parent: Microsoft.CodeAnalysis.Razor) - React to new StringSegment introduction
2021-05-24 20:52:59 +03:00
if ((Get-FileHash "$SourcesDirectory\eng\Localize\LocProject-generated.json").Hash -ne (Get-FileHash "$SourcesDirectory\eng\Localize\LocProject.json").Hash) {
Write-PipelineTelemetryError -Category "OneLocBuild" -Message "Existing LocProject.json differs from generated LocProject.json. Download LocProject-generated.json and compare them."
[main] Update dependencies from dotnet/arcade dotnet/aspnetcore (#3313) [main] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.3.21164.8 to 6.0.0-preview.4.21176.1 (parent: Microsoft.CodeAnalysis.Razor) - Update implementations for RazorConfiguration subclasses - Add UseConsolidatedMvcViews implementation in LatestProjectConfigurationProvider - Move to newer .NET SDK - may address problems in .cache deserialization - !fixup! Typo
2021-03-27 01:44:44 +03:00
exit 1
}
else {
Write-Host "Generated LocProject.json and current LocProject.json are identical."
}
}