Skip to content

Commit 4a5769a

Browse files
committed
Merge branch 'release/7.0.2xx'
2 parents 1f93d98 + 8dd7b91 commit 4a5769a

20 files changed

+108
-30
lines changed

eng/SourceBuild.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<PropertyGroup>
99
<InnerBuildArgs>$(InnerBuildArgs) /p:Projects="$(InnerSourceBuildRepoRoot)\source-build.slnf"</InnerBuildArgs>
1010
<InnerBuildArgs>$(InnerBuildArgs) /p:UseSharedCompilation=false</InnerBuildArgs>
11+
<InnerBuildArgs Condition="'$(SourceBuildUseMonoRuntime)' == 'true'">$(InnerBuildArgs) /p:NativeAotSupported=false</InnerBuildArgs>
1112
</PropertyGroup>
1213
</Target>
1314

eng/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ parameters:
1515
timeoutInMinutes: 180
1616

1717
jobs:
18-
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/release/7.0.2xx'), not(contains(parameters.agentOs, 'TemplateEngine'))) }}:
18+
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/release/7.0.3xx'), not(contains(parameters.agentOs, 'TemplateEngine'))) }}:
1919
- template: /eng/common/templates/job/onelocbuild.yml
2020
parameters:
2121
CreatePr: true
2222
LclSource: lclFilesfromPackage
2323
LclPackageId: 'LCL-JUNO-PROD-DOTNETSDK'
24-
MirrorBranch: release/7.0.2xx
24+
MirrorBranch: release/7.0.3xx
2525
MirrorRepo: sdk
2626

2727
- ${{ if not(contains(parameters.agentOs, 'TemplateEngine')) }}:

src/Layout/redist/targets/BundledSdks.targets

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
<BundledSdk Include="Microsoft.NET.Sdk.WindowsDesktop" Version="$(MicrosoftNETSdkWindowsDesktopPackageVersion)" Condition="'$(DotNetBuildFromSource)' != 'true'" />
55
<BundledSdk Include="FSharp.NET.Sdk" Version="1.0.4-bundled-0100" />
66
<BundledSdk Include="Microsoft.Docker.Sdk" Version="1.1.0" />
7+
<BundledSdk Include="Microsoft.NET.ILLink.Tasks" Version="$(MicrosoftNETILLinkTasksPackageVersion)" />
8+
<BundledSdk Include="Microsoft.DotNet.ILCompiler" Version="$(MicrosoftDotNetILCompilerPackageVersion)" Condition="'$(NativeAotSupported)' != 'false'" />
79
</ItemGroup>
810
</Project>

src/Tasks/Common/Resources/Strings.resx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ You may need to build the project on another operating system or architecture, o
836836
<comment>{StrBegin="NETSDK1182: "}</comment>
837837
</data>
838838
<data name="AotNoValidRuntimePackageError" xml:space="preserve">
839-
<value>NETSDK1183: Unable to optimize assemblies for Ahead of time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing and make sure to restore packages with the PublishAot property set to true.</value>
839+
<value>NETSDK1183: Unable to optimize assemblies for ahead-of-time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing. When targeting .NET 7 or higher, make sure to restore packages with the PublishAot property set to true.</value>
840840
<comment>{StrBegin="NETSDK1183: "}</comment>
841841
</data>
842842
<data name="TargetingPackNotRestored_TransitiveDisabled" xml:space="preserve">
@@ -879,12 +879,16 @@ You may need to build the project on another operating system or architecture, o
879879
<value>NETSDK1193: If PublishSelfContained is set, it must be either true or false. The value given was '{0}'.</value>
880880
<comment>{StrBegin="NETSDK1193: "}</comment>
881881
</data>
882-
<data name="CannotHaveSolutionLevelOutputPath" xml:space="preserve">
882+
<data name="CannotHaveSolutionLevelOutputPath" xml:space="preserve">
883883
<value>NETSDK1194: The "--output" option isn't supported when building a solution.</value>
884884
<comment>{StrBegin="NETSDK1194: "}</comment>
885885
</data>
886886
<data name="ILLinkNoValidRuntimePackageError" xml:space="preserve">
887887
<value>NETSDK1195: Unable to optimize assemblies for size: a valid runtime package was not found. Either set the PublishTrimmed property to false, or use a supported target framework when publishing.</value>
888888
<comment>{StrBegin="NETSDK1195: "}</comment>
889889
</data>
890+
<data name="AotNotSupported" xml:space="preserve">
891+
<value>NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</value>
892+
<comment>{StrBegin="NETSDK1196: "}</comment>
893+
</data>
890894
</root>

src/Tasks/Common/Resources/xlf/Strings.cs.xlf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@
88
<note>{StrBegin="NETSDK1076: "}</note>
99
</trans-unit>
1010
<trans-unit id="AotNoValidRuntimePackageError">
11-
<source>NETSDK1183: Unable to optimize assemblies for Ahead of time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing and make sure to restore packages with the PublishAot property set to true.</source>
12-
<target state="needs-review-translation">NETSDK1183: Sestavení nelze optimalizovat pro kompilaci s předstihem: nebyl nalezen platný balíček modulu runtime. Buď nastavte vlastnost PublishAot na hodnotu false, nebo při publikování použijte podporovaný identifikátor modulu runtime. Při cílení na .NET 7 nebo vyšší nezapomeňte obnovit balíčky s vlastností PublishAot nastavenou na hodnotu true.</target>
11+
<source>NETSDK1183: Unable to optimize assemblies for ahead-of-time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing. When targeting .NET 7 or higher, make sure to restore packages with the PublishAot property set to true.</source>
12+
<target state="translated">NETSDK1183: Sestavení nelze optimalizovat pro kompilaci s předstihem: nebyl nalezen platný balíček modulu runtime. Buď nastavte vlastnost PublishAot na hodnotu false, nebo při publikování použijte podporovaný identifikátor modulu runtime. Při cílení na .NET 7 nebo vyšší nezapomeňte obnovit balíčky s vlastností PublishAot nastavenou na hodnotu true.</target>
1313
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
15+
<trans-unit id="AotNotSupported">
16+
<source>NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</source>
17+
<target state="new">NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</target>
18+
<note>{StrBegin="NETSDK1196: "}</note>
19+
</trans-unit>
1520
<trans-unit id="AppConfigRequiresRootConfiguration">
1621
<source>NETSDK1070: The application configuration file must have root configuration element.</source>
1722
<target state="translated">NETSDK1070: Konfigurační soubor aplikace musí obsahovat kořenový element konfigurace.</target>

src/Tasks/Common/Resources/xlf/Strings.de.xlf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@
88
<note>{StrBegin="NETSDK1076: "}</note>
99
</trans-unit>
1010
<trans-unit id="AotNoValidRuntimePackageError">
11-
<source>NETSDK1183: Unable to optimize assemblies for Ahead of time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing and make sure to restore packages with the PublishAot property set to true.</source>
12-
<target state="needs-review-translation">NETSDK1183: Assemblys können nicht für Ahead-of-time-Kompilierung optimiert werden: Es wurde kein gültiges Runtimepaket gefunden. Legen Sie entweder die PublishAot-Eigenschaft auf FALSE fest, oder verwenden Sie beim Veröffentlichen einen unterstützten Runtimebezeichner. Wenn Sie .NET 7 oder höher verwenden, stellen Sie sicher, dass Sie Pakete wiederherstellen, bei denen die PublishAot-Eigenschaft auf TRUE festgelegt ist.</target>
11+
<source>NETSDK1183: Unable to optimize assemblies for ahead-of-time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing. When targeting .NET 7 or higher, make sure to restore packages with the PublishAot property set to true.</source>
12+
<target state="translated">NETSDK1183: Assemblys können nicht für Ahead-of-time-Kompilierung optimiert werden: Es wurde kein gültiges Runtimepaket gefunden. Legen Sie entweder die PublishAot-Eigenschaft auf FALSE fest, oder verwenden Sie beim Veröffentlichen einen unterstützten Runtimebezeichner. Wenn Sie .NET 7 oder höher verwenden, stellen Sie sicher, dass Sie Pakete wiederherstellen, bei denen die PublishAot-Eigenschaft auf TRUE festgelegt ist.</target>
1313
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
15+
<trans-unit id="AotNotSupported">
16+
<source>NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</source>
17+
<target state="new">NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</target>
18+
<note>{StrBegin="NETSDK1196: "}</note>
19+
</trans-unit>
1520
<trans-unit id="AppConfigRequiresRootConfiguration">
1621
<source>NETSDK1070: The application configuration file must have root configuration element.</source>
1722
<target state="translated">NETSDK1070: Die Anwendungskonfigurationsdatei muss das Stammkonfigurationselement enthalten.</target>

src/Tasks/Common/Resources/xlf/Strings.es.xlf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@
88
<note>{StrBegin="NETSDK1076: "}</note>
99
</trans-unit>
1010
<trans-unit id="AotNoValidRuntimePackageError">
11-
<source>NETSDK1183: Unable to optimize assemblies for Ahead of time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing and make sure to restore packages with the PublishAot property set to true.</source>
12-
<target state="needs-review-translation">NETSDK1183: No se pueden optimizar los ensamblados para la compilación Ahead of time: no se ha encontrado un paquete en tiempo de ejecución válido. Establezca la propiedad PublishAot en false o use un identificador de tiempo de ejecución compatible al publicar. Cuando el destino sea .NET 7 o una versión posterior, asegúrese de restaurar los paquetes con la propiedad PublishAot establecida en true.</target>
11+
<source>NETSDK1183: Unable to optimize assemblies for ahead-of-time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing. When targeting .NET 7 or higher, make sure to restore packages with the PublishAot property set to true.</source>
12+
<target state="translated">NETSDK1183: No se pueden optimizar los ensamblados para la compilación Ahead of time: no se ha encontrado un paquete en tiempo de ejecución válido. Establezca la propiedad PublishAot en false o use un identificador de tiempo de ejecución compatible al publicar. Cuando el destino sea .NET 7 o una versión posterior, asegúrese de restaurar los paquetes con la propiedad PublishAot establecida en true.</target>
1313
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
15+
<trans-unit id="AotNotSupported">
16+
<source>NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</source>
17+
<target state="new">NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</target>
18+
<note>{StrBegin="NETSDK1196: "}</note>
19+
</trans-unit>
1520
<trans-unit id="AppConfigRequiresRootConfiguration">
1621
<source>NETSDK1070: The application configuration file must have root configuration element.</source>
1722
<target state="translated">NETSDK1070: El archivo de configuración de la aplicación debe tener el elemento de configuración raíz.</target>

src/Tasks/Common/Resources/xlf/Strings.fr.xlf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@
88
<note>{StrBegin="NETSDK1076: "}</note>
99
</trans-unit>
1010
<trans-unit id="AotNoValidRuntimePackageError">
11-
<source>NETSDK1183: Unable to optimize assemblies for Ahead of time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing and make sure to restore packages with the PublishAot property set to true.</source>
12-
<target state="needs-review-translation">NETSDK1183: Impossible d'optimiser les assemblys pour la compilation Ahead of time : un package d'exécution valide n'a pas été trouvé. Définissez la propriété PublishAot sur false ou utilisez un identificateur d'exécution pris en charge lors de la publication. Lorsque vous ciblez .NET 7 ou supérieur, assurez-vous de restaurer les packages avec la propriété PublishAot définie sur true.</target>
11+
<source>NETSDK1183: Unable to optimize assemblies for ahead-of-time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing. When targeting .NET 7 or higher, make sure to restore packages with the PublishAot property set to true.</source>
12+
<target state="translated">NETSDK1183: Impossible d'optimiser les assemblys pour la compilation Ahead of time : un package d'exécution valide n'a pas été trouvé. Définissez la propriété PublishAot sur false ou utilisez un identificateur d'exécution pris en charge lors de la publication. Lorsque vous ciblez .NET 7 ou supérieur, assurez-vous de restaurer les packages avec la propriété PublishAot définie sur true.</target>
1313
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
15+
<trans-unit id="AotNotSupported">
16+
<source>NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</source>
17+
<target state="new">NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</target>
18+
<note>{StrBegin="NETSDK1196: "}</note>
19+
</trans-unit>
1520
<trans-unit id="AppConfigRequiresRootConfiguration">
1621
<source>NETSDK1070: The application configuration file must have root configuration element.</source>
1722
<target state="translated">NETSDK1070: Le fichier de configuration de l'application doit avoir un élément de configuration racine.</target>

src/Tasks/Common/Resources/xlf/Strings.it.xlf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@
88
<note>{StrBegin="NETSDK1076: "}</note>
99
</trans-unit>
1010
<trans-unit id="AotNoValidRuntimePackageError">
11-
<source>NETSDK1183: Unable to optimize assemblies for Ahead of time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing and make sure to restore packages with the PublishAot property set to true.</source>
12-
<target state="needs-review-translation">NETSDK1183: non è possibile ottimizzare gli assembly per la compilazione Ahead Of Time perché non è stato trovato alcun pacchetto di runtime valido. Impostare la proprietà PublishAot su false oppure usare un identificatore di runtime supportato durante la pubblicazione. Quando si usa .NET 7 o versioni successive, assicurarsi di ripristinare i pacchetti con la proprietà PublishAot impostata su true.</target>
11+
<source>NETSDK1183: Unable to optimize assemblies for ahead-of-time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing. When targeting .NET 7 or higher, make sure to restore packages with the PublishAot property set to true.</source>
12+
<target state="translated">NETSDK1183: non è possibile ottimizzare gli assembly per la compilazione Ahead Of Time perché non è stato trovato alcun pacchetto di runtime valido. Impostare la proprietà PublishAot su false oppure usare un identificatore di runtime supportato durante la pubblicazione. Quando si usa .NET 7 o versioni successive, assicurarsi di ripristinare i pacchetti con la proprietà PublishAot impostata su true.</target>
1313
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
15+
<trans-unit id="AotNotSupported">
16+
<source>NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</source>
17+
<target state="new">NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</target>
18+
<note>{StrBegin="NETSDK1196: "}</note>
19+
</trans-unit>
1520
<trans-unit id="AppConfigRequiresRootConfiguration">
1621
<source>NETSDK1070: The application configuration file must have root configuration element.</source>
1722
<target state="translated">NETSDK1070: il file di configurazione dell'applicazione deve avere un elemento di configurazione radice.</target>

src/Tasks/Common/Resources/xlf/Strings.ja.xlf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@
88
<note>{StrBegin="NETSDK1076: "}</note>
99
</trans-unit>
1010
<trans-unit id="AotNoValidRuntimePackageError">
11-
<source>NETSDK1183: Unable to optimize assemblies for Ahead of time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing and make sure to restore packages with the PublishAot property set to true.</source>
11+
<source>NETSDK1183: Unable to optimize assemblies for ahead-of-time compilation: a valid runtime package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing. When targeting .NET 7 or higher, make sure to restore packages with the PublishAot property set to true.</source>
1212
<target state="translated">NETSDK1183: Ahead Of Time コンパイル用にアセンブリを最適化できません: 有効なランタイム パッケージが見つかりませんでした。PublishAot プロパティを false に設定するか、公開時に、サポートされているランタイム識別子を使用してください。.NET 7 以降を対象とする場合は、必ず PublishAot プロパティを true に設定してパッケージを復元してください。</target>
1313
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
15+
<trans-unit id="AotNotSupported">
16+
<source>NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</source>
17+
<target state="new">NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false.</target>
18+
<note>{StrBegin="NETSDK1196: "}</note>
19+
</trans-unit>
1520
<trans-unit id="AppConfigRequiresRootConfiguration">
1621
<source>NETSDK1070: The application configuration file must have root configuration element.</source>
1722
<target state="translated">NETSDK1070: アプリケーション構成ファイルには、ルート構成要素が必要です。</target>

0 commit comments

Comments
 (0)