Skip to content

Commit e024602

Browse files
LakshanFsbomer
andauthored
Update AOT test (#27334) (#27574)
* Update AO test * Fix typo in AotNoValidRuntimePackageError * Apply suggestions from code review Co-authored-by: Sven Boemer <[email protected]> * FB * fix test * FB Co-authored-by: Sven Boemer <[email protected]> Co-authored-by: Sven Boemer <[email protected]>
1 parent 5ae7342 commit e024602

File tree

15 files changed

+72
-25
lines changed

15 files changed

+72
-25
lines changed

src/Tasks/Common/Resources/Strings.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ You may need to build the project on another operating system or architecture, o
837837
</data>
838838
<data name="AotNoValidRuntimePackageError" xml:space="preserve">
839839
<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>
840-
<comment>{StrBegin="NETSDK1094: "}</comment>
840+
<comment>{StrBegin="NETSDK1183: "}</comment>
841841
</data>
842842
<data name="TargetingPackNotRestored_TransitiveDisabled" xml:space="preserve">
843843
<value>NETSDK1184: The Targeting Pack for FrameworkReference '{0}' was not available. This may be because DisableTransitiveFrameworkReferenceDownloads was set to true.</value>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<trans-unit id="AotNoValidRuntimePackageError">
1111
<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="new">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.</target>
13-
<note>{StrBegin="NETSDK1094: "}</note>
13+
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
1515
<trans-unit id="AppConfigRequiresRootConfiguration">
1616
<source>NETSDK1070: The application configuration file must have root configuration element.</source>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<trans-unit id="AotNoValidRuntimePackageError">
1111
<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="new">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.</target>
13-
<note>{StrBegin="NETSDK1094: "}</note>
13+
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
1515
<trans-unit id="AppConfigRequiresRootConfiguration">
1616
<source>NETSDK1070: The application configuration file must have root configuration element.</source>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<trans-unit id="AotNoValidRuntimePackageError">
1111
<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="new">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.</target>
13-
<note>{StrBegin="NETSDK1094: "}</note>
13+
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
1515
<trans-unit id="AppConfigRequiresRootConfiguration">
1616
<source>NETSDK1070: The application configuration file must have root configuration element.</source>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<trans-unit id="AotNoValidRuntimePackageError">
1111
<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="new">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.</target>
13-
<note>{StrBegin="NETSDK1094: "}</note>
13+
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
1515
<trans-unit id="AppConfigRequiresRootConfiguration">
1616
<source>NETSDK1070: The application configuration file must have root configuration element.</source>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<trans-unit id="AotNoValidRuntimePackageError">
1111
<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="new">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.</target>
13-
<note>{StrBegin="NETSDK1094: "}</note>
13+
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
1515
<trans-unit id="AppConfigRequiresRootConfiguration">
1616
<source>NETSDK1070: The application configuration file must have root configuration element.</source>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<trans-unit id="AotNoValidRuntimePackageError">
1111
<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="new">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.</target>
13-
<note>{StrBegin="NETSDK1094: "}</note>
13+
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
1515
<trans-unit id="AppConfigRequiresRootConfiguration">
1616
<source>NETSDK1070: The application configuration file must have root configuration element.</source>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<trans-unit id="AotNoValidRuntimePackageError">
1111
<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="new">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.</target>
13-
<note>{StrBegin="NETSDK1094: "}</note>
13+
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
1515
<trans-unit id="AppConfigRequiresRootConfiguration">
1616
<source>NETSDK1070: The application configuration file must have root configuration element.</source>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</trans-unit>
1010
<trans-unit id="AotNoValidRuntimePackageError">
1111
<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">NETSDK1094: Nie można zoptymalizować zestawów pod kątem kompilacji z wyprzedzeniem: nie znaleziono prawidłowego pakietu środowiska uruchomieniowego. Ustaw właściwość PublishAot na wartość false lub użyj obsługiwanego identyfikatora środowiska uruchomieniowego podczas publikowania. W przypadku określania wartości docelowej platformy .NET 7 lub nowszej należy przywrócić pakiety z właściwością PublishAot ustawioną na wartość true.</target>
13-
<note>{StrBegin="NETSDK1094: "}</note>
12+
<target state="needs-review-translation">NETSDK1094: Nie można zoptymalizować zestawów pod kątem kompilacji z wyprzedzeniem: nie znaleziono prawidłowego pakietu środowiska uruchomieniowego. Ustaw właściwość PublishAot na wartość false lub użyj obsługiwanego identyfikatora środowiska uruchomieniowego podczas publikowania. W przypadku określania wartości docelowej platformy .NET 7 lub nowszej należy przywrócić pakiety z właściwością PublishAot ustawioną na wartość true.</target>
13+
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
1515
<trans-unit id="AppConfigRequiresRootConfiguration">
1616
<source>NETSDK1070: The application configuration file must have root configuration element.</source>

src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<trans-unit id="AotNoValidRuntimePackageError">
1111
<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="new">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.</target>
13-
<note>{StrBegin="NETSDK1094: "}</note>
13+
<note>{StrBegin="NETSDK1183: "}</note>
1414
</trans-unit>
1515
<trans-unit id="AppConfigRequiresRootConfiguration">
1616
<source>NETSDK1070: The application configuration file must have root configuration element.</source>

0 commit comments

Comments
 (0)