From fcd2609d14485222c63668c482f703f623b03abb Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Tue, 30 May 2023 05:17:11 -0700 Subject: [PATCH 1/8] Add warning about version/distro-specific RID assets in .NET 8+ --- src/Tasks/Common/Resources/Strings.resx | 4 + src/Tasks/Common/Resources/xlf/Strings.cs.xlf | 5 + src/Tasks/Common/Resources/xlf/Strings.de.xlf | 5 + src/Tasks/Common/Resources/xlf/Strings.es.xlf | 5 + src/Tasks/Common/Resources/xlf/Strings.fr.xlf | 5 + src/Tasks/Common/Resources/xlf/Strings.it.xlf | 407 +++++++++--------- src/Tasks/Common/Resources/xlf/Strings.ja.xlf | 5 + src/Tasks/Common/Resources/xlf/Strings.ko.xlf | 5 + src/Tasks/Common/Resources/xlf/Strings.pl.xlf | 407 +++++++++--------- .../Common/Resources/xlf/Strings.pt-BR.xlf | 5 + src/Tasks/Common/Resources/xlf/Strings.ru.xlf | 5 + src/Tasks/Common/Resources/xlf/Strings.tr.xlf | 5 + .../Common/Resources/xlf/Strings.zh-Hans.xlf | 5 + .../Common/Resources/xlf/Strings.zh-Hant.xlf | 5 + .../GenerateDepsFile.cs | 41 ++ .../targets/Microsoft.NET.Sdk.targets | 11 +- .../GivenThatWeWantToBuildANetCoreApp.cs | 90 ++++ 17 files changed, 611 insertions(+), 404 deletions(-) diff --git a/src/Tasks/Common/Resources/Strings.resx b/src/Tasks/Common/Resources/Strings.resx index fca9b62eadd1..e9a19e5c2add 100644 --- a/src/Tasks/Common/Resources/Strings.resx +++ b/src/Tasks/Common/Resources/Strings.resx @@ -924,4 +924,8 @@ You may need to build the project on another operating system or architecture, o NETSDK1204: Ahead-of-time compilation is not supported on the current platform '{0}'. {StrBegin="NETSDK1204: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + diff --git a/src/Tasks/Common/Resources/xlf/Strings.cs.xlf b/src/Tasks/Common/Resources/xlf/Strings.cs.xlf index e85342256e3e..5792b7e10469 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.cs.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.cs.xlf @@ -675,6 +675,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1121: Projekty C++/CLI cílené na rozhraní .NET Core nemůžou používat SelfContained=true. {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 NETSDK1151: odkazovaný projekt {0} je samostatně obsažený spustitelný soubor. Na samostatně obsažený spustitelný soubor se nedá odkazovat pomocí spustitelného souboru, který není samostatně obsažený. Další informace najdete na https://aka.ms/netsdk1151 diff --git a/src/Tasks/Common/Resources/xlf/Strings.de.xlf b/src/Tasks/Common/Resources/xlf/Strings.de.xlf index 0ed67532d988..6392959affde 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.de.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.de.xlf @@ -675,6 +675,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1121: C++-/CLI-Projekte für .NET Core können "SelfContained=true" nicht verwenden. {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 NETSDK1151: Das referenzierte Projekt „{0}“ ist eine eigenständige ausführbare Datei. Auf eine eigenständige ausführbare Datei kann nicht von einer nicht eigenständigen ausführbaren Datei verwiesen werden. Weitere Informationen finden Sie unter https://aka.ms/netsdk1151. diff --git a/src/Tasks/Common/Resources/xlf/Strings.es.xlf b/src/Tasks/Common/Resources/xlf/Strings.es.xlf index d9d45b86cb3a..83255e7e89f3 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.es.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.es.xlf @@ -675,6 +675,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1121: Los proyectos de C++/CLI destinados a .NET Core no pueden usar SelfContained=true. {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 NETSDK1151: El proyecto al que se hace referencia '{0}' es un ejecutable independiente. Un ejecutable independiente no puede hacer referencia a un no ejecutable independiente. Para obtener más información, consulte https://aka.ms/netsdk1151 diff --git a/src/Tasks/Common/Resources/xlf/Strings.fr.xlf b/src/Tasks/Common/Resources/xlf/Strings.fr.xlf index d3999f4802b7..be7153bff939 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.fr.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.fr.xlf @@ -675,6 +675,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1121: les projets C++/CLI qui ciblent le .NET Core ne peuvent pas utiliser SelfContained=true. {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 NETSDK1151: le projet référencé « {0} » est un exécutable autonome. Un exécutable autonome ne peut pas être référencé par un exécutable non autonome. Pour plus d’informations, voir https://aka.ms/netsdk1151 diff --git a/src/Tasks/Common/Resources/xlf/Strings.it.xlf b/src/Tasks/Common/Resources/xlf/Strings.it.xlf index 976efc9b8fe2..a93cc4dadb0a 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.it.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.it.xlf @@ -4,12 +4,12 @@ NETSDK1076: AddResource can only be used with integer resource types. - NETSDK1076: è possibile usare AddResource solo con tipi di risorsa integer. + NETSDK1076: AddResource can only be used with integer resource types. {StrBegin="NETSDK1076: "} NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false. - NETSDK1196: l'SDK non supporta la compilazione in anticipo. Imposta la proprietà PublishAot su false. + NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false. {StrBegin="NETSDK1196: "} @@ -29,37 +29,37 @@ NETSDK1070: The application configuration file must have root configuration element. - NETSDK1070: il file di configurazione dell'applicazione deve avere un elemento di configurazione radice. + NETSDK1070: The application configuration file must have root configuration element. {StrBegin="NETSDK1070: "} NETSDK1113: Failed to create apphost (attempt {0} out of {1}): {2} - NETSDK1113: non è stato possibile creare apphost (tentativo {0} di {1}): {2} + NETSDK1113: Failed to create apphost (attempt {0} out of {1}): {2} {StrBegin="NETSDK1113: "} NETSDK1074: The application host executable will not be customized because adding resources requires that the build be performed on Windows (excluding Nano Server). - NETSDK1074: l'eseguibile dell'host applicazione non verrà personalizzato perché per aggiungere risorse è necessario eseguire la compilazione in Windows (escluso Nano Server). + NETSDK1074: The application host executable will not be customized because adding resources requires that the build be performed on Windows (excluding Nano Server). {StrBegin="NETSDK1074: "} NETSDK1029: Unable to use '{0}' as application host executable as it does not contain the expected placeholder byte sequence '{1}' that would mark where the application name would be written. - NETSDK1029: non è possibile usare '{0}' come eseguibile host dell'applicazione perché non contiene la sequenza di byte segnaposto prevista '{1}' che indica dove verrà scritto il nome dell'applicazione. + NETSDK1029: Unable to use '{0}' as application host executable as it does not contain the expected placeholder byte sequence '{1}' that would mark where the application name would be written. {StrBegin="NETSDK1029: "} NETSDK1078: Unable to use '{0}' as application host executable because it's not a Windows PE file. - NETSDK1078: non è possibile usare '{0}' come eseguibile dell'host applicazione perché non è un file di Windows PE. + NETSDK1078: Unable to use '{0}' as application host executable because it's not a Windows PE file. {StrBegin="NETSDK1078: "} NETSDK1072: Unable to use '{0}' as application host executable because it's not a Windows executable for the CUI (Console) subsystem. - NETSDK1072: non è possibile usare '{0}' come eseguibile dell'host applicazione perché non è un eseguibile Windows per il sottosistema CUI (Console). + NETSDK1072: Unable to use '{0}' as application host executable because it's not a Windows executable for the CUI (Console) subsystem. {StrBegin="NETSDK1072: "} NETSDK1177: Failed to sign apphost with error code {1}: {0} - NETSDK1177: impossibile firmare apphost con codice di errore {1}: {0} + NETSDK1177: Failed to sign apphost with error code {1}: {0} {StrBegin="NETSDK1177: "} @@ -69,49 +69,54 @@ NETSDK1079: The Microsoft.AspNetCore.All package is not supported when targeting .NET Core 3.0 or higher. A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. - NETSDK1079: il pacchetto Microsoft.AspNetCore.All non è supportato quando la destinazione è .NET Core 3.0 o versione successiva. È necessario un elemento FrameworkReference per Microsoft.AspNetCore.App, che verrà incluso in modo implicito da Microsoft.NET.Sdk.Web. + NETSDK1079: The Microsoft.AspNetCore.All package is not supported when targeting .NET Core 3.0 or higher. A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. {StrBegin="NETSDK1079: "} NETSDK1080: A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher. If Microsoft.NET.Sdk.Web is used, the shared framework will be referenced automatically. Otherwise, the PackageReference should be replaced with a FrameworkReference. - NETSDK1080: non è necessario alcun elemento PackageReference per Microsoft.AspNetCore.App quando la destinazione è .NET Core 3.0 o versione successiva. Se si usa Microsoft.NET.Sdk.Web, il riferimento al framework condiviso verrà inserito automaticamente; in caso contrario, l'elemento PackageReference deve essere sostituito da un elemento FrameworkReference. + NETSDK1080: A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher. If Microsoft.NET.Sdk.Web is used, the shared framework will be referenced automatically. Otherwise, the PackageReference should be replaced with a FrameworkReference. {StrBegin="NETSDK1080: "} NETSDK1017: Asset preprocessor must be configured before assets are processed. - NETSDK1017: prima di elaborare le risorse, è necessario configurare il preprocessore di risorse. + NETSDK1017: Asset preprocessor must be configured before assets are processed. {StrBegin="NETSDK1017: "} NETSDK1047: Assets file '{0}' doesn't have a target for '{1}'. Ensure that restore has run and that you have included '{2}' in the TargetFrameworks for your project. You may also need to include '{3}' in your project's RuntimeIdentifiers. - NETSDK1047: il file di risorse '{0}' non contiene una destinazione per '{1}'. Assicurarsi che il ripristino sia stato eseguito e che '{2}' sia stato incluso negli elementi TargetFramework del progetto. Potrebbe anche essere necessario includere '{3}' negli elementi RuntimeIdentifier del progetto. + NETSDK1047: Assets file '{0}' doesn't have a target for '{1}'. Ensure that restore has run and that you have included '{2}' in the TargetFrameworks for your project. You may also need to include '{3}' in your project's RuntimeIdentifiers. {StrBegin="NETSDK1047: "} NETSDK1005: Assets file '{0}' doesn't have a target for '{1}'. Ensure that restore has run and that you have included '{2}' in the TargetFrameworks for your project. - NETSDK1005: il file di risorse '{0}' non contiene una destinazione per '{1}'. Assicurarsi che il ripristino sia stato eseguito e che '{2}' sia stato incluso negli elementi TargetFramework del progetto. + NETSDK1005: Assets file '{0}' doesn't have a target for '{1}'. Ensure that restore has run and that you have included '{2}' in the TargetFrameworks for your project. {StrBegin="NETSDK1005: "} NETSDK1004: Assets file '{0}' not found. Run a NuGet package restore to generate this file. - NETSDK1004: il file di risorse '{0}' non è stato trovato. Per generare questo file, eseguire un ripristino del pacchetto NuGet. + NETSDK1004: Assets file '{0}' not found. Run a NuGet package restore to generate this file. {StrBegin="NETSDK1004: "} NETSDK1063: The path to the project assets file was not set. Run a NuGet package restore to generate this file. - NETSDK1063: il percorso del file di risorse del progetto non è stato impostato. Per generare questo file, eseguire un ripristino del pacchetto NuGet. + NETSDK1063: The path to the project assets file was not set. Run a NuGet package restore to generate this file. {StrBegin="NETSDK1063: "} NETSDK1006: Assets file path '{0}' is not rooted. Only full paths are supported. - NETSDK1006: il percorso dei file di risorse '{0}' non contiene una radice. Sono supportati solo percorsi completi. + NETSDK1006: Assets file path '{0}' is not rooted. Only full paths are supported. {StrBegin="NETSDK1006: "} NETSDK1001: At least one possible target framework must be specified. - NETSDK1001: è necessario specificare almeno un framework di destinazione possibile. + NETSDK1001: At least one possible target framework must be specified. {StrBegin="NETSDK1001: "} + + NETSDK1125: Publishing to a single-file is only supported for netcoreapp target. + NETSDK1125: Publishing to a single-file is only supported for netcoreapp target. + {StrBegin="NETSDK1125: "} + NETSDK1080: The Microsoft.Net.Compilers.Toolset.Framework package should not be set directly. Set the property 'BuildWithNetFrameworkHostedCompiler' to 'true' instead if you need it. NETSDK1080: The Microsoft.Net.Compilers.Toolset.Framework package should not be set directly. Set the property 'BuildWithNetFrameworkHostedCompiler' to 'true' instead if you need it. @@ -119,122 +124,117 @@ NETSDK1092: The CLSIDMap cannot be embedded on the COM host because adding resources requires that the build be performed on Windows (excluding Nano Server). - NETSDK1092: non è possibile incorporare l'elemento CLSIDMap nell'host COM perché per aggiungere risorse è necessario eseguire la compilazione in Windows (escluso Nano Server). + NETSDK1092: The CLSIDMap cannot be embedded on the COM host because adding resources requires that the build be performed on Windows (excluding Nano Server). {StrBegin="NETSDK1092: "} NETSDK1065: Cannot find app host for {0}. {0} could be an invalid runtime identifier (RID). For more information about RID, see https://aka.ms/rid-catalog. - NETSDK1065: non è possibile trovare l'host delle app per {0}. {0} potrebbe essere un identificatore di runtime (RID) non valido. Per altre informazioni sul RID, vedere https://aka.ms/rid-catalog. + NETSDK1065: Cannot find app host for {0}. {0} could be an invalid runtime identifier (RID). For more information about RID, see https://aka.ms/rid-catalog. {StrBegin="NETSDK1065: "} NETSDK1091: Unable to find a .NET Core COM host. The .NET Core COM host is only available on .NET Core 3.0 or higher when targeting Windows. - NETSDK1091: non è possibile trovare un host COM .NET Core. L'host COM .NET Core è disponibile solo in .NET Core 3.0 o versioni successive quando è destinato a Windows. + NETSDK1091: Unable to find a .NET Core COM host. The .NET Core COM host is only available on .NET Core 3.0 or higher when targeting Windows. {StrBegin="NETSDK1091: "} NETSDK1114: Unable to find a .NET Core IJW host. The .NET Core IJW host is only available on .NET Core 3.1 or higher when targeting Windows. - NETSDK1114: non è possibile trovare un host IJW .NET Core. L'host IJW .NET Core è disponibile solo in .NET Core 3.1 o versioni successive quando la destinazione è Windows. + NETSDK1114: Unable to find a .NET Core IJW host. The .NET Core IJW host is only available on .NET Core 3.1 or higher when targeting Windows. {StrBegin="NETSDK1114: "} NETSDK1007: Cannot find project info for '{0}'. This can indicate a missing project reference. - NETSDK1007: le informazioni del progetto per '{0}' non sono state trovate. Questo errore può indicare la mancanza di un riferimento al progetto. + NETSDK1007: Cannot find project info for '{0}'. This can indicate a missing project reference. {StrBegin="NETSDK1007: "} NETSDK1032: The RuntimeIdentifier platform '{0}' and the PlatformTarget '{1}' must be compatible. - NETSDK1032: la piattaforma '{0}' di RuntimeIdentifier e quella '{1}' di PlatformTarget devono essere compatibili. + NETSDK1032: The RuntimeIdentifier platform '{0}' and the PlatformTarget '{1}' must be compatible. {StrBegin="NETSDK1032: "} NETSDK1031: It is not supported to build or publish a self-contained application without specifying a RuntimeIdentifier. You must either specify a RuntimeIdentifier or set SelfContained to false. - NETSDK1031: non è possibile compilare o pubblicare un'applicazione indipendente senza specificare un elemento RuntimeIdentifier. Specificare un elemento RuntimeIdentifier o impostare SelfContained su false. + NETSDK1031: It is not supported to build or publish a self-contained application without specifying a RuntimeIdentifier. You must either specify a RuntimeIdentifier or set SelfContained to false. {StrBegin="NETSDK1031: "} - - NETSDK1097: It is not supported to publish an application to a single-file without specifying a RuntimeIdentifier. You must either specify a RuntimeIdentifier or set PublishSingleFile to false. - NETSDK1097: non è possibile pubblicare un'applicazione in un singolo file senza specificare un elemento RuntimeIdentifier. Specificare un elemento RuntimeIdentifier o impostare PublishSingleFile su false. - {StrBegin="NETSDK1097: "} - NETSDK1098: Applications published to a single-file are required to use the application host. You must either set PublishSingleFile to false or set UseAppHost to true. - NETSDK1098: le applicazioni pubblicate in un singolo file sono necessarie per usare l'host dell'applicazione. Impostare PublishSingleFile su false o UseAppHost su true. + NETSDK1098: Applications published to a single-file are required to use the application host. You must either set PublishSingleFile to false or set UseAppHost to true. {StrBegin="NETSDK1098: "} NETSDK1099: Publishing to a single-file is only supported for executable applications. - NETSDK1099: la pubblicazione in un singolo file è supportata solo per le applicazioni eseguibili. + NETSDK1099: Publishing to a single-file is only supported for executable applications. {StrBegin="NETSDK1099: "} + + NETSDK1097: It is not supported to publish an application to a single-file without specifying a RuntimeIdentifier. You must either specify a RuntimeIdentifier or set PublishSingleFile to false. + NETSDK1097: It is not supported to publish an application to a single-file without specifying a RuntimeIdentifier. You must either specify a RuntimeIdentifier or set PublishSingleFile to false. + {StrBegin="NETSDK1097: "} + NETSDK1194: The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds. - NETSDK1194: l'opzione "--output" non è supportata durante la compilazione di una soluzione. Se si specifica un percorso di output a livello di soluzione, tutti i progetti copiano gli output nella stessa directory, con possibili compilazioni incoerenti. + NETSDK1194: The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds. {StrBegin="NETSDK1194: "}{Locked="--output"} NETSDK1134: Building a solution with a specific RuntimeIdentifier is not supported. If you would like to publish for a single RID, specify the RID at the individual project level instead. - NETSDK1134: non è supportata la compilazione di una soluzione con un parametro RuntimeIdentifier specifico. Se si desidera pubblicare per un singolo RID, specificare il RID a livello di singolo progetto. + NETSDK1134: Building a solution with a specific RuntimeIdentifier is not supported. If you would like to publish for a single RID, specify the RID at the individual project level instead. {StrBegin="NETSDK1134: "} NETSDK1135: SupportedOSPlatformVersion {0} cannot be higher than TargetPlatformVersion {1}. - NETSDK1135: il valore di SupportedOSPlatformVersion {0} non può essere maggiore di quello di TargetPlatformVersion {1}. + NETSDK1135: SupportedOSPlatformVersion {0} cannot be higher than TargetPlatformVersion {1}. {StrBegin="NETSDK1135: "} NETSDK1143: Including all content in a single file bundle also includes native libraries. If IncludeAllContentForSelfExtract is true, IncludeNativeLibrariesForSelfExtract must not be false. - NETSDK1143: se si include tutto il contenuto in un unico bundle di file, verranno incluse anche le librerie native. Se IncludeAllContentForSelfExtract è true, IncludeNativeLibrariesForSelfExtract non deve essere false. + NETSDK1143: Including all content in a single file bundle also includes native libraries. If IncludeAllContentForSelfExtract is true, IncludeNativeLibrariesForSelfExtract must not be false. {StrBegin="NETSDK1143: "} NETSDK1142: Including symbols in a single file bundle is not supported when publishing for .NET5 or higher. - NETSDK1142: l'inclusione dei simboli in un unico bundle di file non è supportata quando si esegue la pubblicazione per .NET 5 o versioni successive. + NETSDK1142: Including symbols in a single file bundle is not supported when publishing for .NET5 or higher. {StrBegin="NETSDK1142: "} NETSDK1013: The TargetFramework value '{0}' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. - NETSDK1013: il valore {0}' di TargetFramework non è stato riconosciuto. È possibile che sia stato digitato in modo errato. In caso contrario, le proprietà TargetFrameworkIdentifier e/o TargetFrameworkVersion devono essere specificate in modo esplicito. + NETSDK1013: The TargetFramework value '{0}' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. {StrBegin="NETSDK1013: "} NETSDK1067: Self-contained applications are required to use the application host. Either set SelfContained to false or set UseAppHost to true. - NETSDK1067: con le applicazioni complete è necessario usare l'host applicazione. Impostare SelfContained su false o UseAppHost su true. + NETSDK1067: Self-contained applications are required to use the application host. Either set SelfContained to false or set UseAppHost to true. {StrBegin="NETSDK1067: "} - - NETSDK1125: Publishing to a single-file is only supported for netcoreapp target. - NETSDK1125: la pubblicazione in un file singolo è supportata solo per la destinazione netcoreapp. - {StrBegin="NETSDK1125: "} - Choosing '{0}' because AssemblyVersion '{1}' is greater than '{2}'. - Verrà scelto '{0}' perché il valore di AssemblyVersion '{1}' è maggiore di '{2}'. + Choosing '{0}' because AssemblyVersion '{1}' is greater than '{2}'. Choosing '{0}' arbitrarily as both items are copy-local and have equal file and assembly versions. - Verrà scelto '{0}' in modo arbitrario perché entrambi gli elementi sono una copia locale e contengono versioni di file e assembly uguali. + Choosing '{0}' arbitrarily as both items are copy-local and have equal file and assembly versions. Choosing '{0}' because file version '{1}' is greater than '{2}'. - Verrà scelto '{0}' perché la versione del file '{1}' è maggiore di '{2}'. + Choosing '{0}' because file version '{1}' is greater than '{2}'. Choosing '{0}' because it is a platform item. - Verrà scelto '{0}' perché è un elemento della piattaforma. + Choosing '{0}' because it is a platform item. Choosing '{0}' because it comes from a package that is preferred. - Verrà scelto '{0}' perché proviene da un pacchetto preferito. + Choosing '{0}' because it comes from a package that is preferred. NETSDK1089: The '{0}' and '{1}' types have the same CLSID '{2}' set in their GuidAttribute. Each COMVisible class needs to have a distinct guid for their CLSID. - NETSDK1089: per i tipi '{0}' e '{1}' è impostato lo stesso CLSID '{2}' nel relativo elemento GuidAttribute. Ogni classe COMVisible deve includere un GUID distinto per il CLSID. + NETSDK1089: The '{0}' and '{1}' types have the same CLSID '{2}' set in their GuidAttribute. Each COMVisible class needs to have a distinct guid for their CLSID. {StrBegin="NETSDK1089: "} {0} - The first type with the conflicting guid. {1} - The second type with the conflicting guid. @@ -242,241 +242,241 @@ NETSDK1088: The COMVisible class '{0}' must have a GuidAttribute with the CLSID of the class to be made visible to COM in .NET Core. - NETSDK1088: la classe COMVisible '{0}' deve includere un elemento GuidAttribute con il CLSID della classe da rendere visibile per COM in .NET Core. + NETSDK1088: The COMVisible class '{0}' must have a GuidAttribute with the CLSID of the class to be made visible to COM in .NET Core. {StrBegin="NETSDK1088: "} {0} - The ComVisible class that doesn't have a GuidAttribute on it. NETSDK1090: The supplied assembly '{0}' is not valid. Cannot generate a CLSIDMap from it. - NETSDK1090: l'assembly specificato '{0}' non è valido. Non può essere usato per generare un elemento CLSIDMap. + NETSDK1090: The supplied assembly '{0}' is not valid. Cannot generate a CLSIDMap from it. {StrBegin="NETSDK1090: "} {0} - The path to the invalid assembly. NETSDK1167: Compression in a single file bundle is only supported when publishing for .NET6 or higher. - NETSDK1167: la compressione in un unico bundle di file è supportata solo quando si esegue la pubblicazione per .NET6 o versioni successive. + NETSDK1167: Compression in a single file bundle is only supported when publishing for .NET6 or higher. {StrBegin="NETSDK1167: "} NETSDK1176: Compression in a single file bundle is only supported when publishing a self-contained application. - NETSDK1176: la compressione in un unico bundle di file è supportata solo quando si esegue la pubblicazione di un'applicazione indipendente. + NETSDK1176: Compression in a single file bundle is only supported when publishing a self-contained application. {StrBegin="NETSDK1176: "} NETSDK1133: There was conflicting information about runtime packs available for {0}: {1} - NETSDK1133: sono presenti informazioni in conflitto sui pacchetti di runtime disponibili per {0}: + NETSDK1133: There was conflicting information about runtime packs available for {0}: {1} {StrBegin="NETSDK1133: "} NETSDK1014: Content item for '{0}' sets '{1}', but does not provide '{2}' or '{3}'. - NETSDK1014: l'elemento di contenuto per '{0}' imposta '{1}', ma non fornisce '{2}' o '{3}'. + NETSDK1014: Content item for '{0}' sets '{1}', but does not provide '{2}' or '{3}'. {StrBegin="NETSDK1014: "} NETSDK1010: The '{0}' task must be given a value for parameter '{1}' in order to consume preprocessed content. - NETSDK1010: per poter utilizzare il contenuto pre-elaborato, è necessario assegnare un valore per il parametro '{1}' nell'attività '{0}'. + NETSDK1010: The '{0}' task must be given a value for parameter '{1}' in order to consume preprocessed content. {StrBegin="NETSDK1010: "} Could not determine winner because '{0}' does not exist. - Non è stato possibile determinare la versione da usare perché '{0}' non esiste. + Could not determine winner because '{0}' does not exist. Could not determine winner due to equal file and assembly versions. - Non è stato possibile determinare la versione da usare perché le versioni dell'assembly e del file sono uguali. + Could not determine winner due to equal file and assembly versions. Could not determine a winner because '{0}' has no file version. - Non è stato possibile determinare la versione da usare perché non esiste alcuna versione del file per '{0}'. + Could not determine a winner because '{0}' has no file version. Could not determine a winner because '{0}' is not an assembly. - Non è stato possibile determinare la versione da usare perché '{0}' non è un assembly. + Could not determine a winner because '{0}' is not an assembly. NETSDK1181: Error getting pack version: Pack '{0}' was not present in workload manifests. - NETSDK1181: errore durante il recupero della versione del pacchetto: il pacchetto '{0}' non era presente nei manifesti del carico di lavoro. + NETSDK1181: Error getting pack version: Pack '{0}' was not present in workload manifests. {StrBegin="NETSDK1181: "} NETSDK1042: Could not load PlatformManifest from '{0}' because it did not exist. - NETSDK1042: non è stato possibile caricare PlatformManifest da '{0}' perché non esiste. + NETSDK1042: Could not load PlatformManifest from '{0}' because it did not exist. {StrBegin="NETSDK1042: "} NETSDK1120: C++/CLI projects targeting .NET Core require a target framework of at least 'netcoreapp3.1'. - NETSDK1120: con i progetti C++/CLI destinati a .NET Core è il framework di destinazione deve essere impostato almeno su 'netcoreapp3.1'. + NETSDK1120: C++/CLI projects targeting .NET Core require a target framework of at least 'netcoreapp3.1'. {StrBegin="NETSDK1120: "} NETSDK1158: Required '{0}' metadata missing on Crossgen2Tool item. - NETSDK1158: nell'elemento Crossgen2Tool mancano i metadati richiesti di '{0}'. + NETSDK1158: Required '{0}' metadata missing on Crossgen2Tool item. {StrBegin="NETSDK1158: "} NETSDK1126: Publishing ReadyToRun using Crossgen2 is only supported for self-contained applications. - NETSDK1126: la pubblicazione di ReadyToRun tramite Crossgen2 è supportata solo per le applicazioni autonome. + NETSDK1126: Publishing ReadyToRun using Crossgen2 is only supported for self-contained applications. {StrBegin="NETSDK1126: "} NETSDK1155: Crossgen2Tool executable '{0}' not found. - NETSDK1155: l'eseguibile '{0}' di Crossgen2Tool non è stato trovato. + NETSDK1155: Crossgen2Tool executable '{0}' not found. {StrBegin="NETSDK1155: "} NETSDK1154: Crossgen2Tool must be specified when UseCrossgen2 is set to true. - NETSDK1154: è necessario specificare Crossgen2Tool quando UseCrossgen2 è impostato su true. + NETSDK1154: Crossgen2Tool must be specified when UseCrossgen2 is set to true. {StrBegin="NETSDK1154: "} NETSDK1166: Cannot emit symbols when publishing for .NET 5 with Crossgen2 using composite mode. - NETSDK1166: non è possibile creare simboli durante la pubblicazione per .NET 5 con Crossgen2 usando la modalità composita. + NETSDK1166: Cannot emit symbols when publishing for .NET 5 with Crossgen2 using composite mode. {StrBegin="NETSDK1166: "} NETSDK1160: CrossgenTool executable '{0}' not found. - NETSDK1160: l'eseguibile '{0}' di CrossgenTool non è stato trovato. + NETSDK1160: CrossgenTool executable '{0}' not found. {StrBegin="NETSDK1160: "} NETSDK1153: CrossgenTool not specified in PDB compilation mode. - NETSDK1153: CrossgenTool non è stato specificato nella modalità di compilazione PDB. + NETSDK1153: CrossgenTool not specified in PDB compilation mode. {StrBegin="NETSDK1153: "} NETSDK1159: CrossgenTool must be specified when UseCrossgen2 is set to false. - NETSDK1159: è necessario specificare CrossgenTool quando UseCrossgen2 è impostato su false. + NETSDK1159: CrossgenTool must be specified when UseCrossgen2 is set to false. {StrBegin="NETSDK1159: "} NETSDK1161: DiaSymReader library '{0}' not found. - NETSDK1161: la libreria '{0}' di DiaSymReader non è stata trovata. + NETSDK1161: DiaSymReader library '{0}' not found. {StrBegin="NETSDK1161: "} NETSDK1156: .NET host executable '{0}' not found. - NETSDK1156: l'eseguibile '{0}' dell'host .NET non è stato trovato. + NETSDK1156: .NET host executable '{0}' not found. {StrBegin="NETSDK1156: "} NETSDK1055: DotnetTool does not support target framework lower than netcoreapp2.1. - NETSDK1055: DotnetTool non supporta framework di destinazione di versioni precedenti a netcoreapp2.1. + NETSDK1055: DotnetTool does not support target framework lower than netcoreapp2.1. {StrBegin="NETSDK1055: "} NETSDK1054: only supports .NET Core. - NETSDK1054: supporta solo .NET Core. + NETSDK1054: only supports .NET Core. {StrBegin="NETSDK1054: "} NETSDK1022: Duplicate '{0}' items were included. The .NET SDK includes '{0}' items from your project directory by default. You can either remove these items from your project file, or set the '{1}' property to '{2}' if you want to explicitly include them in your project file. For more information, see {4}. The duplicate items were: {3} - NETSDK1022: sono stati inclusi '{0}' elementi duplicati. Per impostazione predefinita, .NET SDK include '{0}' elementi della directory del progetto. È possibile rimuovere tali elementi dal file di progetto oppure impostare la proprietà '{1}' su '{2}' se si vuole includerli implicitamente nel file di progetto. Per altre informazioni, vedere {4}. Gli elementi duplicati sono: {3} + NETSDK1022: Duplicate '{0}' items were included. The .NET SDK includes '{0}' items from your project directory by default. You can either remove these items from your project file, or set the '{1}' property to '{2}' if you want to explicitly include them in your project file. For more information, see {4}. The duplicate items were: {3} {StrBegin="NETSDK1022: "} NETSDK1015: The preprocessor token '{0}' has been given more than one value. Choosing '{1}' as the value. - NETSDK1015: al token di preprocessore '{0}' è stato assegnato più di un valore. Come valore verrà scelto '{1}'. + NETSDK1015: The preprocessor token '{0}' has been given more than one value. Choosing '{1}' as the value. {StrBegin="NETSDK1015: "} NETSDK1152: Found multiple publish output files with the same relative path: {0}. - NETSDK1152: sono stati trovati più file di output di pubblicazione con lo stesso percorso relativo: {0}. + NETSDK1152: Found multiple publish output files with the same relative path: {0}. {StrBegin="NETSDK1152: "} NETSDK1110: More than one asset in the runtime pack has the same destination sub-path of '{0}'. Report this error to the .NET team here: https://aka.ms/dotnet-sdk-issue. - NETSDK1110: più di un asset nel pacchetto di runtime ha lo stesso percorso secondario di destinazione di '{0}'. Segnalare questo errore al team di .NET all'indirizzo: https://aka.ms/dotnet-sdk-issue. + NETSDK1110: More than one asset in the runtime pack has the same destination sub-path of '{0}'. Report this error to the .NET team here: https://aka.ms/dotnet-sdk-issue. {StrBegin="NETSDK1110: "} NETSDK1169: The same resource ID {0} was specified for two type libraries '{1}' and '{2}'. Duplicate type library IDs are not allowed. - NETSDK1169: è stato specificato lo stesso ID di risorsa {0} per due librerie dei tipi '{1}' e '{2}'. Gli ID della libreria dei tipi duplicati non sono consentiti. + NETSDK1169: The same resource ID {0} was specified for two type libraries '{1}' and '{2}'. Duplicate type library IDs are not allowed. {StrBegin="NETSDK1169: "} Encountered conflict between '{0}' and '{1}'. - È stato rilevato un conflitto tra '{0}' e '{1}'. + Encountered conflict between '{0}' and '{1}'. NETSDK1051: Error parsing FrameworkList from '{0}'. {1} '{2}' was invalid. - NETSDK1051: si è verificato un errore durante l'analisi di FrameworkList da '{0}'. {1} '{2}' non è valido. + NETSDK1051: Error parsing FrameworkList from '{0}'. {1} '{2}' was invalid. {StrBegin="NETSDK1051: "} NETSDK1043: Error parsing PlatformManifest from '{0}' line {1}. Lines must have the format {2}. - NETSDK1043: si è verificato un errore durante l'analisi di PlatformManifest da '{0}' a riga {1}. Il formato delle righe deve essere {2}. + NETSDK1043: Error parsing PlatformManifest from '{0}' line {1}. Lines must have the format {2}. {StrBegin="NETSDK1043: "} NETSDK1044: Error parsing PlatformManifest from '{0}' line {1}. {2} '{3}' was invalid. - NETSDK1044: si è verificato un errore durante l'analisi di PlatformManifest da '{0}' a riga {1}. Il valore {2} '{3}' non è valido. + NETSDK1044: Error parsing PlatformManifest from '{0}' line {1}. {2} '{3}' was invalid. {StrBegin="NETSDK1044: "} NETSDK1060: Error reading assets file: {0} - NETSDK1060: errore durante la lettura del file di asset: {0} + NETSDK1060: Error reading assets file: {0} {StrBegin="NETSDK1060: "} NETSDK1111: Failed to delete output apphost: {0} - NETSDK1111: non è stato possibile eliminare l'apphost di output: {0} + NETSDK1111: Failed to delete output apphost: {0} {StrBegin="NETSDK1111: "} NETSDK1077: Failed to lock resource. - NETSDK1077: non è stato possibile bloccare la risorsa. + NETSDK1077: Failed to lock resource. {StrBegin="NETSDK1077: "} NETSDK1030: Given file name '{0}' is longer than 1024 bytes - NETSDK1030: il nome file specificato '{0}' supera 1024 byte + NETSDK1030: Given file name '{0}' is longer than 1024 bytes {StrBegin="NETSDK1030: "} NETSDK1024: Folder '{0}' already exists either delete it or provide a different ComposeWorkingDir - NETSDK1024: la cartella '{0}' esiste già. Eliminarla o specificare un elemento ComposeWorkingDir diverso + NETSDK1024: Folder '{0}' already exists either delete it or provide a different ComposeWorkingDir {StrBegin="NETSDK1024: "} NETSDK1068: The framework-dependent application host requires a target framework of at least 'netcoreapp2.1'. - NETSDK1068: con l'host applicazione dipendente dal framework il framework di destinazione deve essere impostato almeno su 'netcoreapp2.1'. + NETSDK1068: The framework-dependent application host requires a target framework of at least 'netcoreapp2.1'. {StrBegin="NETSDK1068: "} NETSDK1052: Framework list file path '{0}' is not rooted. Only full paths are supported. - NETSDK1052: il percorso '{0}' del file dell'elenco di framework non contiene una radice. Sono supportati solo percorsi completi. + NETSDK1052: Framework list file path '{0}' is not rooted. Only full paths are supported. {StrBegin="NETSDK1052: "} NETSDK1087: Multiple FrameworkReference items for '{0}' were included in the project. - NETSDK1087: nel progetto sono stati inclusi più elementi FrameworkReference per '{0}'. + NETSDK1087: Multiple FrameworkReference items for '{0}' were included in the project. {StrBegin="NETSDK1087: "} NETSDK1086: A FrameworkReference for '{0}' was included in the project. This is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see {1} - NETSDK1086: nel progetto è stato incluso un elemento FrameworkReference per '{0}'. Questo elemento viene usato come riferimento implicito da .NET SDK e non è in genere necessario farvi riferimento dal progetto. Per altre informazioni, vedere {1} + NETSDK1086: A FrameworkReference for '{0}' was included in the project. This is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see {1} {StrBegin="NETSDK1086: "} NETSDK1049: Resolved file has a bad image, no metadata, or is otherwise inaccessible. {0} {1} - NETSDK1049: il file risolto ha un'immagine danneggiata, non contiene metadati o è inaccessibile per altri motivi. {0} {1} + NETSDK1049: Resolved file has a bad image, no metadata, or is otherwise inaccessible. {0} {1} {StrBegin="NETSDK1049: "} NETSDK1141: Unable to resolve the .NET SDK version as specified in the global.json located at {0}. - NETSDK1141: non è possibile risolvere la versione di .NET SDK come specificato nel file global.json presente in {0}. + NETSDK1141: Unable to resolve the .NET SDK version as specified in the global.json located at {0}. {StrBegin="NETSDK1141: "} NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. - NETSDK1144: l'ottimizzazione degli assembly per le dimensioni non è riuscita. È possibile disabilitare l'ottimizzazione impostando la proprietà PublishTrimmed su false. + NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. {StrBegin="NETSDK1144: "} @@ -486,90 +486,90 @@ NETSDK1102: Optimizing assemblies for size is not supported for the selected publish configuration. Please ensure that you are publishing a self-contained app. - NETSDK1102: l'ottimizzazione degli assembly per le dimensioni non è supportata per la configurazione di pubblicazione selezionata. Assicurarsi di pubblicare un'app indipendente. + NETSDK1102: Optimizing assemblies for size is not supported for the selected publish configuration. Please ensure that you are publishing a self-contained app. {StrBegin="NETSDK1102: "} Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink - L'ottimizzazione degli assembly per le dimensioni potrebbe comportare la modifica del comportamento dell'app. Assicurarsi di testarla dopo la pubblicazione. Vedere: https://aka.ms/dotnet-illink + Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink Optimizing assemblies for size. This process might take a while. - Ottimizzazione degli assembly per le dimensioni. Questo processo potrebbe richiedere del tempo. + Optimizing assemblies for size. This process might take a while. NETSDK1191: A runtime identifier for the property '{0}' couldn't be inferred. Specify a rid explicitly. - NETSDK1191: non è stato possibile dedurre un identificatore di runtime per la proprietà '{0}'. Specificare un RID in modo esplicito. + NETSDK1191: A runtime identifier for the property '{0}' couldn't be inferred. Specify a rid explicitly. {StrBegin="NETSDK1191: "} NETSDK1020: Package Root {0} was incorrectly given for Resolved library {1} - NETSDK1020: la radice {0} del pacchetto specificata per la libreria risolta {1} non è corretta + NETSDK1020: Package Root {0} was incorrectly given for Resolved library {1} {StrBegin="NETSDK1020: "} NETSDK1025: The target manifest {0} provided is of not the correct format - NETSDK1025: il formato del manifesto di destinazione specificato {0} non è corretto + NETSDK1025: The target manifest {0} provided is of not the correct format {StrBegin="NETSDK1025: "} NETSDK1163: Input assembly '{0}' not found. - NETSDK1163: l'assembly di input '{0}' non è stato trovato. + NETSDK1163: Input assembly '{0}' not found. {StrBegin="NETSDK1163: "} NETSDK1003: Invalid framework name: '{0}'. - NETSDK1003: nome di framework non valido: '{0}'. + NETSDK1003: Invalid framework name: '{0}'. {StrBegin="NETSDK1003: "} NETSDK1058: Invalid value for ItemSpecToUse parameter: '{0}'. This property must be blank or set to 'Left' or 'Right' - NETSDK1058: valore non valido per il parametro ItemSpecToUse: '{0}'. Questa proprietà deve essere vuota o impostata su 'Left' o 'Right' + NETSDK1058: Invalid value for ItemSpecToUse parameter: '{0}'. This property must be blank or set to 'Left' or 'Right' {StrBegin="NETSDK1058: "} The following are names of parameters or literal values and should not be translated: ItemSpecToUse, Left, Right NETSDK1018: Invalid NuGet version string: '{0}'. - NETSDK1018: la stringa di versione '{0}' di NuGet non è valida. + NETSDK1018: Invalid NuGet version string: '{0}'. {StrBegin="NETSDK1018: "} NETSDK1075: Update handle is invalid. This instance may not be used for further updates. - NETSDK1075: il punto di controllo dell'aggiornamento non è valido. Non è possibile usare questa istanza per ulteriori aggiornamenti. + NETSDK1075: Update handle is invalid. This instance may not be used for further updates. {StrBegin="NETSDK1075: "} NETSDK1104: RollForward value '{0}' is invalid. Allowed values are {1}. - NETSDK1104: il valore '{0}' di RollForward non è valido. I valori consentiti sono {1}. + NETSDK1104: RollForward value '{0}' is invalid. Allowed values are {1}. {StrBegin="NETSDK1104: "} NETSDK1140: {0} is not a valid TargetPlatformVersion for {1}. Valid versions include: {2} - NETSDK1140: {0} non è un valore valido di TargetPlatformVersion per or {1}. Le versioni valide includono: + NETSDK1140: {0} is not a valid TargetPlatformVersion for {1}. Valid versions include: {2} {StrBegin="NETSDK1140: "} NETSDK1173: The provided type library '{0}' is in an invalid format. - NETSDK1173: il formato della libreria dei tipi specificata '{0}' non è valido. + NETSDK1173: The provided type library '{0}' is in an invalid format. {StrBegin="NETSDK1173: "} NETSDK1170: The provided type library ID '{0}' for type library '{1}' is invalid. The ID must be a positive integer less than 65536. - NETSDK1170: l'ID '{0}' per la libreria dei tipi specificato '{1}' non è valido. L'ID deve essere un numero positivo intero inferiore a 65536. + NETSDK1170: The provided type library ID '{0}' for type library '{1}' is invalid. The ID must be a positive integer less than 65536. {StrBegin="NETSDK1170: "} NETSDK1157: JIT library '{0}' not found. - NETSDK1157: la libreria '{0}' di JIT non è stata trovata. + NETSDK1157: JIT library '{0}' not found. {StrBegin="NETSDK1157: "} NETSDK1061: The project was restored using {0} version {1}, but with current settings, version {2} would be used instead. To resolve this issue, make sure the same settings are used for restore and for subsequent operations such as build or publish. Typically this issue can occur if the RuntimeIdentifier property is set during build or publish but not during restore. For more information, see https://aka.ms/dotnet-runtime-patch-selection. - NETSDK1061: per il ripristino del progetto è stato usato {0} versione {1}, ma con le impostazioni correnti viene usata la versione {2}. Per risolvere il problema, assicurarsi di usare le stesse impostazioni per il ripristino e per le operazioni successive, quali compilazione o pubblicazione. In genere questo problema può verificarsi se la proprietà RuntimeIdentifier viene impostata durante la compilazione o la pubblicazione, ma non durante il ripristino. Per altre informazioni, vedere https://aka.ms/dotnet-runtime-patch-selection. + NETSDK1061: The project was restored using {0} version {1}, but with current settings, version {2} would be used instead. To resolve this issue, make sure the same settings are used for restore and for subsequent operations such as build or publish. Typically this issue can occur if the RuntimeIdentifier property is set during build or publish but not during restore. For more information, see https://aka.ms/dotnet-runtime-patch-selection. {StrBegin="NETSDK1061: "} {0} - Package Identifier for platform package {1} - Restored version of platform package @@ -577,197 +577,202 @@ The following are names of parameters or literal values and should not be transl NETSDK1008: Missing '{0}' metadata on '{1}' item '{2}'. - NETSDK1008: mancano i metadati di '{0}' sull'elemento '{2}' di '{1}'. + NETSDK1008: Missing '{0}' metadata on '{1}' item '{2}'. {StrBegin="NETSDK1008: "} NETSDK1164: Missing output PDB path in PDB generation mode (OutputPDBImage metadata). - NETSDK1164: il percorso PDB di output non è presente nella modalità di generazione PDB (metadati di OutputPDBImage). + NETSDK1164: Missing output PDB path in PDB generation mode (OutputPDBImage metadata). {StrBegin="NETSDK1164: "} NETSDK1165: Missing output R2R image path (OutputR2RImage metadata). - NETSDK1165: il percorso dell'immagine R2R di output non è presente (metadati di OutputR2RImage). + NETSDK1165: Missing output R2R image path (OutputR2RImage metadata). {StrBegin="NETSDK1165: "} NETSDK1171: An integer ID less than 65536 must be provided for type library '{0}' because more than one type library is specified. - NETSDK1171: un ID intero inferiore a 65536 deve essere fornito per la libreria dei tipi '{0}' perché è specificata più di una libreria dei tipi. + NETSDK1171: An integer ID less than 65536 must be provided for type library '{0}' because more than one type library is specified. {StrBegin="NETSDK1171: "} NETSDK1021: More than one file found for {0} - NETSDK1021: è stato trovato più di un file per {0} + NETSDK1021: More than one file found for {0} {StrBegin="NETSDK1021: "} NETSDK1069: This project uses a library that targets .NET Standard 1.5 or higher, and the project targets a version of .NET Framework that doesn't have built-in support for that version of .NET Standard. Visit https://aka.ms/net-standard-known-issues for a set of known issues. Consider retargeting to .NET Framework 4.7.2. - NETSDK1069: questo progetto usa una libreria destinata a .NET Standard 1.5 o versione successiva ed è destinato a una versione di .NET Framework che non include il supporto predefinito per tale versione di .NET Standard. Per un serie di problemi noti, visitare https://aka.ms/net-standard-known-issues. Provare a impostare come destinazione .NET Framework 4.7.2. + NETSDK1069: This project uses a library that targets .NET Standard 1.5 or higher, and the project targets a version of .NET Framework that doesn't have built-in support for that version of .NET Standard. Visit https://aka.ms/net-standard-known-issues for a set of known issues. Consider retargeting to .NET Framework 4.7.2. {StrBegin="NETSDK1069: "} NETSDK1115: The current .NET SDK does not support .NET Framework without using .NET SDK Defaults. It is likely due to a mismatch between C++/CLI project CLRSupport property and TargetFramework. - NETSDK1115: l'istanza corrente di .NET SDK non supporta .NET Framework senza usare le impostazioni predefinite di .NET SDK. Il problema dipende probabilmente da una mancata corrispondenza tra la proprietà CLRSupport del progetto C++/CLI e TargetFramework. + NETSDK1115: The current .NET SDK does not support .NET Framework without using .NET SDK Defaults. It is likely due to a mismatch between C++/CLI project CLRSupport property and TargetFramework. {StrBegin="NETSDK1115: "} NETSDK1182: Targeting .NET 6.0 or higher in Visual Studio 2019 is not supported. - NETSDK1182: la destinazione .NET 6.0 o versione successiva in Visual Studio 2019 non è supportata. + NETSDK1182: Targeting .NET 6.0 or higher in Visual Studio 2019 is not supported. {StrBegin="NETSDK1182: "} NETSDK1192: Targeting .NET 7.0 or higher in Visual Studio 2022 17.3 is not supported. - NETSDK1192: la destinazione .NET 7.0 o versione successiva in Visual Studio 2022 17.3 non è supportata. + NETSDK1192: Targeting .NET 7.0 or higher in Visual Studio 2022 17.3 is not supported. {StrBegin="NETSDK1192: "} NETSDK1084: There is no application host available for the specified RuntimeIdentifier '{0}'. - NETSDK1084: non è disponibile alcun host applicazione per l'elemento RuntimeIdentifier specificato '{0}'. + NETSDK1084: There is no application host available for the specified RuntimeIdentifier '{0}'. {StrBegin="NETSDK1084: "} NETSDK1085: The 'NoBuild' property was set to true but the 'Build' target was invoked. - NETSDK1085: non è stata impostata alcuna proprietà 'NoBuild' su true, ma è stata chiamata la destinazione 'Build'. + NETSDK1085: The 'NoBuild' property was set to true but the 'Build' target was invoked. {StrBegin="NETSDK1085: "} NETSDK1002: Project '{0}' targets '{2}'. It cannot be referenced by a project that targets '{1}'. - NETSDK1002: il progetto '{0}' è destinato a '{2}'. Non può essere usato come riferimento in un progetto destinato a '{1}'. + NETSDK1002: Project '{0}' targets '{2}'. It cannot be referenced by a project that targets '{1}'. {StrBegin="NETSDK1002: "} NETSDK1082: There was no runtime pack for {0} available for the specified RuntimeIdentifier '{1}'. - NETSDK1082: non è disponibile alcun pacchetto di runtime per {0} per l'elemento RuntimeIdentifier specificato '{1}'. + NETSDK1082: There was no runtime pack for {0} available for the specified RuntimeIdentifier '{1}'. {StrBegin="NETSDK1082: "} NETSDK1132: No runtime pack information was available for {0}. - NETSDK1132: non sono disponibili informazioni sui pacchetti di runtime per {0}. + NETSDK1132: No runtime pack information was available for {0}. {StrBegin="NETSDK1132: "} NETSDK1128: COM hosting does not support self-contained deployments. - NETSDK1128: l'hosting COM non supporta le distribuzioni complete. + NETSDK1128: COM hosting does not support self-contained deployments. {StrBegin="NETSDK1128: "} NETSDK1119: C++/CLI projects targeting .NET Core cannot use EnableComHosting=true. - NETSDK1119: i progetti C++/CLI destinati a .NET Core non possono usare EnableComHosting=true. + NETSDK1119: C++/CLI projects targeting .NET Core cannot use EnableComHosting=true. {StrBegin="NETSDK1119: "} NETSDK1116: C++/CLI projects targeting .NET Core must be dynamic libraries. - NETSDK1116: i progetti C++/CLI destinati a .NET Core devono essere librerie dinamiche. + NETSDK1116: C++/CLI projects targeting .NET Core must be dynamic libraries. {StrBegin="NETSDK1116: "} NETSDK1118: C++/CLI projects targeting .NET Core cannot be packed. - NETSDK1118: i progetti C++/CLI destinati a .NET Core non possono essere compressi. + NETSDK1118: C++/CLI projects targeting .NET Core cannot be packed. {StrBegin="NETSDK1118: "} NETSDK1117: Does not support publish of C++/CLI project targeting dotnet core. - NETSDK1117: la pubblicazione di progetti C++/CLI destinati a .NET Core non è supportata. + NETSDK1117: Does not support publish of C++/CLI project targeting dotnet core. {StrBegin="NETSDK1117: "} NETSDK1121: C++/CLI projects targeting .NET Core cannot use SelfContained=true. - NETSDK1121: i progetti C++/CLI destinati a .NET Core non possono usare SelfContained=true. + NETSDK1121: C++/CLI projects targeting .NET Core cannot use SelfContained=true. {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 - NETSDK1151: il progetto '{0}' a cui viene fatto riferimento è un eseguibile autonomo. Non è possibile fare riferimento a un eseguibile autonomo da un eseguibile non autonomo. Per altre informazioni, vedere https://aka.ms/netsdk1151 + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 {StrBegin="NETSDK1151: "} NETSDK1162: PDB generation: R2R executable '{0}' not found. - NETSDK1162: generazione PDB: l'eseguibile '{0}' di R2R non è stato trovato. + NETSDK1162: PDB generation: R2R executable '{0}' not found. {StrBegin="NETSDK1162: "} NETSDK1053: Pack as tool does not support self contained. - NETSDK1053: la creazione di pacchetti come strumenti non prevede elementi autonomi. + NETSDK1053: Pack as tool does not support self contained. {StrBegin="NETSDK1053: "} NETSDK1146: PackAsTool does not support TargetPlatformIdentifier being set. For example, TargetFramework cannot be net5.0-windows, only net5.0. PackAsTool also does not support UseWPF or UseWindowsForms when targeting .NET 5 and higher. - NETSDK1146: PackAsTool non supporta l'impostazione di TargetPlatformIdentifier. Ad esempio, TargetFramework non può essere essere impostato su net5.0-windows, ma solo su net5.0. PackAsTool non supporta neanche UseWPF o UseWindowsForms quando la destinazione è .NET 5 e versioni successive. + NETSDK1146: PackAsTool does not support TargetPlatformIdentifier being set. For example, TargetFramework cannot be net5.0-windows, only net5.0. PackAsTool also does not support UseWPF or UseWindowsForms when targeting .NET 5 and higher. {StrBegin="NETSDK1146: "} NETSDK1187: Package {0} {1} has a resource with the locale '{2}'. This locale has been normalized to the standard format '{3}' to prevent casing issues in the build. Consider notifying the package author about this casing issue. - NETSDK1187: il pacchetto {0} {1} include una risorsa con le impostazioni locali '{2}'. Queste impostazioni locali sono state normalizzate nel formato standard '{3}' per evitare problemi di maiuscole e minuscole nella compilazione. È consigliabile informare l'autore del pacchetto in merito a questo problema di maiuscole e minuscole. + NETSDK1187: Package {0} {1} has a resource with the locale '{2}'. This locale has been normalized to the standard format '{3}' to prevent casing issues in the build. Consider notifying the package author about this casing issue. Error code is NETSDK1187. 0 is a package name, 1 is a package version, 2 is the incorrect locale string, and 3 is the correct locale string. NETSDK1188: Package {0} {1} has a resource with the locale '{2}'. This locale is not recognized by .NET. Consider notifying the package author that it appears to be using an invalid locale. - NETSDK1188: il pacchetto {0} {1} include una risorsa con le impostazioni locali '{2}'. Queste impostazioni locali non sono riconosciute da .NET. È consigliabile notificare all'autore del pacchetto che sembra usare impostazioni locali non valide. + NETSDK1188: Package {0} {1} has a resource with the locale '{2}'. This locale is not recognized by .NET. Consider notifying the package author that it appears to be using an invalid locale. Error code is NETSDK1188. 0 is a package name, 1 is a package version, and 2 is the incorrect locale string NETSDK1064: Package {0}, version {1} was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions. - NETSDK1064: il pacchetto {0} versione {1} non è stato trovato. Potrebbe essere stato eliminato dopo il ripristino di NuGet. In caso contrario, il ripristino di NuGet potrebbe essere stato completato solo parzialmente, a causa delle restrizioni relative alla lunghezza massima del percorso. + NETSDK1064: Package {0}, version {1} was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions. {StrBegin="NETSDK1064: "} NETSDK1023: A PackageReference for '{0}' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see {1} - NETSDK1023: nel progetto è stato incluso un riferimento al pacchetto per '{0}'. Questo pacchetto viene usato come riferimento implicito da .NET SDK e non è in genere necessario farvi riferimento dal progetto. Per altre informazioni, vedere {1} + NETSDK1023: A PackageReference for '{0}' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see {1} {StrBegin="NETSDK1023: "} NETSDK1071: A PackageReference to '{0}' specified a Version of `{1}`. Specifying the version of this package is not recommended. For more information, see https://aka.ms/sdkimplicitrefs - NETSDK1071: in un elemento PackageReference che fa riferimento a '{0}' è specificata la versione di `{1}`. È consigliabile non specificare la versione di questo pacchetto. Per altre informazioni, vedere https://aka.ms/sdkimplicitrefs + NETSDK1071: A PackageReference to '{0}' specified a Version of `{1}`. Specifying the version of this package is not recommended. For more information, see https://aka.ms/sdkimplicitrefs {StrBegin="NETSDK1071: "} NETSDK1174: Placeholder - NETSDK1174: Placeholder + NETSDK1174: Placeholder {StrBegin="NETSDK1174: "} - This string is not used here, but is a placeholder for the error code, which is used by the "dotnet run" command. NETSDK1189: Prefer32Bit is not supported and has no effect for netcoreapp target. - NETSDK1189: Prefer32Bit non è supportato e non ha alcun effetto per la destinazione netcoreapp. + NETSDK1189: Prefer32Bit is not supported and has no effect for netcoreapp target. {StrBegin="NETSDK1189: "} NETSDK1011: Assets are consumed from project '{0}', but no corresponding MSBuild project path was found in '{1}'. - NETSDK1011: le risorse vengono utilizzate dal progetto '{0}', ma non è stato trovato alcun percorso di progetto MSBuild corrispondente in '{1}'. + NETSDK1011: Assets are consumed from project '{0}', but no corresponding MSBuild project path was found in '{1}'. {StrBegin="NETSDK1011: "} NETSDK1059: The tool '{0}' is now included in the .NET SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box). - NETSDK1059: lo strumento '{0}' è ora incluso in .NET SDK. Per informazioni sulla risoluzione di questo avviso, vedere (https://aka.ms/dotnetclitools-in-box). + NETSDK1059: The tool '{0}' is now included in the .NET SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box). {StrBegin="NETSDK1059: "} NETSDK1093: Project tools (DotnetCliTool) only support targeting .NET Core 2.2 and lower. - NETSDK1093: gli strumenti del progetto (DotnetCliTool) supportano come destinazione solo .NET Core 2.2 e versioni precedenti. + NETSDK1093: Project tools (DotnetCliTool) only support targeting .NET Core 2.2 and lower. {StrBegin="NETSDK1093: "} NETSDK1198: A publish profile with the name '{0}' was not found in the project. Set the PublishProfile property to a valid file name. - NETSDK1198: un profilo di pubblicazione denominato '{0}' non è stato trovato nel progetto. Impostare la proprietà PublishProfile su un nome file valido. + NETSDK1198: A publish profile with the name '{0}' was not found in the project. Set the PublishProfile property to a valid file name. {StrBegin="NETSDK1198: "} NETSDK1122: ReadyToRun compilation will be skipped because it is only supported for .NET Core 3.0 or higher. - NETSDK1122: la compilazione eseguita con ReadyToRun verrà ignorata perché è supportata solo per .NET Core 3.0 o versioni successive. + NETSDK1122: ReadyToRun compilation will be skipped because it is only supported for .NET Core 3.0 or higher. {StrBegin="NETSDK1122: "} NETSDK1193: If PublishSelfContained is set, it must be either true or false. The value given was '{0}'. - NETSDK1193: se PublishSelfContained è impostato, deve essere true o false. Il valore specificato è '{0}'. + NETSDK1193: If PublishSelfContained is set, it must be either true or false. The value given was '{0}'. {StrBegin="NETSDK1193: "} NETSDK1123: Publishing an application to a single-file requires .NET Core 3.0 or higher. - NETSDK1123: per la pubblicazione di un'applicazione in un file singolo è richiesto .NET Core 3.0 o versioni successive. + NETSDK1123: Publishing an application to a single-file requires .NET Core 3.0 or higher. {StrBegin="NETSDK1123: "} NETSDK1124: Trimming assemblies requires .NET Core 3.0 or higher. - NETSDK1124: per il trimming degli assembly è richiesto .NET Core 3.0 o versioni successive. + NETSDK1124: Trimming assemblies requires .NET Core 3.0 or higher. {StrBegin="NETSDK1124: "} @@ -777,37 +782,37 @@ The following are names of parameters or literal values and should not be transl NETSDK1096: Optimizing assemblies for performance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false. - NETSDK1096: l'ottimizzazione degli assembly per le prestazioni non è riuscita. È possibile escludere gli assembly in errore dall'ottimizzazione oppure impostare la proprietà PublishReadyToRun su false. + NETSDK1096: Optimizing assemblies for performance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false. {StrBegin="NETSDK1096: "} Some ReadyToRun compilations emitted warnings, indicating potential missing dependencies. Missing dependencies could potentially cause runtime failures. To show the warnings, set the PublishReadyToRunShowWarnings property to true. - Alcune compilazioni eseguite con la proprietà ReadyToRun hanno restituito avvisi per indicare potenziali dipendenze mancanti. Le dipendenze mancanti potrebbero causare errori di runtime. Per visualizzare gli avvisi, impostare la proprietà PublishReadyToRunShowWarnings su true. + Some ReadyToRun compilations emitted warnings, indicating potential missing dependencies. Missing dependencies could potentially cause runtime failures. To show the warnings, set the PublishReadyToRunShowWarnings property to true. NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. - NETSDK1094: non è possibile ottimizzare gli assembly per le prestazioni perché non è stato trovato alcun pacchetto di runtime valido. Impostare la proprietà PublishReadyToRun su false oppure usare un identificatore di runtime supportato durante la pubblicazione. Quando si usa .NET 6 o versioni successive, assicurarsi di ripristinare i pacchetti con la proprietà PublishReadyToRun impostata su true. + NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. {StrBegin="NETSDK1094: "} NETSDK1095: Optimizing assemblies for performance is not supported for the selected target platform or architecture. Please verify you are using a supported runtime identifier, or set the PublishReadyToRun property to false. - NETSDK1095: l'ottimizzazione degli assembly per le prestazioni non è supportata per la piattaforma o l'architettura di destinazione selezionata. Verificare di usare un identificatore di runtime supportato oppure impostare la proprietà PublishReadyToRun su false. + NETSDK1095: Optimizing assemblies for performance is not supported for the selected target platform or architecture. Please verify you are using a supported runtime identifier, or set the PublishReadyToRun property to false. {StrBegin="NETSDK1095: "} NETSDK1103: RollForward setting is only supported on .NET Core 3.0 or higher. - NETSDK1103: l'impostazione RollForward è supportata solo in .NET Core 3.0 o versione successiva. + NETSDK1103: RollForward setting is only supported on .NET Core 3.0 or higher. {StrBegin="NETSDK1103: "} NETSDK1083: The specified RuntimeIdentifier '{0}' is not recognized. - NETSDK1083: l'elemento RuntimeIdentifier '{0}' specificato non è riconosciuto. + NETSDK1083: The specified RuntimeIdentifier '{0}' is not recognized. {StrBegin="NETSDK1083: "} NETSDK1028: Specify a RuntimeIdentifier - NETSDK1028: specificare un elemento RuntimeIdentifier + NETSDK1028: Specify a RuntimeIdentifier {StrBegin="NETSDK1028: "} @@ -817,32 +822,32 @@ The following are names of parameters or literal values and should not be transl NETSDK1109: Runtime list file '{0}' was not found. Report this error to the .NET team here: https://aka.ms/dotnet-sdk-issue. - NETSDK1109: il file di elenco di runtime '{0}' non è stato trovato. Segnalare questo errore al team di .NET all'indirizzo: https://aka.ms/dotnet-sdk-issue. + NETSDK1109: Runtime list file '{0}' was not found. Report this error to the .NET team here: https://aka.ms/dotnet-sdk-issue. {StrBegin="NETSDK1109: "} NETSDK1112: The runtime pack for {0} was not downloaded. Try running a NuGet restore with the RuntimeIdentifier '{1}'. - NETSDK1112: il pacchetto di runtime per {0} non è stato scaricato. Provare a eseguire un ripristino NuGet con RuntimeIdentifier '{1}'. + NETSDK1112: The runtime pack for {0} was not downloaded. Try running a NuGet restore with the RuntimeIdentifier '{1}'. {StrBegin="NETSDK1112: "} NETSDK1185: The Runtime Pack for FrameworkReference '{0}' was not available. This may be because DisableTransitiveFrameworkReferenceDownloads was set to true. - NETSDK1185: il Runtime Pack per FrameworkReference '{0}' non è disponibile. È possibile che DisableTransitiveFrameworkReferenceDownloads sia stato impostato su true. + NETSDK1185: The Runtime Pack for FrameworkReference '{0}' was not available. This may be because DisableTransitiveFrameworkReferenceDownloads was set to true. {StrBegin="NETSDK1185: "} NETSDK1150: The referenced project '{0}' is a non self-contained executable. A non self-contained executable cannot be referenced by a self-contained executable. For more information, see https://aka.ms/netsdk1150 - NETSDK1150: il progetto '{0}' a cui viene fatto riferimento è un eseguibile non autonomo. Non è possibile fare riferimento a un eseguibile non autonomo da un eseguibile autonomo. Per altre informazioni, vedere https://aka.ms/netsdk1150 + NETSDK1150: The referenced project '{0}' is a non self-contained executable. A non self-contained executable cannot be referenced by a self-contained executable. For more information, see https://aka.ms/netsdk1150 {StrBegin="NETSDK1150: "} NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. - NETSDK1179: quando si usa '--runtime' è necessaria una delle opzioni '--self-contained' o '--no-self-contained'. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. {StrBegin="NETSDK1179: "}{Locked="--self-contained"}{Locked="--no-self-contained"}{Locked="--runtime"} NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. - NETSDK1048: per GenerateRuntimeConfigurationFiles è stato specificato 'AdditionalProbingPaths', ma questo valore verrà ignorato perché 'RuntimeConfigDevPath' è vuoto. + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. {StrBegin="NETSDK1048: "} @@ -854,107 +859,107 @@ The following are names of parameters or literal values and should not be transl NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy. - NETSDK1138: il framework di destinazione '{0}' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere {1}. + NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy. {StrBegin="NETSDK1138: "} NETSDK1046: The TargetFramework value '{0}' is not valid. To multi-target, use the 'TargetFrameworks' property instead. - NETSDK1046: il valore '{0}' di TargetFramework non è valido. Per impostare più destinazioni, usare la proprietà 'TargetFrameworks'. + NETSDK1046: The TargetFramework value '{0}' is not valid. To multi-target, use the 'TargetFrameworks' property instead. {StrBegin="NETSDK1046: "} NETSDK1145: The {0} pack is not installed and NuGet package restore is not supported. Upgrade Visual Studio, remove global.json if it specifies a certain SDK version, and uninstall the newer SDK. For more options visit https://aka.ms/targeting-apphost-pack-missing Pack Type:{0}, Pack directory: {1}, targetframework: {2}, Pack PackageId: {3}, Pack Package Version: {4} - NETSDK1145: il pacchetto {0} non è installato e il ripristino del pacchetto NuGet non è supportato. Aggiornare Visual Studio, rimuovere global.json se specifica una determinata versione dell'SDK e disinstallare l'SDK più recente. Per altre opzioni, vedere https://aka.ms/targeting-apphost-pack-missing. Tipo del pacchetto: {0}. Directory del pacchetto: {1}. Framework di destinazione: {2}. ID pacchetto: {3}. Versione del pacchetto: {4} + NETSDK1145: The {0} pack is not installed and NuGet package restore is not supported. Upgrade Visual Studio, remove global.json if it specifies a certain SDK version, and uninstall the newer SDK. For more options visit https://aka.ms/targeting-apphost-pack-missing Pack Type:{0}, Pack directory: {1}, targetframework: {2}, Pack PackageId: {3}, Pack Package Version: {4} {StrBegin="NETSDK1145: "} NETSDK1127: The targeting pack {0} is not installed. Please restore and try again. - NETSDK1127: il Targeting Pack {0} non è installato. Ripristinare e riprovare. + NETSDK1127: The targeting pack {0} is not installed. Please restore and try again. {StrBegin="NETSDK1127: "} NETSDK1184: The Targeting Pack for FrameworkReference '{0}' was not available. This may be because DisableTransitiveFrameworkReferenceDownloads was set to true. - NETSDK1184: il Targeting Pack per FrameworkReference '{0}' non è disponibile. È possibile che DisableTransitiveFrameworkReferenceDownloads sia stato impostato su true. + NETSDK1184: The Targeting Pack for FrameworkReference '{0}' was not available. This may be because DisableTransitiveFrameworkReferenceDownloads was set to true. {StrBegin="NETSDK1184: "} NETSDK1175: Windows Forms is not supported or recommended with trimming enabled. Please go to https://aka.ms/dotnet-illink/windows-forms for more details. - NETSDK1175: quando il trimming è abilitato, Windows Form non è supportato o consigliato. Per altre informazioni, vedere https://aka.ms/dotnet-illink/windows-forms. + NETSDK1175: Windows Forms is not supported or recommended with trimming enabled. Please go to https://aka.ms/dotnet-illink/windows-forms for more details. {StrBegin="NETSDK1175: "} NETSDK1168: WPF is not supported or recommended with trimming enabled. Please go to https://aka.ms/dotnet-illink/wpf for more details. - NETSDK1168: quando il trimming è abilitato, il WPF non è supportato o consigliato. Per altre informazioni, visitare https://aka.ms/dotnet-illink/wpf. + NETSDK1168: WPF is not supported or recommended with trimming enabled. Please go to https://aka.ms/dotnet-illink/wpf for more details. {StrBegin="NETSDK1168: "} NETSDK1172: The provided type library '{0}' does not exist. - NETSDK1172: la libreria dei tipi specificata '{0}' non esiste. + NETSDK1172: The provided type library '{0}' does not exist. {StrBegin="NETSDK1172: "} NETSDK1016: Unable to find resolved path for '{0}'. - NETSDK1016: il percorso risolto per '{0}' non è stato trovato. + NETSDK1016: Unable to find resolved path for '{0}'. {StrBegin="NETSDK1016: "} Unable to use package assets cache due to I/O error. This can occur when the same project is built more than once in parallel. Performance may be degraded, but the build result will not be impacted. - Non è possibile usare la cache delle risorse del pacchetto a causa dell'errore di I/O. Questo problema può verificarsi quando lo stesso progetto viene compilato più volte in parallelo. Può influire sulle prestazioni, ma non sul risultato della compilazione. + Unable to use package assets cache due to I/O error. This can occur when the same project is built more than once in parallel. Performance may be degraded, but the build result will not be impacted. NETSDK1012: Unexpected file type for '{0}'. Type is both '{1}' and '{2}'. - NETSDK1012: tipo di file imprevisto per '{0}'. Il tipo è sia '{1}' che '{2}'. + NETSDK1012: Unexpected file type for '{0}'. Type is both '{1}' and '{2}'. {StrBegin="NETSDK1012: "} NETSDK1073: The FrameworkReference '{0}' was not recognized - NETSDK1073: l'elemento FrameworkReference '{0}' non è stato riconosciuto + NETSDK1073: The FrameworkReference '{0}' was not recognized {StrBegin="NETSDK1073: "} NETSDK1186: This project depends on Maui Essentials through a project or NuGet package reference, but doesn't declare that dependency explicitly. To build this project, you must set the UseMauiEssentials property to true (and install the Maui workload if necessary). - NETSDK1186: questo progetto dipende da Maui Essentials tramite un riferimento al progetto o al pacchetto NuGet, ma non dichiara questa dipendenza in modo esplicito. Per compilare questo progetto, è necessario impostare la proprietà UseMauiEssentials su true e, se necessario, installare il carico di lavoro Maui. + NETSDK1186: This project depends on Maui Essentials through a project or NuGet package reference, but doesn't declare that dependency explicitly. To build this project, you must set the UseMauiEssentials property to true (and install the Maui workload if necessary). {StrBegin="NETSDK1186: "} NETSDK1137: It is no longer necessary to use the Microsoft.NET.Sdk.WindowsDesktop SDK. Consider changing the Sdk attribute of the root Project element to 'Microsoft.NET.Sdk'. - NETSDK1137: non è più necessario usare Microsoft.NET.Sdk.WindowsDesktop SDK. Provare a modificare l'attributo Sdk dell'elemento Project radice in 'Microsoft.NET.Sdk'. + NETSDK1137: It is no longer necessary to use the Microsoft.NET.Sdk.WindowsDesktop SDK. Consider changing the Sdk attribute of the root Project element to 'Microsoft.NET.Sdk'. {StrBegin="NETSDK1137: "} NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. - NETSDK1009: token di preprocessore '{0}' non riconosciuto in '{1}'. + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. {StrBegin="NETSDK1009: "} NETSDK1081: The targeting pack for {0} was not found. You may be able to resolve this by running a NuGet restore on the project. - NETSDK1081: il pacchetto di destinazione per {0} non è stato trovato. Per risolvere il problema, eseguire un ripristino NuGet sul progetto. + NETSDK1081: The targeting pack for {0} was not found. You may be able to resolve this by running a NuGet restore on the project. {StrBegin="NETSDK1081: "} NETSDK1019: {0} is an unsupported framework. - NETSDK1019: {0} è un framework non supportato. + NETSDK1019: {0} is an unsupported framework. {StrBegin="NETSDK1019: "} NETSDK1056: Project is targeting runtime '{0}' but did not resolve any runtime-specific packages. This runtime may not be supported by the target framework. - NETSDK1056: il progetto è destinato al runtime '{0}' ma non ha risolto pacchetti specifici del runtime. È possibile che questo runtime non sia supportato dal framework di destinazione. + NETSDK1056: Project is targeting runtime '{0}' but did not resolve any runtime-specific packages. This runtime may not be supported by the target framework. {StrBegin="NETSDK1056: "} NETSDK1050: The version of Microsoft.NET.Sdk used by this project is insufficient to support references to libraries targeting .NET Standard 1.5 or higher. Please install version 2.0 or higher of the .NET Core SDK. - NETSDK1050: la versione di Microsoft.NET.Sdk usata da questo progetto non è sufficiente per supportare i riferimenti alle librerie destinate a .NET Standard 1.5 o versione successiva. Installare la versione 2.0 o successiva di .NET Core SDK. + NETSDK1050: The version of Microsoft.NET.Sdk used by this project is insufficient to support references to libraries targeting .NET Standard 1.5 or higher. Please install version 2.0 or higher of the .NET Core SDK. {StrBegin="NETSDK1050: "} NETSDK1045: The current .NET SDK does not support targeting {0} {1}. Either target {0} {2} or lower, or use a version of the .NET SDK that supports {0} {1}. - NETSDK1045: la versione corrente di .NET SDK non supporta {0} {1} come destinazione. Impostare come destinazione {0} {2} o una versione precedente oppure usare una versione di .NET SDK che supporta {0} {1}. + NETSDK1045: The current .NET SDK does not support targeting {0} {1}. Either target {0} {2} or lower, or use a version of the .NET SDK that supports {0} {1}. {StrBegin="NETSDK1045: "} NETSDK1139: The target platform identifier {0} was not recognized. - NETSDK1139: l'identificatore di piattaforma di destinazione {0} non è stato riconosciuto. + NETSDK1139: The target platform identifier {0} was not recognized. {StrBegin="NETSDK1139: "} @@ -964,52 +969,52 @@ The following are names of parameters or literal values and should not be transl NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK. - NETSDK1107: per compilare applicazioni desktop di Windows, è necessario Microsoft.NET.Sdk.WindowsDesktop. 'UseWpf' e 'UseWindowsForms' non sono supportati dall'SDK corrente. + NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK. {StrBegin="NETSDK1107: "} NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy - NETSDK1057: si sta usando una versione in anteprima di .NET. Vedere https://aka.ms/dotnet-support-policy + NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy NETSDK1131: Producing a managed Windows Metadata component with WinMDExp is not supported when targeting {0}. - NETSDK1131: la produzione di un componente Metadati Windows gestito con WinMDExp non è supportata quando la destinazione è {0}. + NETSDK1131: Producing a managed Windows Metadata component with WinMDExp is not supported when targeting {0}. {StrBegin="NETSDK1131: "} NETSDK1130: {1} cannot be referenced. Referencing a Windows Metadata component directly when targeting .NET 5 or higher is not supported. For more information, see https://aka.ms/netsdk1130 - NETSDK1130: non è possibile fare riferimento a {1}. Il riferimento diretto a un componente di Metadati Windows quando la destinazione è .NET 5 o versione successiva non è supportato. Per altre informazioni, vedere https://aka.ms/netsdk1130 + NETSDK1130: {1} cannot be referenced. Referencing a Windows Metadata component directly when targeting .NET 5 or higher is not supported. For more information, see https://aka.ms/netsdk1130 {StrBegin="NETSDK1130: "} NETSDK1149: {0} cannot be referenced because it uses built-in support for WinRT, which is no longer supported in .NET 5 and higher. An updated version of the component supporting .NET 5 is needed. For more information, see https://aka.ms/netsdk1149 - NETSDK1149: non è possibile fare riferimento a {0} perché usa il supporto incorporato per WinRT, che non è più supportato in .NET 5 e versioni successive. È necessaria una versione aggiornata del componente che supporta .NET 5. Per altre informazioni, vedere https://aka.ms/netsdk1149 + NETSDK1149: {0} cannot be referenced because it uses built-in support for WinRT, which is no longer supported in .NET 5 and higher. An updated version of the component supporting .NET 5 is needed. For more information, see https://aka.ms/netsdk1149 {StrBegin="NETSDK1149: "} NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true' - NETSDK1106: con Microsoft.NET.Sdk.WindowsDesktop 'UseWpf' o 'UseWindowsForms' deve essere impostato su 'true' + NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true' {StrBegin="NETSDK1106: "} NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher. - NETSDK1105: le applicazioni desktop di Windows sono supportate solo in .NET Core 3.0 o versioni successive. + NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher. {StrBegin="NETSDK1105: "} NETSDK1100: To build a project targeting Windows on this operating system, set the EnableWindowsTargeting property to true. - NETSDK1100: per compilare un progetto destinato a Windows in questo sistema operativo, impostare la proprietà EnableWindowsTargeting su true. + NETSDK1100: To build a project targeting Windows on this operating system, set the EnableWindowsTargeting property to true. {StrBegin="NETSDK1100: "} NETSDK1136: The target platform must be set to Windows (usually by including '-windows' in the TargetFramework property) when using Windows Forms or WPF, or referencing projects or packages that do so. - NETSDK1136: la piattaforma di destinazione deve essere impostata su Windows, in genere includendo '-windows ' nella proprietà TargetFramework, quando si usa Windows Forms o WPF oppure si fa riferimento a progetti o pacchetti che lo usano. + NETSDK1136: The target platform must be set to Windows (usually by including '-windows' in the TargetFramework property) when using Windows Forms or WPF, or referencing projects or packages that do so. {StrBegin="NETSDK1136: "} NETSDK1148: A referenced assembly was compiled using a newer version of Microsoft.Windows.SDK.NET.dll. Please update to a newer .NET SDK in order to reference this assembly. - NETSDK1148: un assembly di riferimento è stato compilato con una versione più recente di Microsoft.Windows.SDK.NET.dll. Eseguire l'aggiornamento a un SDK .NET più recente per fare riferimento a questo assembly. + NETSDK1148: A referenced assembly was compiled using a newer version of Microsoft.Windows.SDK.NET.dll. Please update to a newer .NET SDK in order to reference this assembly. {StrBegin="NETSDK1148: "} @@ -1020,15 +1025,15 @@ The following are names of parameters or literal values and should not be transl NETSDK1178: The project depends on the following workload packs that do not exist in any of the workloads available in this installation: {0} You may need to build the project on another operating system or architecture, or update the .NET SDK. - NETSDK1178: il progetto dipende dai pacchetti di carico di lavoro seguenti che non esistono in nessuno dei carichi di lavoro disponibili in questa installazione: {0} -Potrebbe essere necessario compilare il progetto in un altro sistema operativo o architettura oppure aggiornare .NET SDK. + NETSDK1178: The project depends on the following workload packs that do not exist in any of the workloads available in this installation: {0} +You may need to build the project on another operating system or architecture, or update the .NET SDK. {StrBegin="NETSDK1178: "} NETSDK1147: To build this project, the following workloads must be installed: {0} To install these workloads, run the following command: dotnet workload restore - NETSDK1147: per compilare questo progetto devono essere installati i seguenti carichi di lavoro: {0} -Per installare questi carichi di lavoro, eseguire il seguente comando: dotnet workload restore + NETSDK1147: To build this project, the following workloads must be installed: {0} +To install these workloads, run the following command: dotnet workload restore {StrBegin="NETSDK1147: "} LOCALIZATION: Do not localize "dotnet workload restore" diff --git a/src/Tasks/Common/Resources/xlf/Strings.ja.xlf b/src/Tasks/Common/Resources/xlf/Strings.ja.xlf index 41a09b3647af..c8d70fa2b857 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.ja.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.ja.xlf @@ -675,6 +675,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1121: C++/CLI projects targeting .NET Core cannot use SelfContained=true. {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 diff --git a/src/Tasks/Common/Resources/xlf/Strings.ko.xlf b/src/Tasks/Common/Resources/xlf/Strings.ko.xlf index 34326104a49f..0a73f643f656 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.ko.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.ko.xlf @@ -675,6 +675,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1121: .NET Core를 대상으로 하는 C++/CLI 프로젝트는 SelfContained=true를 사용할 수 없습니다. {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 NETSDK1151: 참조된 프로젝트 '{0}'은(는) self-contained 실행 파일입니다. self-contained 실행 파일은 self-contained가 아닌 실행 파일에서 참조할 수 없습니다. 자세한 내용은 https://aka.ms/netsdk1151을 참조하세요 diff --git a/src/Tasks/Common/Resources/xlf/Strings.pl.xlf b/src/Tasks/Common/Resources/xlf/Strings.pl.xlf index b9cd384b19a4..e48c4c9caac8 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.pl.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.pl.xlf @@ -4,12 +4,12 @@ NETSDK1076: AddResource can only be used with integer resource types. - NETSDK1076: Element AddResource może być używany tylko z typami zasobów o wartości całkowitej. + NETSDK1076: AddResource can only be used with integer resource types. {StrBegin="NETSDK1076: "} NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false. - NETSDK1195: Zestaw SDK nie obsługuje kompilacji z wyprzedzeniem. Ustaw właściwość PublishAot na wartość false. + NETSDK1196: The SDK does not support ahead-of-time compilation. Set the PublishAot property to false. {StrBegin="NETSDK1196: "} @@ -29,37 +29,37 @@ NETSDK1070: The application configuration file must have root configuration element. - NETSDK1070: Plik konfiguracji aplikacji musi mieć główny element konfiguracji. + NETSDK1070: The application configuration file must have root configuration element. {StrBegin="NETSDK1070: "} NETSDK1113: Failed to create apphost (attempt {0} out of {1}): {2} - NETSDK1113: nie można utworzyć hosta aplikacji (próba {0} z {1}): {2} + NETSDK1113: Failed to create apphost (attempt {0} out of {1}): {2} {StrBegin="NETSDK1113: "} NETSDK1074: The application host executable will not be customized because adding resources requires that the build be performed on Windows (excluding Nano Server). - NETSDK1074: Plik wykonywalny hosta aplikacji nie zostanie dostosowany, ponieważ dodawanie zasobów wymaga, aby kompilacja została wykonana w systemie Windows (z wyjątkiem systemu Nano Server). + NETSDK1074: The application host executable will not be customized because adding resources requires that the build be performed on Windows (excluding Nano Server). {StrBegin="NETSDK1074: "} NETSDK1029: Unable to use '{0}' as application host executable as it does not contain the expected placeholder byte sequence '{1}' that would mark where the application name would be written. - NETSDK1029: Nie można użyć elementu „{0}” jako pliku wykonywalnego hosta aplikacji, ponieważ nie zawiera on oczekiwanej sekwencji bajtów symbolu zastępczego „{1}”, która wskazuje lokalizację zapisu nazwy aplikacji. + NETSDK1029: Unable to use '{0}' as application host executable as it does not contain the expected placeholder byte sequence '{1}' that would mark where the application name would be written. {StrBegin="NETSDK1029: "} NETSDK1078: Unable to use '{0}' as application host executable because it's not a Windows PE file. - NETSDK1078: Nie można użyć pliku „{0}” jako pliku wykonywalnego hosta aplikacji, ponieważ nie jest to plik systemu Windows PE. + NETSDK1078: Unable to use '{0}' as application host executable because it's not a Windows PE file. {StrBegin="NETSDK1078: "} NETSDK1072: Unable to use '{0}' as application host executable because it's not a Windows executable for the CUI (Console) subsystem. - NETSDK1072: Nie można użyć pliku „{0}” jako pliku wykonywalnego hosta aplikacji, ponieważ nie jest to plik wykonywalny systemu Windows dla podsystemu CUI (konsola). + NETSDK1072: Unable to use '{0}' as application host executable because it's not a Windows executable for the CUI (Console) subsystem. {StrBegin="NETSDK1072: "} NETSDK1177: Failed to sign apphost with error code {1}: {0} - NETSDK1177: Nie można podpisać hosta aplikacji z kodem błędu {1}: {0} + NETSDK1177: Failed to sign apphost with error code {1}: {0} {StrBegin="NETSDK1177: "} @@ -69,49 +69,54 @@ NETSDK1079: The Microsoft.AspNetCore.All package is not supported when targeting .NET Core 3.0 or higher. A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. - NETSDK1079: Pakiet Microsoft.AspNetCore.All nie jest obsługiwany w przypadku ukierunkowania na program .NET Core w wersji 3.0 lub wyższej. Zamiast tego powinien zostać użyty element FrameworkReference dla pakietu Microsoft.AspNetCore.App, który zostanie niejawnie uwzględniony przez pakiet Microsoft.NET.Sdk.Web. + NETSDK1079: The Microsoft.AspNetCore.All package is not supported when targeting .NET Core 3.0 or higher. A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. {StrBegin="NETSDK1079: "} NETSDK1080: A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher. If Microsoft.NET.Sdk.Web is used, the shared framework will be referenced automatically. Otherwise, the PackageReference should be replaced with a FrameworkReference. - NETSDK1080: Element PackageReference dla pakietu Microsoft.AspNetCore.App nie jest konieczny w przypadku ukierunkowania na program .NET Core w wersji 3.0 lub wyższej. Jeśli używany jest pakiet Microsoft.NET.Sdk.Web, odwołanie do udostępnionej struktury zostanie utworzone automatycznie. W przeciwnym razie element PackageReference powinien zostać zastąpiony elementem FrameworkReference. + NETSDK1080: A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher. If Microsoft.NET.Sdk.Web is used, the shared framework will be referenced automatically. Otherwise, the PackageReference should be replaced with a FrameworkReference. {StrBegin="NETSDK1080: "} NETSDK1017: Asset preprocessor must be configured before assets are processed. - NETSDK1017: Preprocesor zasobów musi być skonfigurowany przed przetworzeniem zasobów. + NETSDK1017: Asset preprocessor must be configured before assets are processed. {StrBegin="NETSDK1017: "} NETSDK1047: Assets file '{0}' doesn't have a target for '{1}'. Ensure that restore has run and that you have included '{2}' in the TargetFrameworks for your project. You may also need to include '{3}' in your project's RuntimeIdentifiers. - NETSDK1047: Plik zasobów „{0}” nie ma obiektu docelowego dla „{1}”. Upewnij się, że uruchomiono przywracanie i że w elemencie TargetFrameworks dla projektu uwzględniono element „{2}”. Może być też konieczne uwzględnienie elementu „{3}” w obszarze RuntimeIdentifiers projektu. + NETSDK1047: Assets file '{0}' doesn't have a target for '{1}'. Ensure that restore has run and that you have included '{2}' in the TargetFrameworks for your project. You may also need to include '{3}' in your project's RuntimeIdentifiers. {StrBegin="NETSDK1047: "} NETSDK1005: Assets file '{0}' doesn't have a target for '{1}'. Ensure that restore has run and that you have included '{2}' in the TargetFrameworks for your project. - NETSDK1005: Plik zasobów „{0}” nie ma obiektu docelowego dla „{1}”. Upewnij się, że uruchomiono przywracanie i że w elemencie TargetFrameworks dla projektu uwzględniono element „{2}”. + NETSDK1005: Assets file '{0}' doesn't have a target for '{1}'. Ensure that restore has run and that you have included '{2}' in the TargetFrameworks for your project. {StrBegin="NETSDK1005: "} NETSDK1004: Assets file '{0}' not found. Run a NuGet package restore to generate this file. - NETSDK1004: Nie odnaleziono pliku zasobów „{0}”. Uruchom przywracanie pakietu NuGet, aby wygenerować ten plik. + NETSDK1004: Assets file '{0}' not found. Run a NuGet package restore to generate this file. {StrBegin="NETSDK1004: "} NETSDK1063: The path to the project assets file was not set. Run a NuGet package restore to generate this file. - NETSDK1063: Nie ustawiono ścieżki do pliku zasobów projektu. Uruchom przywracanie pakietu NuGet, aby wygenerować ten plik. + NETSDK1063: The path to the project assets file was not set. Run a NuGet package restore to generate this file. {StrBegin="NETSDK1063: "} NETSDK1006: Assets file path '{0}' is not rooted. Only full paths are supported. - NETSDK1006: Ścieżka pliku zasobów „{0}” nie prowadzi do katalogu głównego. Tylko pełne ścieżki są obsługiwane. + NETSDK1006: Assets file path '{0}' is not rooted. Only full paths are supported. {StrBegin="NETSDK1006: "} NETSDK1001: At least one possible target framework must be specified. - NETSDK1001: Należy określić co najmniej jedną możliwą platformę docelową. + NETSDK1001: At least one possible target framework must be specified. {StrBegin="NETSDK1001: "} + + NETSDK1125: Publishing to a single-file is only supported for netcoreapp target. + NETSDK1125: Publishing to a single-file is only supported for netcoreapp target. + {StrBegin="NETSDK1125: "} + NETSDK1080: The Microsoft.Net.Compilers.Toolset.Framework package should not be set directly. Set the property 'BuildWithNetFrameworkHostedCompiler' to 'true' instead if you need it. NETSDK1080: The Microsoft.Net.Compilers.Toolset.Framework package should not be set directly. Set the property 'BuildWithNetFrameworkHostedCompiler' to 'true' instead if you need it. @@ -119,122 +124,117 @@ NETSDK1092: The CLSIDMap cannot be embedded on the COM host because adding resources requires that the build be performed on Windows (excluding Nano Server). - NETSDK1092: Nie można osadzić elementu CLSIDMap w ramach hosta modelu COM, ponieważ dodawanie zasobów wymaga, aby kompilacja została wykonana w systemie Windows (z wyjątkiem systemu Nano Server). + NETSDK1092: The CLSIDMap cannot be embedded on the COM host because adding resources requires that the build be performed on Windows (excluding Nano Server). {StrBegin="NETSDK1092: "} NETSDK1065: Cannot find app host for {0}. {0} could be an invalid runtime identifier (RID). For more information about RID, see https://aka.ms/rid-catalog. - NETSDK1065: Nie można odnaleźć hosta aplikacji dla elementu {0}. {0} może być nieprawidłowym identyfikatorem środowiska uruchomieniowego. Aby uzyskać więcej informacji na temat identyfikatora środowiska uruchomieniowego, zobacz https://aka.ms/rid-catalog. + NETSDK1065: Cannot find app host for {0}. {0} could be an invalid runtime identifier (RID). For more information about RID, see https://aka.ms/rid-catalog. {StrBegin="NETSDK1065: "} NETSDK1091: Unable to find a .NET Core COM host. The .NET Core COM host is only available on .NET Core 3.0 or higher when targeting Windows. - NETSDK1091: Nie można odnaleźć hosta COM programu .NET Core. Host COM programu .NET Core jest dostępny tylko w programie .NET Core w wersji 3.0 lub wyższej w przypadku ukierunkowania na system Windows. + NETSDK1091: Unable to find a .NET Core COM host. The .NET Core COM host is only available on .NET Core 3.0 or higher when targeting Windows. {StrBegin="NETSDK1091: "} NETSDK1114: Unable to find a .NET Core IJW host. The .NET Core IJW host is only available on .NET Core 3.1 or higher when targeting Windows. - NETSDK1114: Nie można znaleźć hosta IJW platformy .NET Core. Host IJW platformy .NET Core jest dostępny tylko na platformie .NET Core w wersji 3.1 lub nowszej w przypadku ukierunkowania na system Windows. + NETSDK1114: Unable to find a .NET Core IJW host. The .NET Core IJW host is only available on .NET Core 3.1 or higher when targeting Windows. {StrBegin="NETSDK1114: "} NETSDK1007: Cannot find project info for '{0}'. This can indicate a missing project reference. - NETSDK1007: Nie odnaleziono informacji o projekcie dla elementu „{0}”. Może to wskazywać na brakujące odwołanie do projektu. + NETSDK1007: Cannot find project info for '{0}'. This can indicate a missing project reference. {StrBegin="NETSDK1007: "} NETSDK1032: The RuntimeIdentifier platform '{0}' and the PlatformTarget '{1}' must be compatible. - NETSDK1032: Platforma elementu RuntimeIdentifier „{0}” i element PlatformTarget „{1}” muszą być zgodne. + NETSDK1032: The RuntimeIdentifier platform '{0}' and the PlatformTarget '{1}' must be compatible. {StrBegin="NETSDK1032: "} NETSDK1031: It is not supported to build or publish a self-contained application without specifying a RuntimeIdentifier. You must either specify a RuntimeIdentifier or set SelfContained to false. - NETSDK1031: Kompilowanie i publikowanie aplikacji autonomicznej bez określania elementu RuntimeIdentifier nie jest obsługiwane. Należy określić element RuntimeIdentifier lub ustawić wartość false dla elementu SelfContained. + NETSDK1031: It is not supported to build or publish a self-contained application without specifying a RuntimeIdentifier. You must either specify a RuntimeIdentifier or set SelfContained to false. {StrBegin="NETSDK1031: "} - - NETSDK1097: It is not supported to publish an application to a single-file without specifying a RuntimeIdentifier. You must either specify a RuntimeIdentifier or set PublishSingleFile to false. - NETSDK1097: Publikowanie aplikacji w pojedynczym pliku bez określania elementu RuntimeIdentifier nie jest obsługiwane. Należy określić element RuntimeIdentifier lub ustawić wartość false dla elementu PublishSingleFile. - {StrBegin="NETSDK1097: "} - NETSDK1098: Applications published to a single-file are required to use the application host. You must either set PublishSingleFile to false or set UseAppHost to true. - NETSDK1098: Aplikacje opublikowane w pojedynczym pliku muszą używać hosta aplikacji. Należy ustawić element PublishSingleFile na wartość false lub ustawić element UseAppHost na wartość true. + NETSDK1098: Applications published to a single-file are required to use the application host. You must either set PublishSingleFile to false or set UseAppHost to true. {StrBegin="NETSDK1098: "} NETSDK1099: Publishing to a single-file is only supported for executable applications. - NETSDK1099: Publikowanie w pojedynczym pliku jest obsługiwane tylko dla aplikacji wykonywalnych. + NETSDK1099: Publishing to a single-file is only supported for executable applications. {StrBegin="NETSDK1099: "} + + NETSDK1097: It is not supported to publish an application to a single-file without specifying a RuntimeIdentifier. You must either specify a RuntimeIdentifier or set PublishSingleFile to false. + NETSDK1097: It is not supported to publish an application to a single-file without specifying a RuntimeIdentifier. You must either specify a RuntimeIdentifier or set PublishSingleFile to false. + {StrBegin="NETSDK1097: "} + NETSDK1194: The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds. - NETSDK1194: Opcja „--output” nie jest obsługiwana podczas kompilowania rozwiązania. Określenie ścieżki wyjściowej na poziomie rozwiązania spowoduje, że wszystkie projekty będą kopiować dane wyjściowe do tego samego katalogu, co może prowadzić do niespójnych kompilacji. + NETSDK1194: The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds. {StrBegin="NETSDK1194: "}{Locked="--output"} NETSDK1134: Building a solution with a specific RuntimeIdentifier is not supported. If you would like to publish for a single RID, specify the RID at the individual project level instead. - NETSDK1134: tworzenie rozwiązania z określonym identyfikatorem RuntimeIdentifier nie jest obsługiwane. Jeśli chcesz dokonać publikacji tylko dla jednego identyfikatora RID, określ identyfikator RID na poziomie projektu indywidualnego. + NETSDK1134: Building a solution with a specific RuntimeIdentifier is not supported. If you would like to publish for a single RID, specify the RID at the individual project level instead. {StrBegin="NETSDK1134: "} NETSDK1135: SupportedOSPlatformVersion {0} cannot be higher than TargetPlatformVersion {1}. - NETSDK1135: Element SupportedOSPlatformVersion {0} nie może być większy niż element TargetPlatformVersion {1}. + NETSDK1135: SupportedOSPlatformVersion {0} cannot be higher than TargetPlatformVersion {1}. {StrBegin="NETSDK1135: "} NETSDK1143: Including all content in a single file bundle also includes native libraries. If IncludeAllContentForSelfExtract is true, IncludeNativeLibrariesForSelfExtract must not be false. - NETSDK1143: Dołączanie całej zawartości w pojedynczym pakiecie plików obejmuje również biblioteki natywne. Jeśli element IncludeAllContentForSelfExtract ma wartość true, element IncludeNativeLibrariesForSelfExtract nie może mieć wartości false. + NETSDK1143: Including all content in a single file bundle also includes native libraries. If IncludeAllContentForSelfExtract is true, IncludeNativeLibrariesForSelfExtract must not be false. {StrBegin="NETSDK1143: "} NETSDK1142: Including symbols in a single file bundle is not supported when publishing for .NET5 or higher. - NETSDK1142: Dołączanie symboli w pojedynczym pakiecie plików nie jest obsługiwane w przypadku publikowania dla dla platformy .NET5 lub nowszej. + NETSDK1142: Including symbols in a single file bundle is not supported when publishing for .NET5 or higher. {StrBegin="NETSDK1142: "} NETSDK1013: The TargetFramework value '{0}' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. - NETSDK1013: Nie rozpoznano wartości „{0}” elementu TargetFramework. Być może wpisano ją niepoprawnie. Jeśli nie, należy jawnie określić właściwości TargetFrameworkIdentifier i/lub TargetFrameworkVersion. + NETSDK1013: The TargetFramework value '{0}' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. {StrBegin="NETSDK1013: "} NETSDK1067: Self-contained applications are required to use the application host. Either set SelfContained to false or set UseAppHost to true. - NETSDK1067: Aplikacje autonomiczne muszą korzystać z hosta aplikacji. Ustaw parametr SelfContained na wartość false lub parametr UseAppHost na wartość true. + NETSDK1067: Self-contained applications are required to use the application host. Either set SelfContained to false or set UseAppHost to true. {StrBegin="NETSDK1067: "} - - NETSDK1125: Publishing to a single-file is only supported for netcoreapp target. - NETSDK1125: Publikowanie do pojedynczego pliku jest obsługiwane tylko w przypadku elementu docelowego netcoreapp. - {StrBegin="NETSDK1125: "} - Choosing '{0}' because AssemblyVersion '{1}' is greater than '{2}'. - Zostanie wybrany element „{0}”, ponieważ wartość atrybutu AssemblyVersion „{1}” jest większa niż „{2}”. + Choosing '{0}' because AssemblyVersion '{1}' is greater than '{2}'. Choosing '{0}' arbitrarily as both items are copy-local and have equal file and assembly versions. - Arbitralnie zostanie wybrany element „{0}”, ponieważ oba elementy mają włączone kopiowanie lokalne i mają takie same wersje plików i zestawów. + Choosing '{0}' arbitrarily as both items are copy-local and have equal file and assembly versions. Choosing '{0}' because file version '{1}' is greater than '{2}'. - Zostanie wybrany element „{0}”, ponieważ wersja pliku „{1}” jest nowsza niż „{2}”. + Choosing '{0}' because file version '{1}' is greater than '{2}'. Choosing '{0}' because it is a platform item. - Zostanie wybrany element „{0}”, ponieważ jest to element platformy. + Choosing '{0}' because it is a platform item. Choosing '{0}' because it comes from a package that is preferred. - Zostanie wybrany element „{0}”, ponieważ pochodzi on z preferowanego pakietu. + Choosing '{0}' because it comes from a package that is preferred. NETSDK1089: The '{0}' and '{1}' types have the same CLSID '{2}' set in their GuidAttribute. Each COMVisible class needs to have a distinct guid for their CLSID. - NETSDK1089: Typy „{0}” i „{1}” mają ustawiony ten sam identyfikator CLSID „{2}” w ich atrybucie GuidAttribute. Każda klasa COMVisible musi mieć unikatowe identyfikatory GUID dla swojego identyfikatora CLSID. + NETSDK1089: The '{0}' and '{1}' types have the same CLSID '{2}' set in their GuidAttribute. Each COMVisible class needs to have a distinct guid for their CLSID. {StrBegin="NETSDK1089: "} {0} - The first type with the conflicting guid. {1} - The second type with the conflicting guid. @@ -242,241 +242,241 @@ NETSDK1088: The COMVisible class '{0}' must have a GuidAttribute with the CLSID of the class to be made visible to COM in .NET Core. - NETSDK1088: Klasa COMVisible „{0}” musi mieć atrybut GuidAttribute z identyfikatorem CLSID klasy, aby była widoczna dla hosta COM w programie .NET Core. + NETSDK1088: The COMVisible class '{0}' must have a GuidAttribute with the CLSID of the class to be made visible to COM in .NET Core. {StrBegin="NETSDK1088: "} {0} - The ComVisible class that doesn't have a GuidAttribute on it. NETSDK1090: The supplied assembly '{0}' is not valid. Cannot generate a CLSIDMap from it. - NETSDK1090: Podany zestaw „{0}” jest nieprawidłowy. Nie można wygenerować elementu CLSIDMap na jego podstawie. + NETSDK1090: The supplied assembly '{0}' is not valid. Cannot generate a CLSIDMap from it. {StrBegin="NETSDK1090: "} {0} - The path to the invalid assembly. NETSDK1167: Compression in a single file bundle is only supported when publishing for .NET6 or higher. - NETSDK1167: kompresja w pojedynczym pakiecie plików jest obsługiwana tylko w przypadku publikowania na potrzeby platformy .NET6 lub nowszej wersji. + NETSDK1167: Compression in a single file bundle is only supported when publishing for .NET6 or higher. {StrBegin="NETSDK1167: "} NETSDK1176: Compression in a single file bundle is only supported when publishing a self-contained application. - NETSDK1176: Kompresja w pojedynczym pakiecie plików jest obsługiwana tylko w przypadku publikowania samodzielnych aplikacji. + NETSDK1176: Compression in a single file bundle is only supported when publishing a self-contained application. {StrBegin="NETSDK1176: "} NETSDK1133: There was conflicting information about runtime packs available for {0}: {1} - NETSDK1133: Informacje o pakietach środowiska uruchomieniowego dostępnych dla elementu {0} były w konflikcie: + NETSDK1133: There was conflicting information about runtime packs available for {0}: {1} {StrBegin="NETSDK1133: "} NETSDK1014: Content item for '{0}' sets '{1}', but does not provide '{2}' or '{3}'. - NETSDK1014: Element zawartości dla elementu „{0}” ustawia wartość „{1}”, ale nie zapewnia wartości „{2}” ani „{3}”. + NETSDK1014: Content item for '{0}' sets '{1}', but does not provide '{2}' or '{3}'. {StrBegin="NETSDK1014: "} NETSDK1010: The '{0}' task must be given a value for parameter '{1}' in order to consume preprocessed content. - NETSDK1010: Dla zadania „{0}” musi zostać podana wartość parametru „{1}” w celu użycia wstępnie przetworzonej zawartości. + NETSDK1010: The '{0}' task must be given a value for parameter '{1}' in order to consume preprocessed content. {StrBegin="NETSDK1010: "} Could not determine winner because '{0}' does not exist. - Nie można określić wyniku, ponieważ element „{0}” nie istnieje. + Could not determine winner because '{0}' does not exist. Could not determine winner due to equal file and assembly versions. - Nie można określić wyniku z powodu takich samych wersji pliku i zestawu. + Could not determine winner due to equal file and assembly versions. Could not determine a winner because '{0}' has no file version. - Nie można określić wyniku, ponieważ element „{0}” nie ma wersji pliku. + Could not determine a winner because '{0}' has no file version. Could not determine a winner because '{0}' is not an assembly. - Nie można określić wyniku, ponieważ element „{0}” nie jest zestawem. + Could not determine a winner because '{0}' is not an assembly. NETSDK1181: Error getting pack version: Pack '{0}' was not present in workload manifests. - NETSDK1181: Wystąpił błąd podczas uzyskiwania wersji pakietu: pakiet „{0}” nie był obecny w manifestach obciążenia. + NETSDK1181: Error getting pack version: Pack '{0}' was not present in workload manifests. {StrBegin="NETSDK1181: "} NETSDK1042: Could not load PlatformManifest from '{0}' because it did not exist. - NETSDK1042: Nie można załadować elementu PlatformManifest z lokalizacji „{0}”, ponieważ ta lokalizacja nie istnieje. + NETSDK1042: Could not load PlatformManifest from '{0}' because it did not exist. {StrBegin="NETSDK1042: "} NETSDK1120: C++/CLI projects targeting .NET Core require a target framework of at least 'netcoreapp3.1'. - NETSDK1120: Projekty języka C++/interfejsu wiersza polecenia dla platformy .NET Core wymagają co najmniej platformy docelowej „netcoreapp 3.1”. + NETSDK1120: C++/CLI projects targeting .NET Core require a target framework of at least 'netcoreapp3.1'. {StrBegin="NETSDK1120: "} NETSDK1158: Required '{0}' metadata missing on Crossgen2Tool item. - NETSDK1158: brak wymaganych metadanych "{0}" w elemencie Crossgen2Tool. + NETSDK1158: Required '{0}' metadata missing on Crossgen2Tool item. {StrBegin="NETSDK1158: "} NETSDK1126: Publishing ReadyToRun using Crossgen2 is only supported for self-contained applications. - NETSDK1126: Publikowanie elementu ReadyToRun przy użyciu elementu Crossgen2 jest obsługiwane tylko w przypadku aplikacji samodzielnych. + NETSDK1126: Publishing ReadyToRun using Crossgen2 is only supported for self-contained applications. {StrBegin="NETSDK1126: "} NETSDK1155: Crossgen2Tool executable '{0}' not found. - NETSDK1155: nie znaleziono pliku wykonywalnego "{0}" elementu Crossgen2Tool. + NETSDK1155: Crossgen2Tool executable '{0}' not found. {StrBegin="NETSDK1155: "} NETSDK1154: Crossgen2Tool must be specified when UseCrossgen2 is set to true. - NETSDK1154: należy określić element Crossgen2Tool, gdy właściwość UseCrossgen2 jest ustawiona na wartość true. + NETSDK1154: Crossgen2Tool must be specified when UseCrossgen2 is set to true. {StrBegin="NETSDK1154: "} NETSDK1166: Cannot emit symbols when publishing for .NET 5 with Crossgen2 using composite mode. - NETSDK1166: nie można emitować symboli podczas publikowania w przypadku platformy .NET 5 z Crossgen2 przy użyciu trybu złożonego. + NETSDK1166: Cannot emit symbols when publishing for .NET 5 with Crossgen2 using composite mode. {StrBegin="NETSDK1166: "} NETSDK1160: CrossgenTool executable '{0}' not found. - NETSDK1160: nie znaleziono pliku wykonywalnego "{0}" elementu CrossgenTool. + NETSDK1160: CrossgenTool executable '{0}' not found. {StrBegin="NETSDK1160: "} NETSDK1153: CrossgenTool not specified in PDB compilation mode. - NETSDK1153: nie określono elementu CrossgenTool w trybie kompilacji pliku PDB. + NETSDK1153: CrossgenTool not specified in PDB compilation mode. {StrBegin="NETSDK1153: "} NETSDK1159: CrossgenTool must be specified when UseCrossgen2 is set to false. - NETSDK1159: należy określić element CrossgenTool, gdy właściwość UseCrossgen2 jest ustawiona na wartość false. + NETSDK1159: CrossgenTool must be specified when UseCrossgen2 is set to false. {StrBegin="NETSDK1159: "} NETSDK1161: DiaSymReader library '{0}' not found. - NETSDK1161: nie znaleziono biblioteki DiaSymReader "{0}". + NETSDK1161: DiaSymReader library '{0}' not found. {StrBegin="NETSDK1161: "} NETSDK1156: .NET host executable '{0}' not found. - NETSDK1156: nie znaleziono pliku wykonywalnego "{0}" hosta platformy .NET. + NETSDK1156: .NET host executable '{0}' not found. {StrBegin="NETSDK1156: "} NETSDK1055: DotnetTool does not support target framework lower than netcoreapp2.1. - NETSDK1055: Narzędzie DotnetTool nie obsługuje docelowej struktury w wersji niższej niż netcoreapp2.1. + NETSDK1055: DotnetTool does not support target framework lower than netcoreapp2.1. {StrBegin="NETSDK1055: "} NETSDK1054: only supports .NET Core. - NETSDK1054: obsługuje tylko platformę .NET Core. + NETSDK1054: only supports .NET Core. {StrBegin="NETSDK1054: "} NETSDK1022: Duplicate '{0}' items were included. The .NET SDK includes '{0}' items from your project directory by default. You can either remove these items from your project file, or set the '{1}' property to '{2}' if you want to explicitly include them in your project file. For more information, see {4}. The duplicate items were: {3} - NETSDK1022: Zostały uwzględnione zduplikowane elementy „{0}”. Zestaw .NET SDK dołącza domyślnie elementy „{0}” z katalogu projektu. Możesz usunąć te elementy z pliku projektu lub ustawić dla właściwości „{1}” wartość „{2}”, aby jawnie uwzględnić je w pliku projektu.Aby uzyskać więcej informacji, zobacz {4}. Zduplikowane elementy: {3} + NETSDK1022: Duplicate '{0}' items were included. The .NET SDK includes '{0}' items from your project directory by default. You can either remove these items from your project file, or set the '{1}' property to '{2}' if you want to explicitly include them in your project file. For more information, see {4}. The duplicate items were: {3} {StrBegin="NETSDK1022: "} NETSDK1015: The preprocessor token '{0}' has been given more than one value. Choosing '{1}' as the value. - NETSDK1015: Dla tokenu preprocesora „{0}” podano więcej niż jedną wartość. Wybieranie elementu „{1}” jako wartości. + NETSDK1015: The preprocessor token '{0}' has been given more than one value. Choosing '{1}' as the value. {StrBegin="NETSDK1015: "} NETSDK1152: Found multiple publish output files with the same relative path: {0}. - NETSDK1152: znaleziono wiele opublikowanych plików wyjściowych z taką samą ścieżką względną: {0}. + NETSDK1152: Found multiple publish output files with the same relative path: {0}. {StrBegin="NETSDK1152: "} NETSDK1110: More than one asset in the runtime pack has the same destination sub-path of '{0}'. Report this error to the .NET team here: https://aka.ms/dotnet-sdk-issue. - NETSDK1110: Więcej niż jeden zasób w pakiecie środowiska uruchomieniowego ma taką samą docelową ścieżkę podrzędną („{0}”). Zgłoś ten błąd zespołowi platformy .NET tutaj: https://aka.ms/dotnet-sdk-issue. + NETSDK1110: More than one asset in the runtime pack has the same destination sub-path of '{0}'. Report this error to the .NET team here: https://aka.ms/dotnet-sdk-issue. {StrBegin="NETSDK1110: "} NETSDK1169: The same resource ID {0} was specified for two type libraries '{1}' and '{2}'. Duplicate type library IDs are not allowed. - NETSDK1169: ten sam identyfikator zasobu {0} został określony dla dwóch bibliotek typów "{1}" i "{2}". Duplikowanie identyfikatorów bibliotek typów jest niedozwolone. + NETSDK1169: The same resource ID {0} was specified for two type libraries '{1}' and '{2}'. Duplicate type library IDs are not allowed. {StrBegin="NETSDK1169: "} Encountered conflict between '{0}' and '{1}'. - Napotkano konflikt między elementem „{0}” i „{1}”. + Encountered conflict between '{0}' and '{1}'. NETSDK1051: Error parsing FrameworkList from '{0}'. {1} '{2}' was invalid. - NETSDK1051: Błąd analizowania elementu FrameworkList z elementu „{0}”. Element {1} „{2}” był nieprawidłowy. + NETSDK1051: Error parsing FrameworkList from '{0}'. {1} '{2}' was invalid. {StrBegin="NETSDK1051: "} NETSDK1043: Error parsing PlatformManifest from '{0}' line {1}. Lines must have the format {2}. - NETSDK1043: Wystąpił błąd podczas analizowania elementu PlatformManifest w wierszu „{0}” {1}. Wiersze muszą mieć format {2}. + NETSDK1043: Error parsing PlatformManifest from '{0}' line {1}. Lines must have the format {2}. {StrBegin="NETSDK1043: "} NETSDK1044: Error parsing PlatformManifest from '{0}' line {1}. {2} '{3}' was invalid. - NETSDK1044: Wystąpił błąd podczas analizowania elementu PlatformManifest w wierszu „{0}” {1}. Element {2} „{3}” jest nieprawidłowy. + NETSDK1044: Error parsing PlatformManifest from '{0}' line {1}. {2} '{3}' was invalid. {StrBegin="NETSDK1044: "} NETSDK1060: Error reading assets file: {0} - NETSDK1060: Błąd podczas odczytywania pliku zasobów: {0} + NETSDK1060: Error reading assets file: {0} {StrBegin="NETSDK1060: "} NETSDK1111: Failed to delete output apphost: {0} - NETSDK1111: Nie można usunąć wyjściowego elementu apphost: {0} + NETSDK1111: Failed to delete output apphost: {0} {StrBegin="NETSDK1111: "} NETSDK1077: Failed to lock resource. - NETSDK1077: Nie można zablokować zasobu. + NETSDK1077: Failed to lock resource. {StrBegin="NETSDK1077: "} NETSDK1030: Given file name '{0}' is longer than 1024 bytes - NETSDK1030: Podana nazwa pliku „{0}” jest dłuższa niż 1024 bajty + NETSDK1030: Given file name '{0}' is longer than 1024 bytes {StrBegin="NETSDK1030: "} NETSDK1024: Folder '{0}' already exists either delete it or provide a different ComposeWorkingDir - NETSDK1024: Folder „{0}” już istnieje. Usuń go lub podaj inny katalog roboczy tworzenia (ComposeWorkingDir) + NETSDK1024: Folder '{0}' already exists either delete it or provide a different ComposeWorkingDir {StrBegin="NETSDK1024: "} NETSDK1068: The framework-dependent application host requires a target framework of at least 'netcoreapp2.1'. - NETSDK1068: Host aplikacji zależnych od platformy wymaga co najmniej platformy docelowej „netcoreapp2.1”. + NETSDK1068: The framework-dependent application host requires a target framework of at least 'netcoreapp2.1'. {StrBegin="NETSDK1068: "} NETSDK1052: Framework list file path '{0}' is not rooted. Only full paths are supported. - NETSDK1052: Ścieżka pliku z listą struktur „{0}” nie zaczyna się od katalogu głównego. Obsługiwane są tylko pełne ścieżki. + NETSDK1052: Framework list file path '{0}' is not rooted. Only full paths are supported. {StrBegin="NETSDK1052: "} NETSDK1087: Multiple FrameworkReference items for '{0}' were included in the project. - NETSDK1087: Wiele elementów FrameworkReference dla obiektu „{0}” zostało uwzględnionych w projekcie. + NETSDK1087: Multiple FrameworkReference items for '{0}' were included in the project. {StrBegin="NETSDK1087: "} NETSDK1086: A FrameworkReference for '{0}' was included in the project. This is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see {1} - NETSDK1086: Odwołanie FrameworkReference dla elementu „{0}” zostało uwzględnione w projekcie. Jest on jawnie przywoływany przez zestaw .NET SDK i zwykle nie ma potrzeby tworzenia odwołania do niego z projektu. Aby uzyskać więcej informacji, zobacz {1} + NETSDK1086: A FrameworkReference for '{0}' was included in the project. This is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see {1} {StrBegin="NETSDK1086: "} NETSDK1049: Resolved file has a bad image, no metadata, or is otherwise inaccessible. {0} {1} - NETSDK1049: Rozpoznany plik ma nieprawidłowy obraz, nie ma metadanych lub jest w inny sposób niedostępny. {0} {1} + NETSDK1049: Resolved file has a bad image, no metadata, or is otherwise inaccessible. {0} {1} {StrBegin="NETSDK1049: "} NETSDK1141: Unable to resolve the .NET SDK version as specified in the global.json located at {0}. - NETSDK1141: nie można rozpoznać wersji zestawu .NET SDK określonej w pliku global.json w lokalizacji {0}. + NETSDK1141: Unable to resolve the .NET SDK version as specified in the global.json located at {0}. {StrBegin="NETSDK1141: "} NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. - NETSDK1144: Optymalizacja zestawów pod kątem rozmiaru nie powiodła się. Optymalizacja może zostać wyłączona przez ustawienie właściwości PublishTrimmed na wartość false. + NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. {StrBegin="NETSDK1144: "} @@ -486,90 +486,90 @@ NETSDK1102: Optimizing assemblies for size is not supported for the selected publish configuration. Please ensure that you are publishing a self-contained app. - NETSDK1102: Optymalizacja zestawów pod kątem rozmiaru nie jest obsługiwana w przypadku wybranej konfiguracji publikowania. Upewnij się, że publikujesz niezależną aplikację. + NETSDK1102: Optimizing assemblies for size is not supported for the selected publish configuration. Please ensure that you are publishing a self-contained app. {StrBegin="NETSDK1102: "} Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink - Zestawy są optymalizowane pod kątem rozmiaru, co może spowodować zmianę zachowania aplikacji. Pamiętaj, aby wykonać testy po opublikowaniu. Zobacz: https://aka.ms/dotnet-illink + Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink Optimizing assemblies for size. This process might take a while. - Optymalizowanie zestawów pod kątem rozmiaru. Ten proces może trochę potrwać. + Optimizing assemblies for size. This process might take a while. NETSDK1191: A runtime identifier for the property '{0}' couldn't be inferred. Specify a rid explicitly. - NETSDK1191: Nie można wywnioskować identyfikatora środowiska uruchomieniowego dla właściwości „{0}”. Jawnie określ identyfikator RID. + NETSDK1191: A runtime identifier for the property '{0}' couldn't be inferred. Specify a rid explicitly. {StrBegin="NETSDK1191: "} NETSDK1020: Package Root {0} was incorrectly given for Resolved library {1} - NETSDK1020: Podano niepoprawny element główny pakietu {0} dla rozpoznanej biblioteki {1} + NETSDK1020: Package Root {0} was incorrectly given for Resolved library {1} {StrBegin="NETSDK1020: "} NETSDK1025: The target manifest {0} provided is of not the correct format - NETSDK1025: Podany manifest docelowy {0} ma niepoprawny format + NETSDK1025: The target manifest {0} provided is of not the correct format {StrBegin="NETSDK1025: "} NETSDK1163: Input assembly '{0}' not found. - NETSDK1163: nie znaleziono zestawu danych wejściowych "{0}". + NETSDK1163: Input assembly '{0}' not found. {StrBegin="NETSDK1163: "} NETSDK1003: Invalid framework name: '{0}'. - NETSDK1003: Nieprawidłowa nazwa platformy: „{0}”. + NETSDK1003: Invalid framework name: '{0}'. {StrBegin="NETSDK1003: "} NETSDK1058: Invalid value for ItemSpecToUse parameter: '{0}'. This property must be blank or set to 'Left' or 'Right' - NETSDK1058: Nieprawidłowa wartość parametru ItemSpecToUse: „{0}”. Ta właściwość musi być pusta lub ustawiona na wartość „Left” albo „Right” + NETSDK1058: Invalid value for ItemSpecToUse parameter: '{0}'. This property must be blank or set to 'Left' or 'Right' {StrBegin="NETSDK1058: "} The following are names of parameters or literal values and should not be translated: ItemSpecToUse, Left, Right NETSDK1018: Invalid NuGet version string: '{0}'. - NETSDK1018: Nieprawidłowy ciąg wersji NuGet: „{0}”. + NETSDK1018: Invalid NuGet version string: '{0}'. {StrBegin="NETSDK1018: "} NETSDK1075: Update handle is invalid. This instance may not be used for further updates. - NETSDK1075: Dojście aktualizacji jest nieprawidłowe. Tego wystąpienia nie można użyć na potrzeby dalszych aktualizacji. + NETSDK1075: Update handle is invalid. This instance may not be used for further updates. {StrBegin="NETSDK1075: "} NETSDK1104: RollForward value '{0}' is invalid. Allowed values are {1}. - NETSDK1104: Wartość RollForward „{0}” jest nieprawidłowa. Dozwolone wartości to {1}. + NETSDK1104: RollForward value '{0}' is invalid. Allowed values are {1}. {StrBegin="NETSDK1104: "} NETSDK1140: {0} is not a valid TargetPlatformVersion for {1}. Valid versions include: {2} - NETSDK1140: {0} nie jest prawidłowym elementem TargetPlatformVersion dla elementu {1}. Prawidłowe wersje są następujące: + NETSDK1140: {0} is not a valid TargetPlatformVersion for {1}. Valid versions include: {2} {StrBegin="NETSDK1140: "} NETSDK1173: The provided type library '{0}' is in an invalid format. - NETSDK1173: podana biblioteka typów "{0}" ma nieprawidłowy format. + NETSDK1173: The provided type library '{0}' is in an invalid format. {StrBegin="NETSDK1173: "} NETSDK1170: The provided type library ID '{0}' for type library '{1}' is invalid. The ID must be a positive integer less than 65536. - NETSDK1170: podany identyfikator biblioteki typów „{0}” dla biblioteki typów „{1}” jest nieprawidłowy. Identyfikator musi być dodatnią liczbą całkowitą mniejszą niż 65536. + NETSDK1170: The provided type library ID '{0}' for type library '{1}' is invalid. The ID must be a positive integer less than 65536. {StrBegin="NETSDK1170: "} NETSDK1157: JIT library '{0}' not found. - NETSDK1157: nie znaleziono biblioteki JIT "{0}". + NETSDK1157: JIT library '{0}' not found. {StrBegin="NETSDK1157: "} NETSDK1061: The project was restored using {0} version {1}, but with current settings, version {2} would be used instead. To resolve this issue, make sure the same settings are used for restore and for subsequent operations such as build or publish. Typically this issue can occur if the RuntimeIdentifier property is set during build or publish but not during restore. For more information, see https://aka.ms/dotnet-runtime-patch-selection. - NETSDK1061: Projekt został przywrócony przy użyciu pakietu {0} w wersji {1}, ale w przypadku bieżących ustawień zamiast niej zostałaby użyta wersja {2}. Aby rozwiązać ten problem, upewnij się, że te same ustawienia są używane do przywracania i dla kolejnych operacji, takich jak kompilacja lub publikowanie. Ten problem zazwyczaj występuje, gdy właściwość RuntimeIdentifier jest ustawiona podczas kompilacji lub publikowania, ale nie podczas przywracania. Aby uzyskać więcej informacji, zobacz https://aka.ms/dotnet-runtime-patch-selection. + NETSDK1061: The project was restored using {0} version {1}, but with current settings, version {2} would be used instead. To resolve this issue, make sure the same settings are used for restore and for subsequent operations such as build or publish. Typically this issue can occur if the RuntimeIdentifier property is set during build or publish but not during restore. For more information, see https://aka.ms/dotnet-runtime-patch-selection. {StrBegin="NETSDK1061: "} {0} - Package Identifier for platform package {1} - Restored version of platform package @@ -577,197 +577,202 @@ The following are names of parameters or literal values and should not be transl NETSDK1008: Missing '{0}' metadata on '{1}' item '{2}'. - NETSDK1008: Brak metadanych „{0}” w elemencie „{1}” „{2}”. + NETSDK1008: Missing '{0}' metadata on '{1}' item '{2}'. {StrBegin="NETSDK1008: "} NETSDK1164: Missing output PDB path in PDB generation mode (OutputPDBImage metadata). - NETSDK1164: brak ścieżki wyjściowej pliku PDB w trybie generowania pliku PDB (metadane OutputPDBImage). + NETSDK1164: Missing output PDB path in PDB generation mode (OutputPDBImage metadata). {StrBegin="NETSDK1164: "} NETSDK1165: Missing output R2R image path (OutputR2RImage metadata). - NETSDK1165: brak ścieżki obrazu wyjściowego R2R (metadane OutputR2RImage). + NETSDK1165: Missing output R2R image path (OutputR2RImage metadata). {StrBegin="NETSDK1165: "} NETSDK1171: An integer ID less than 65536 must be provided for type library '{0}' because more than one type library is specified. - NETSDK1171: dla biblioteki typów "{0}" należy podać identyfikator liczby całkowitej mniejszej niż 65536, ponieważ określono więcej niż jedną bibliotekę typów. + NETSDK1171: An integer ID less than 65536 must be provided for type library '{0}' because more than one type library is specified. {StrBegin="NETSDK1171: "} NETSDK1021: More than one file found for {0} - NETSDK1021: Znaleziono więcej niż jeden plik dla elementu {0} + NETSDK1021: More than one file found for {0} {StrBegin="NETSDK1021: "} NETSDK1069: This project uses a library that targets .NET Standard 1.5 or higher, and the project targets a version of .NET Framework that doesn't have built-in support for that version of .NET Standard. Visit https://aka.ms/net-standard-known-issues for a set of known issues. Consider retargeting to .NET Framework 4.7.2. - NETSDK1069: Projekt korzysta z biblioteki przeznaczonej dla platformy .NET Standard 1.5 lub nowszej, a projekt jest przeznaczony dla wersji programu .NET Framework, która nie ma wbudowanej obsługi tej wersji platformy .NET Standard. Odwiedź witrynę https://aka.ms/net-standard-known-issues, aby zapoznać się z zestawem znanych problemów. Rozważ zmianę elementu docelowego na program .NET Framework 4.7.2. + NETSDK1069: This project uses a library that targets .NET Standard 1.5 or higher, and the project targets a version of .NET Framework that doesn't have built-in support for that version of .NET Standard. Visit https://aka.ms/net-standard-known-issues for a set of known issues. Consider retargeting to .NET Framework 4.7.2. {StrBegin="NETSDK1069: "} NETSDK1115: The current .NET SDK does not support .NET Framework without using .NET SDK Defaults. It is likely due to a mismatch between C++/CLI project CLRSupport property and TargetFramework. - NETSDK1115: Bieżący zestaw .NET SDK nie obsługuje programu .NET Framework bez użycia wartości domyślnych zestawu .NET SDK. Prawdopodobna przyczyna to niezgodność między właściwością CLRSupport projektu C++/CLI i elementu TargetFramework. + NETSDK1115: The current .NET SDK does not support .NET Framework without using .NET SDK Defaults. It is likely due to a mismatch between C++/CLI project CLRSupport property and TargetFramework. {StrBegin="NETSDK1115: "} NETSDK1182: Targeting .NET 6.0 or higher in Visual Studio 2019 is not supported. - NETSDK1182: Platforma docelowa .NET 6.0 lub nowsza w usłudze Visual Studio 2019 nie jest obsługiwana. + NETSDK1182: Targeting .NET 6.0 or higher in Visual Studio 2019 is not supported. {StrBegin="NETSDK1182: "} NETSDK1192: Targeting .NET 7.0 or higher in Visual Studio 2022 17.3 is not supported. - NETSDK1192: Platforma docelowa .NET 7.0 lub nowsza w programie Visual Studio 2022 17.3 nie jest obsługiwana. + NETSDK1192: Targeting .NET 7.0 or higher in Visual Studio 2022 17.3 is not supported. {StrBegin="NETSDK1192: "} NETSDK1084: There is no application host available for the specified RuntimeIdentifier '{0}'. - NETSDK1084: Brak dostępnej aplikacji hosta dla określonego elementu RuntimeIdentifier „{0}”. + NETSDK1084: There is no application host available for the specified RuntimeIdentifier '{0}'. {StrBegin="NETSDK1084: "} NETSDK1085: The 'NoBuild' property was set to true but the 'Build' target was invoked. - NETSDK1085: Właściwość „NoBuild” została ustawiona na wartość true, ale wywołano element docelowy „Build”. + NETSDK1085: The 'NoBuild' property was set to true but the 'Build' target was invoked. {StrBegin="NETSDK1085: "} NETSDK1002: Project '{0}' targets '{2}'. It cannot be referenced by a project that targets '{1}'. - NETSDK1002: Projekt „{0}” ma platformę docelową „{2}”. Nie może on być przywoływany przez projekt z platformą docelową „{1}”. + NETSDK1002: Project '{0}' targets '{2}'. It cannot be referenced by a project that targets '{1}'. {StrBegin="NETSDK1002: "} NETSDK1082: There was no runtime pack for {0} available for the specified RuntimeIdentifier '{1}'. - NETSDK1082: Brak dostępnego pakietu środowiska uruchomieniowego {0} dla określonego elementu RuntimeIdentifier „{1}”. + NETSDK1082: There was no runtime pack for {0} available for the specified RuntimeIdentifier '{1}'. {StrBegin="NETSDK1082: "} NETSDK1132: No runtime pack information was available for {0}. - NETSDK1132: Nie było dostępnych informacji o pakiecie środowiska uruchomieniowego dla elementu {0}. + NETSDK1132: No runtime pack information was available for {0}. {StrBegin="NETSDK1132: "} NETSDK1128: COM hosting does not support self-contained deployments. - NETSDK1128: Hosting COM nie obsługuje samodzielnych wdrożeń. + NETSDK1128: COM hosting does not support self-contained deployments. {StrBegin="NETSDK1128: "} NETSDK1119: C++/CLI projects targeting .NET Core cannot use EnableComHosting=true. - NETSDK1119: Projekty C++/CLI przeznaczone dla platformy .NET Core nie mogą używać elementu EnableComHosting=true. + NETSDK1119: C++/CLI projects targeting .NET Core cannot use EnableComHosting=true. {StrBegin="NETSDK1119: "} NETSDK1116: C++/CLI projects targeting .NET Core must be dynamic libraries. - NETSDK1116: Projekty C++/CLI przeznaczone dla platformy .NET Core muszą być bibliotekami dynamicznymi. + NETSDK1116: C++/CLI projects targeting .NET Core must be dynamic libraries. {StrBegin="NETSDK1116: "} NETSDK1118: C++/CLI projects targeting .NET Core cannot be packed. - NETSDK1118: Nie można spakować projektów C++/CLI przeznaczonych dla platformy .NET Core. + NETSDK1118: C++/CLI projects targeting .NET Core cannot be packed. {StrBegin="NETSDK1118: "} NETSDK1117: Does not support publish of C++/CLI project targeting dotnet core. - NETSDK1117: Brak obsługi publikowania projektu C++/CLI przeznaczonego dla platformy .NET Core. + NETSDK1117: Does not support publish of C++/CLI project targeting dotnet core. {StrBegin="NETSDK1117: "} NETSDK1121: C++/CLI projects targeting .NET Core cannot use SelfContained=true. - NETSDK1121: Projekty C++/CLI przeznaczone dla platformy .NET Core nie mogą używać elementu SelfContained=true. + NETSDK1121: C++/CLI projects targeting .NET Core cannot use SelfContained=true. {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 - NETSDK1151: Projekt „{0}”, do którego istnieje odwołanie, jest samodzielnym plikiem wykonywalnym. Samodzielny plik wykonywalny nie może być przywoływany przez niesamodzielny plik wykonywalny. Aby uzyskać więcej informacji, zobacz: https://aka.ms/netsdk1151 + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 {StrBegin="NETSDK1151: "} NETSDK1162: PDB generation: R2R executable '{0}' not found. - NETSDK1162: generowanie pliku PDB: nie znaleziono pliku wykonywalnego R2R "{0}". + NETSDK1162: PDB generation: R2R executable '{0}' not found. {StrBegin="NETSDK1162: "} NETSDK1053: Pack as tool does not support self contained. - NETSDK1053: Funkcja pakowania jako narzędzie nie obsługuje elementów autonomicznych. + NETSDK1053: Pack as tool does not support self contained. {StrBegin="NETSDK1053: "} NETSDK1146: PackAsTool does not support TargetPlatformIdentifier being set. For example, TargetFramework cannot be net5.0-windows, only net5.0. PackAsTool also does not support UseWPF or UseWindowsForms when targeting .NET 5 and higher. - NETSDK1146: Narzędzie PackAsTool nie obsługuje ustawiania parametru TargetPlatformIdentifier. Na przykład platformą TargetFramework nie może być platforma net5.0-windows, a tylko platforma net5.0. Narzędzie PackAsTool nie obsługuje również parametru UseWPF ani UseWindowsForms, gdy platformą docelową jest platforma .NET 5 lub nowsza. + NETSDK1146: PackAsTool does not support TargetPlatformIdentifier being set. For example, TargetFramework cannot be net5.0-windows, only net5.0. PackAsTool also does not support UseWPF or UseWindowsForms when targeting .NET 5 and higher. {StrBegin="NETSDK1146: "} NETSDK1187: Package {0} {1} has a resource with the locale '{2}'. This locale has been normalized to the standard format '{3}' to prevent casing issues in the build. Consider notifying the package author about this casing issue. - NETSDK1187: Pakiet {0} {1} ma zasób z ustawieniami regionalnymi „{2}”. Te ustawienia regionalne zostały znormalizowane do standardowego formatu „{3}”, aby zapobiec problemom z wielkością liter w kompilacji. Rozważ powiadomienie autora pakietu o tym problemie z wielkością liter. + NETSDK1187: Package {0} {1} has a resource with the locale '{2}'. This locale has been normalized to the standard format '{3}' to prevent casing issues in the build. Consider notifying the package author about this casing issue. Error code is NETSDK1187. 0 is a package name, 1 is a package version, 2 is the incorrect locale string, and 3 is the correct locale string. NETSDK1188: Package {0} {1} has a resource with the locale '{2}'. This locale is not recognized by .NET. Consider notifying the package author that it appears to be using an invalid locale. - NETSDK1188: Pakiet {0} {1} ma zasób z ustawieniami regionalnymi „{2}”. To ustawienie regionalne nie jest rozpoznawane przez platformę .NET. Rozważ powiadomienie autora pakietu, że prawdopodobnie używa on nieprawidłowych ustawień regionalnych. + NETSDK1188: Package {0} {1} has a resource with the locale '{2}'. This locale is not recognized by .NET. Consider notifying the package author that it appears to be using an invalid locale. Error code is NETSDK1188. 0 is a package name, 1 is a package version, and 2 is the incorrect locale string NETSDK1064: Package {0}, version {1} was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions. - NETSDK1064: Nie odnaleziono pakietu {0} w wersji {1}. Mógł on zostać usunięty po przywróceniu pakietu NuGet. W innym przypadku przywrócenie pakietu NuGet mogło zostać ukończone tylko częściowo, co mogło być spowodowane ograniczeniami wynikającymi z maksymalnej długości ścieżki. + NETSDK1064: Package {0}, version {1} was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions. {StrBegin="NETSDK1064: "} NETSDK1023: A PackageReference for '{0}' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see {1} - NETSDK1023: Odwołanie do pakietu dla „{0}” zostało uwzględnione w projekcie. Ten pakiet jest jawnie przywoływany przez zestaw .NET SDK i zwykle nie ma potrzeby tworzenia odwołania do niego z projektu. Aby uzyskać więcej informacji, zobacz {1} + NETSDK1023: A PackageReference for '{0}' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see {1} {StrBegin="NETSDK1023: "} NETSDK1071: A PackageReference to '{0}' specified a Version of `{1}`. Specifying the version of this package is not recommended. For more information, see https://aka.ms/sdkimplicitrefs - NETSDK1071: Odwołanie PackageReference do pakietu „{0}” określiło wersję „{1}”. Określanie wersji tego pakietu nie jest zalecane. Aby uzyskać więcej informacji, zobacz https://aka.ms/sdkimplicitrefs + NETSDK1071: A PackageReference to '{0}' specified a Version of `{1}`. Specifying the version of this package is not recommended. For more information, see https://aka.ms/sdkimplicitrefs {StrBegin="NETSDK1071: "} NETSDK1174: Placeholder - NETSDK1174: symbol zastępczy + NETSDK1174: Placeholder {StrBegin="NETSDK1174: "} - This string is not used here, but is a placeholder for the error code, which is used by the "dotnet run" command. NETSDK1189: Prefer32Bit is not supported and has no effect for netcoreapp target. - NETSDK1189: element Prefer32Bit nie jest obsługiwany i nie ma wpływu na element docelowy netcoreapp. + NETSDK1189: Prefer32Bit is not supported and has no effect for netcoreapp target. {StrBegin="NETSDK1189: "} NETSDK1011: Assets are consumed from project '{0}', but no corresponding MSBuild project path was found in '{1}'. - NETSDK1011: Zasoby są używane z projektu „{0}”, ale w elemencie „{1}” nie odnaleziono odpowiadającej ścieżki projektu MSBuild. + NETSDK1011: Assets are consumed from project '{0}', but no corresponding MSBuild project path was found in '{1}'. {StrBegin="NETSDK1011: "} NETSDK1059: The tool '{0}' is now included in the .NET SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box). - NETSDK1059: Narzędzie „{0}” jest teraz dołączone do zestawu .NET SDK. Informacje dotyczące sposobu rozwiązania problemu wskazanego w ostrzeżeniu można znaleźć na stronie https://aka.ms/dotnetclitools-in-box. + NETSDK1059: The tool '{0}' is now included in the .NET SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box). {StrBegin="NETSDK1059: "} NETSDK1093: Project tools (DotnetCliTool) only support targeting .NET Core 2.2 and lower. - NETSDK1093: Narzędzia projektu (DotnetCliTool) obsługują tylko ukierunkowanie na program .NET Core w wersji 2.2 lub niższej. + NETSDK1093: Project tools (DotnetCliTool) only support targeting .NET Core 2.2 and lower. {StrBegin="NETSDK1093: "} NETSDK1198: A publish profile with the name '{0}' was not found in the project. Set the PublishProfile property to a valid file name. - NETSDK1198: w projekcie nie znaleziono profilu publikowania o nazwie „{0}”. Ustaw prawidłową nazwę pliku dla właściwości PublishProfile. + NETSDK1198: A publish profile with the name '{0}' was not found in the project. Set the PublishProfile property to a valid file name. {StrBegin="NETSDK1198: "} NETSDK1122: ReadyToRun compilation will be skipped because it is only supported for .NET Core 3.0 or higher. - NETSDK1122: Kompilacja ReadyToRun zostanie pominięta, ponieważ jest obsługiwana tylko w przypadku platformy .NET Core 3.0 lub nowszej. + NETSDK1122: ReadyToRun compilation will be skipped because it is only supported for .NET Core 3.0 or higher. {StrBegin="NETSDK1122: "} NETSDK1193: If PublishSelfContained is set, it must be either true or false. The value given was '{0}'. - NETSDK1193: Jeśli właściwość PublishSelfContained jest ustawiona, musi mieć wartość true lub false. Podana wartość to „{0}”. + NETSDK1193: If PublishSelfContained is set, it must be either true or false. The value given was '{0}'. {StrBegin="NETSDK1193: "} NETSDK1123: Publishing an application to a single-file requires .NET Core 3.0 or higher. - NETSDK1123: Publikowanie aplikacji do pojedynczego pliku wymaga platformy .NET Core 3.0 lub nowszej. + NETSDK1123: Publishing an application to a single-file requires .NET Core 3.0 or higher. {StrBegin="NETSDK1123: "} NETSDK1124: Trimming assemblies requires .NET Core 3.0 or higher. - NETSDK1124: Przycinanie zestawów wymaga platformy .NET Core 3.0 lub nowszej. + NETSDK1124: Trimming assemblies requires .NET Core 3.0 or higher. {StrBegin="NETSDK1124: "} @@ -777,37 +782,37 @@ The following are names of parameters or literal values and should not be transl NETSDK1096: Optimizing assemblies for performance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false. - NETSDK1096: Optymalizacja zestawów pod kątem wydajności nie powiodła się. Możesz wykluczyć błędne zestawy z procesu optymalizacji lub ustawić właściwość PublishReadyToRun na wartość false. + NETSDK1096: Optimizing assemblies for performance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false. {StrBegin="NETSDK1096: "} Some ReadyToRun compilations emitted warnings, indicating potential missing dependencies. Missing dependencies could potentially cause runtime failures. To show the warnings, set the PublishReadyToRunShowWarnings property to true. - Niektóre kompilacje ReadyToRun emitowały ostrzeżenia, co wskazuje na potencjalnie brakujące zależności. Brakujące zależności mogą być przyczyną błędów w czasie wykonywania. Aby pokazywać ostrzeżenia, ustaw właściwość PublishReadyToRunShowWarnings na wartość true. + Some ReadyToRun compilations emitted warnings, indicating potential missing dependencies. Missing dependencies could potentially cause runtime failures. To show the warnings, set the PublishReadyToRunShowWarnings property to true. NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. - NETSDK1094: Nie można zoptymalizować zestawów pod kątem wydajności: nie znaleziono prawidłowego pakietu środowiska uruchomieniowego. Ustaw właściwość PublishReadyToRun na wartość false lub użyj obsługiwanego identyfikatora środowiska uruchomieniowego podczas publikowania. W przypadku określania wartości docelowej platformy .NET 6 lub nowszej należy przywrócić pakiety z właściwością PublishReadyToRun ustawioną na wartość true. + NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. {StrBegin="NETSDK1094: "} NETSDK1095: Optimizing assemblies for performance is not supported for the selected target platform or architecture. Please verify you are using a supported runtime identifier, or set the PublishReadyToRun property to false. - NETSDK1095: Optymalizacja zestawów pod kątem wydajności nie jest obsługiwana dla wybranej platformy lub architektury docelowej. Upewnij się, że używasz identyfikatora obsługiwanego środowiska uruchomieniowego, lub ustaw właściwość PublishReadyToRun na wartość false. + NETSDK1095: Optimizing assemblies for performance is not supported for the selected target platform or architecture. Please verify you are using a supported runtime identifier, or set the PublishReadyToRun property to false. {StrBegin="NETSDK1095: "} NETSDK1103: RollForward setting is only supported on .NET Core 3.0 or higher. - NETSDK1103: Ustawienie RollForward jest obsługiwane tylko w programie .NET Core 3.0 lub nowszym. + NETSDK1103: RollForward setting is only supported on .NET Core 3.0 or higher. {StrBegin="NETSDK1103: "} NETSDK1083: The specified RuntimeIdentifier '{0}' is not recognized. - NETSDK1083: Wybrany element RuntimeIdentifier „{0}” nie został rozpoznany. + NETSDK1083: The specified RuntimeIdentifier '{0}' is not recognized. {StrBegin="NETSDK1083: "} NETSDK1028: Specify a RuntimeIdentifier - NETSDK1028: Określ element RuntimeIdentifier + NETSDK1028: Specify a RuntimeIdentifier {StrBegin="NETSDK1028: "} @@ -817,32 +822,32 @@ The following are names of parameters or literal values and should not be transl NETSDK1109: Runtime list file '{0}' was not found. Report this error to the .NET team here: https://aka.ms/dotnet-sdk-issue. - NETSDK1109: Nie odnaleziono pliku listy środowiska uruchomieniowego „{0}”. Zgłoś ten błąd zespołowi platformy .NET tutaj: https://aka.ms/dotnet-sdk-issue. + NETSDK1109: Runtime list file '{0}' was not found. Report this error to the .NET team here: https://aka.ms/dotnet-sdk-issue. {StrBegin="NETSDK1109: "} NETSDK1112: The runtime pack for {0} was not downloaded. Try running a NuGet restore with the RuntimeIdentifier '{1}'. - NETSDK1112: Nie pobrano pakietu wykonawczego dla: {0}. Spróbuj uruchomić przywracanie NuGet z użyciem wartości RuntimeIdentifier „{1}”. + NETSDK1112: The runtime pack for {0} was not downloaded. Try running a NuGet restore with the RuntimeIdentifier '{1}'. {StrBegin="NETSDK1112: "} NETSDK1185: The Runtime Pack for FrameworkReference '{0}' was not available. This may be because DisableTransitiveFrameworkReferenceDownloads was set to true. - NETSDK1185: Pakiet środowiska uruchomieniowego dla elementu FrameworkReference „{0}” był niedostępny. Może to być spowodowane tym, że parametr DisableTransitiveFrameworkReferenceDownloads został ustawiony na wartość true. + NETSDK1185: The Runtime Pack for FrameworkReference '{0}' was not available. This may be because DisableTransitiveFrameworkReferenceDownloads was set to true. {StrBegin="NETSDK1185: "} NETSDK1150: The referenced project '{0}' is a non self-contained executable. A non self-contained executable cannot be referenced by a self-contained executable. For more information, see https://aka.ms/netsdk1150 - NETSDK1150: Projekt „{0}”, do którego istnieje odwołanie, jest niesamodzielnym plikiem wykonywalnym. Niesamodzielny plik wykonywalny nie może być przywoływany przez samodzielny plik wykonywalny. Aby uzyskać więcej informacji, zobacz: https://aka.ms/netsdk1150 + NETSDK1150: The referenced project '{0}' is a non self-contained executable. A non self-contained executable cannot be referenced by a self-contained executable. For more information, see https://aka.ms/netsdk1150 {StrBegin="NETSDK1150: "} NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. - NETSDK1179: Jedna z opcji „--self-contained” lub „--no-self-contained” jest wymagana, gdy jest używany element „--runtime”. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. {StrBegin="NETSDK1179: "}{Locked="--self-contained"}{Locked="--no-self-contained"}{Locked="--runtime"} NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. - NETSDK1048: Dla elementu GenerateRuntimeConfigurationFiles określono ścieżki AdditionalProbingPaths, ale są one pomijane, ponieważ element „RuntimeConfigDevPath” jest pusty. + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. {StrBegin="NETSDK1048: "} @@ -854,107 +859,107 @@ The following are names of parameters or literal values and should not be transl NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy. - NETSDK1138: platforma docelowa „{0}” nie jest już obsługiwana i w przyszłości nie będzie otrzymywać aktualizacji zabezpieczeń. Aby uzyskać więcej informacji na temat zasad pomocy technicznej, zobacz {1}. + NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy. {StrBegin="NETSDK1138: "} NETSDK1046: The TargetFramework value '{0}' is not valid. To multi-target, use the 'TargetFrameworks' property instead. - NETSDK1046: Wartość „{0}” elementu TargetFramework jest nieprawidłowa. Aby obsługiwać wiele środowisk docelowych, użyj zamiast tego właściwości TargetFrameworks. + NETSDK1046: The TargetFramework value '{0}' is not valid. To multi-target, use the 'TargetFrameworks' property instead. {StrBegin="NETSDK1046: "} NETSDK1145: The {0} pack is not installed and NuGet package restore is not supported. Upgrade Visual Studio, remove global.json if it specifies a certain SDK version, and uninstall the newer SDK. For more options visit https://aka.ms/targeting-apphost-pack-missing Pack Type:{0}, Pack directory: {1}, targetframework: {2}, Pack PackageId: {3}, Pack Package Version: {4} - NETSDK1145: Nie zainstalowano pakietu {0}, a przywracanie pakietów NuGet nie jest obsługiwane. Uaktualnij program Visual Studio, usuń plik global.json, jeśli określa konkretną wersję zestawu SDK, i odinstaluj nowszy zestaw SDK. Aby uzyskać więcej opcji, odwiedź stronę https://aka.ms/targeting-apphost-pack-missing Typ pakietu: {0}, katalog pakietu: {1}, platforma docelowa: {2}, identyfikator pakietu: {3}, wersja pakietu: {4} + NETSDK1145: The {0} pack is not installed and NuGet package restore is not supported. Upgrade Visual Studio, remove global.json if it specifies a certain SDK version, and uninstall the newer SDK. For more options visit https://aka.ms/targeting-apphost-pack-missing Pack Type:{0}, Pack directory: {1}, targetframework: {2}, Pack PackageId: {3}, Pack Package Version: {4} {StrBegin="NETSDK1145: "} NETSDK1127: The targeting pack {0} is not installed. Please restore and try again. - NETSDK1127: Pakiet docelowy {0} nie jest zainstalowany. Wykonaj przywrócenie i spróbuj ponownie. + NETSDK1127: The targeting pack {0} is not installed. Please restore and try again. {StrBegin="NETSDK1127: "} NETSDK1184: The Targeting Pack for FrameworkReference '{0}' was not available. This may be because DisableTransitiveFrameworkReferenceDownloads was set to true. - NETSDK1184: Pakiet określania wartości docelowej dla elementu FrameworkReference „{0}” był niedostępny. Może to być spowodowane tym, że parametr DisableTransitiveFrameworkReferenceDownloads został ustawiony na wartość true. + NETSDK1184: The Targeting Pack for FrameworkReference '{0}' was not available. This may be because DisableTransitiveFrameworkReferenceDownloads was set to true. {StrBegin="NETSDK1184: "} NETSDK1175: Windows Forms is not supported or recommended with trimming enabled. Please go to https://aka.ms/dotnet-illink/windows-forms for more details. - NETSDK1175: Aplikacja Windows Forms nie jest obsługiwana lub proponowana z funkcją włączonego przycinania. Aby uzyskać więcej szczegółów, przejdź do: https://aka.ms/dotnet-illink/windows-forms. + NETSDK1175: Windows Forms is not supported or recommended with trimming enabled. Please go to https://aka.ms/dotnet-illink/windows-forms for more details. {StrBegin="NETSDK1175: "} NETSDK1168: WPF is not supported or recommended with trimming enabled. Please go to https://aka.ms/dotnet-illink/wpf for more details. - NETSDK1168: funkcja WPF nie jest obsługiwana lub zalecana z włączonym przycinaniem. Aby uzyskać więcej szczegółów, przejdź do strony https://aka.ms/dotnet-illink/wpf. + NETSDK1168: WPF is not supported or recommended with trimming enabled. Please go to https://aka.ms/dotnet-illink/wpf for more details. {StrBegin="NETSDK1168: "} NETSDK1172: The provided type library '{0}' does not exist. - NETSDK1172: podana biblioteka typów "{0}" nie istnieje. + NETSDK1172: The provided type library '{0}' does not exist. {StrBegin="NETSDK1172: "} NETSDK1016: Unable to find resolved path for '{0}'. - NETSDK1016: Nie można odnaleźć rozpoznanej ścieżki dla elementu „{0}”. + NETSDK1016: Unable to find resolved path for '{0}'. {StrBegin="NETSDK1016: "} Unable to use package assets cache due to I/O error. This can occur when the same project is built more than once in parallel. Performance may be degraded, but the build result will not be impacted. - Nie można użyć pamięci podręcznej zasobów pakietu ze względu na błąd we/wy. Do tej sytuacji może dochodzić, gdy ten sam projekt jest kompilowany więcej niż raz równolegle. Może wystąpić spadek wydajności, ale nie będzie mieć to wpływu na wyniki kompilacji. + Unable to use package assets cache due to I/O error. This can occur when the same project is built more than once in parallel. Performance may be degraded, but the build result will not be impacted. NETSDK1012: Unexpected file type for '{0}'. Type is both '{1}' and '{2}'. - NETSDK1012: Nieoczekiwany typ pliku dla „{0}”. Typ to „{1}” oraz „{2}”. + NETSDK1012: Unexpected file type for '{0}'. Type is both '{1}' and '{2}'. {StrBegin="NETSDK1012: "} NETSDK1073: The FrameworkReference '{0}' was not recognized - NETSDK1073: Nie rozpoznano elementu FrameworkReference „{0}” + NETSDK1073: The FrameworkReference '{0}' was not recognized {StrBegin="NETSDK1073: "} NETSDK1186: This project depends on Maui Essentials through a project or NuGet package reference, but doesn't declare that dependency explicitly. To build this project, you must set the UseMauiEssentials property to true (and install the Maui workload if necessary). - NETSDK1186: Ten projekt zależy od programu Maui Essentials za pomocą projektu lub odwołania do pakietu NuGet, ale nie deklaruje jawnie tej zależności. Aby skompilować ten projekt, należy ustawić właściwość UseMauiEssentials na wartość true (i zainstalować obciążenie Maui w razie potrzeby). + NETSDK1186: This project depends on Maui Essentials through a project or NuGet package reference, but doesn't declare that dependency explicitly. To build this project, you must set the UseMauiEssentials property to true (and install the Maui workload if necessary). {StrBegin="NETSDK1186: "} NETSDK1137: It is no longer necessary to use the Microsoft.NET.Sdk.WindowsDesktop SDK. Consider changing the Sdk attribute of the root Project element to 'Microsoft.NET.Sdk'. - NETSDK1137: Nie trzeba już używać zestawu SDK Microsoft.NET.Sdk.WindowsDesktop. Rozważ zmianę atrybutu Sdk głównego elementu Project na „Microsoft.NET.Sdk”. + NETSDK1137: It is no longer necessary to use the Microsoft.NET.Sdk.WindowsDesktop SDK. Consider changing the Sdk attribute of the root Project element to 'Microsoft.NET.Sdk'. {StrBegin="NETSDK1137: "} NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. - NETSDK1009: Nierozpoznany token preprocesora „{0}” w elemencie „{1}”. + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. {StrBegin="NETSDK1009: "} NETSDK1081: The targeting pack for {0} was not found. You may be able to resolve this by running a NuGet restore on the project. - NETSDK1081: Nie odnaleziono pakietu Targeting Pack dla elementu {0}. Uruchomienie przywracania w rozwiązaniu NuGet w projekcie może rozwiązać ten problem. + NETSDK1081: The targeting pack for {0} was not found. You may be able to resolve this by running a NuGet restore on the project. {StrBegin="NETSDK1081: "} NETSDK1019: {0} is an unsupported framework. - NETSDK1019: {0} to nieobsługiwana platforma. + NETSDK1019: {0} is an unsupported framework. {StrBegin="NETSDK1019: "} NETSDK1056: Project is targeting runtime '{0}' but did not resolve any runtime-specific packages. This runtime may not be supported by the target framework. - NETSDK1056: Projekt jest przeznaczony dla środowiska uruchomieniowego „{0}”, ale nie rozpoznaje żadnych pakietów specyficznych dla tego środowiska. To środowisko uruchomieniowe nie może być obsługiwane przez platformę docelową. + NETSDK1056: Project is targeting runtime '{0}' but did not resolve any runtime-specific packages. This runtime may not be supported by the target framework. {StrBegin="NETSDK1056: "} NETSDK1050: The version of Microsoft.NET.Sdk used by this project is insufficient to support references to libraries targeting .NET Standard 1.5 or higher. Please install version 2.0 or higher of the .NET Core SDK. - NETSDK1050: Używana przez ten projekt wersja zestawu Microsoft.NET.Sdk jest niewystarczająca do zapewnienia obsługi odwołań do bibliotek przeznaczonych dla platformy .NET Standard 1.5 lub nowszych. Zainstaluj zestaw .NET Core SDK w wersji co najmniej 2.0. + NETSDK1050: The version of Microsoft.NET.Sdk used by this project is insufficient to support references to libraries targeting .NET Standard 1.5 or higher. Please install version 2.0 or higher of the .NET Core SDK. {StrBegin="NETSDK1050: "} NETSDK1045: The current .NET SDK does not support targeting {0} {1}. Either target {0} {2} or lower, or use a version of the .NET SDK that supports {0} {1}. - NETSDK1045: Bieżący zestaw .NET SDK nie obsługuje używania środowiska docelowego {0} {1}. Użyj jako środowiska docelowego wersji {0} {2} lub starszej albo użyj wersji zestawu .NET SDK obsługującej środowisko {0} {1}. + NETSDK1045: The current .NET SDK does not support targeting {0} {1}. Either target {0} {2} or lower, or use a version of the .NET SDK that supports {0} {1}. {StrBegin="NETSDK1045: "} NETSDK1139: The target platform identifier {0} was not recognized. - NETSDK1139: nie rozpoznano identyfikatora platformy docelowej {0}. + NETSDK1139: The target platform identifier {0} was not recognized. {StrBegin="NETSDK1139: "} @@ -964,52 +969,52 @@ The following are names of parameters or literal values and should not be transl NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK. - NETSDK1107: Do kompilowania aplikacji klasycznych systemu Windows konieczny jest zestaw Microsoft.NET.Sdk.WindowsDesktop. Właściwości „UseWpf” i „UseWindowsForms” nie są obsługiwane przez bieżący zestaw SDK. + NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK. {StrBegin="NETSDK1107: "} NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy - NETSDK1057: Korzystasz z wersji zapoznawczej platformy .NET. Zobacz: ttps://aka.ms/dotnet-support-policy + NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy NETSDK1131: Producing a managed Windows Metadata component with WinMDExp is not supported when targeting {0}. - NETSDK1131: Generowanie zarządzanego składnika metadanych systemu Windows za pomocą narzędzia WinMDExp nie jest obsługiwane, gdy używany jest element docelowy {0}. + NETSDK1131: Producing a managed Windows Metadata component with WinMDExp is not supported when targeting {0}. {StrBegin="NETSDK1131: "} NETSDK1130: {1} cannot be referenced. Referencing a Windows Metadata component directly when targeting .NET 5 or higher is not supported. For more information, see https://aka.ms/netsdk1130 - NETSDK1130: nie można odwoływać się do {1}. Odwołuje się bezpośrednio do składnika metadanych systemu Windows, jeśli element docelowy .NET 5 lub nowszy nie jest obsługiwany. Aby uzyskać więcej informacji, zobacz https://aka.ms/netsdk1130 + NETSDK1130: {1} cannot be referenced. Referencing a Windows Metadata component directly when targeting .NET 5 or higher is not supported. For more information, see https://aka.ms/netsdk1130 {StrBegin="NETSDK1130: "} NETSDK1149: {0} cannot be referenced because it uses built-in support for WinRT, which is no longer supported in .NET 5 and higher. An updated version of the component supporting .NET 5 is needed. For more information, see https://aka.ms/netsdk1149 - NETSDK1149: nie można odwoływać się do {0}, ponieważ używa on wbudowanej obsługi dla środowiska WinRT, która nie jest już obsługiwana w środowisku .NET 5 lub nowszym. Wymagana jest zaktualizowana wersja składnika obsługującego platformę .NET 5. Aby uzyskać więcej informacji, zobacz https://aka.ms/netsdk1149 + NETSDK1149: {0} cannot be referenced because it uses built-in support for WinRT, which is no longer supported in .NET 5 and higher. An updated version of the component supporting .NET 5 is needed. For more information, see https://aka.ms/netsdk1149 {StrBegin="NETSDK1149: "} NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true' - NETSDK1106: Zestaw Microsoft.NET.Sdk.WindowsDesktop wymaga ustawienia właściwości „UseWpf” lub „UseWindowsForms” na wartość „true” + NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true' {StrBegin="NETSDK1106: "} NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher. - NETSDK1105: Aplikacje klasyczne systemu Windows są obsługiwane tylko w programie .NET Core 3.0 lub nowszym. + NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher. {StrBegin="NETSDK1105: "} NETSDK1100: To build a project targeting Windows on this operating system, set the EnableWindowsTargeting property to true. - NETSDK1100: Aby skompilować projekt przeznaczony dla systemu Windows w tym systemie operacyjnym, ustaw właściwość EnableWindowsTargeting na wartość True. + NETSDK1100: To build a project targeting Windows on this operating system, set the EnableWindowsTargeting property to true. {StrBegin="NETSDK1100: "} NETSDK1136: The target platform must be set to Windows (usually by including '-windows' in the TargetFramework property) when using Windows Forms or WPF, or referencing projects or packages that do so. - NETSDK1136: w przypadku korzystania z modelu Windows Forms lub platformy WPF bądź odwoływania się do projektów lub pakietów, które to robią, platforma docelowa musi być ustawiona na system Windows (zazwyczaj przez dodane parametru „-windows” we właściwości TargetFramework). + NETSDK1136: The target platform must be set to Windows (usually by including '-windows' in the TargetFramework property) when using Windows Forms or WPF, or referencing projects or packages that do so. {StrBegin="NETSDK1136: "} NETSDK1148: A referenced assembly was compiled using a newer version of Microsoft.Windows.SDK.NET.dll. Please update to a newer .NET SDK in order to reference this assembly. - NETSDK1148: Przywoływany zestaw został skompilowany przy użyciu nowszej wersji biblioteki Microsoft.Windows.SDK.NET.dll. Aby odwoływać się do tego zestawu, zaktualizuj do nowszego zestawu .NET SDK. + NETSDK1148: A referenced assembly was compiled using a newer version of Microsoft.Windows.SDK.NET.dll. Please update to a newer .NET SDK in order to reference this assembly. {StrBegin="NETSDK1148: "} @@ -1020,15 +1025,15 @@ The following are names of parameters or literal values and should not be transl NETSDK1178: The project depends on the following workload packs that do not exist in any of the workloads available in this installation: {0} You may need to build the project on another operating system or architecture, or update the .NET SDK. - NETSDK1178: Projekt zależy od następujących pakietów obciążenia, które nie istnieją w żadnym z obciążeń dostępnych w tej instalacji: {0} -Może być konieczne skompilowanie projektu w innym systemie operacyjnym lub architekturze albo zaktualizowanie zestawu .NET SDK. + NETSDK1178: The project depends on the following workload packs that do not exist in any of the workloads available in this installation: {0} +You may need to build the project on another operating system or architecture, or update the .NET SDK. {StrBegin="NETSDK1178: "} NETSDK1147: To build this project, the following workloads must be installed: {0} To install these workloads, run the following command: dotnet workload restore - NETSDK1147: aby utworzyć ten projekt, muszą być zainstalowane następujące pakiety robocze: {0} -Aby zainstalować te pakiety robocze, uruchom następujące polecenie: dotnet workload restore + NETSDK1147: To build this project, the following workloads must be installed: {0} +To install these workloads, run the following command: dotnet workload restore {StrBegin="NETSDK1147: "} LOCALIZATION: Do not localize "dotnet workload restore" diff --git a/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf b/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf index 2e0296893954..78a4b4a428a5 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf @@ -675,6 +675,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1121: os projetos C++/CLI direcionados ao .NET Core não podem usar SelfContained=true. {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 NETSDK1151: O projeto referenciado '{0}' é um executável autossuficiente. Um executável autossuficiente não pode ser referenciado por um executável não autossuficiente. Para mais informações, consulte https://aka.ms/netsdk1151 diff --git a/src/Tasks/Common/Resources/xlf/Strings.ru.xlf b/src/Tasks/Common/Resources/xlf/Strings.ru.xlf index 59c7c6a8ad06..615c1a45e78a 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.ru.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.ru.xlf @@ -675,6 +675,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1121: проекты C++/CLI для .NET Core не могут использовать значение параметра SelfContained=true. {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 NETSDK1151: проект "{0}", на который указывает ссылка, является автономным исполняемым файлом. Неавтономный исполняемый файл не может ссылаться на автономный исполняемый файл. Дополнительные сведения см. на странице https://aka.ms/netsdk1151 diff --git a/src/Tasks/Common/Resources/xlf/Strings.tr.xlf b/src/Tasks/Common/Resources/xlf/Strings.tr.xlf index da2a29f7e380..d98563b352ee 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.tr.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.tr.xlf @@ -675,6 +675,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1121: .NET Core'u hedefleyen C++/CLI projelerinde SelfContained=true kullanılamaz. {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 NETSDK1151: Başvurulan '{0}' projesi bağımsız bir yürütülebilir dosyadır. Bağımsız bir yürütülebilir dosyaya, bağımsız olmayan bir yürütülebilir dosya tarafından başvurulamaz. Daha fazla bilgi için bkz. https://aka.ms/netsdk1151 diff --git a/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf b/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf index 50fdbe87f002..bd09b60a0e8f 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf @@ -675,6 +675,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1121: 面向 .NET Core 的 C++/CLI 项目不能使用 SelfContained=true。 {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 NETSDK1151: 引用的项目“{0}”是自包含的可执行文件。自包含可执行文件不能由非自包含可执行文件引用。如需获取更多信息,请访问 https://aka.ms/netsdk1151 diff --git a/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf b/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf index 652c683b2b0f..dd6f2da249fe 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf @@ -675,6 +675,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1121: 以 .NET Core 為目標的 C++/CLI 專案無法使用 SelfContained=true。 {StrBegin="NETSDK1121: "} + + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + NETSDK1205: Found version-specific or distribution-specific runtime identifier(s): {0}. Affected libraries: {1}. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details. + {StrBegin="NETSDK1205: "} + NETSDK1151: The referenced project '{0}' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 NETSDK1151: 參照的專案 '{0}' 是獨立式可執行檔。非獨立式可執行檔無法參照獨立式可執行檔。如需詳細資料,請參閱 https://aka.ms/netsdk1151 diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/GenerateDepsFile.cs b/src/Tasks/Microsoft.NET.Build.Tasks/GenerateDepsFile.cs index e68e6133f465..7191afe2bc36 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/GenerateDepsFile.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/GenerateDepsFile.cs @@ -13,6 +13,7 @@ using System.Diagnostics; using System.IO; using System.Linq; +using System.Runtime.InteropServices; namespace Microsoft.NET.Build.Tasks { @@ -96,6 +97,10 @@ public class GenerateDepsFile : TaskWithAssemblyResolveHooks public bool IncludeProjectsNotInAssetsFile { get; set; } + // List of runtime identifer (platform part only) to validate for runtime assets + // If set, the task will warn on any RIDs that aren't in the list + public string[] ValidRuntimeIdentifierPlatformsForAssets { get; set; } + [Required] public string RuntimeGraphPath { get; set; } @@ -255,6 +260,42 @@ bool ShouldIncludeRuntimeAsset(ITaskItem item) writer.Write(dependencyContext, fileStream); } _filesWritten.Add(new TaskItem(depsFilePath)); + + if (ValidRuntimeIdentifierPlatformsForAssets != null) + { + var affectedLibs = new List(); + var affectedRids = new List(); + foreach (var lib in dependencyContext.RuntimeLibraries) + { + var warnOnRids = lib.RuntimeAssemblyGroups.Select(g => g.Runtime).Where(ShouldWarnOnRuntimeIdentifer) + .Concat(lib.NativeLibraryGroups.Select(g => g.Runtime).Where(ShouldWarnOnRuntimeIdentifer)); + if (warnOnRids.Any()) + { + affectedLibs.Add(lib.Name); + affectedRids.AddRange(warnOnRids); + } + } + + if (affectedRids.Count > 0) + { + affectedLibs.Sort(); + affectedRids.Sort(); + Log.LogWarning(Strings.NonPortableRuntimeIdentifierDetected, string.Join(", ", affectedRids.Distinct()), string.Join(", ", affectedLibs.Distinct())); + } + } + } + + private bool ShouldWarnOnRuntimeIdentifer(string runtimeIdentifier) + { + if (string.IsNullOrEmpty(runtimeIdentifier)) + return false; + + int separator = runtimeIdentifier.LastIndexOf('-'); + string platform = separator < 0 + ? runtimeIdentifier + : runtimeIdentifier.Substring(0, separator); + + return Array.IndexOf(ValidRuntimeIdentifierPlatformsForAssets, platform.ToLowerInvariant()) == -1; } protected override void ExecuteCore() diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets index 17a726f30721..86c907737f46 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets @@ -250,6 +250,13 @@ Copyright (c) .NET Foundation. All rights reserved. + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="any;freebsd;illumos;linux;linux-bionic;linux-musl;osx;solaris;unix;win" /> + <_ValidRuntimeIdentifierPlatformsForAssets Include="android;aot;browser;ios;iossimulator;maccatalyst;tvos;tvossimulator" /> + + - + IncludeProjectsNotInAssetsFile="$(IncludeProjectsNotInAssetsFileInDepsFile)" + ValidRuntimeIdentifierPlatformsForAssets="@(_ValidRuntimeIdentifierPlatformsForAssets)"/> diff --git a/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs b/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs index 589ceddc2605..53f9a4771d7d 100644 --- a/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs +++ b/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs @@ -925,5 +925,95 @@ public void It_builds_the_project_successfully_with_only_reference_assembly_set( .BeTrue(); } } + + [Theory] + // Non-portable RID should warn + [InlineData(ToolsetInfo.CurrentTargetFramework, new[] { "ubuntu.22.04-x64" }, true, true, null, true)] + [InlineData(ToolsetInfo.CurrentTargetFramework, new[] { "ubuntu.22.04-x64" }, true, false, null, true)] + [InlineData(ToolsetInfo.CurrentTargetFramework, new[] { "ubuntu.22.04-x64" }, false, true, null, true)] + // Non-portable and portable RIDs should warn + [InlineData(ToolsetInfo.CurrentTargetFramework, new[] { "ubuntu.22.04-x64", "win7-x86", "unix" }, true, true, null, true)] + // Portable RIDs only should not warn + [InlineData(ToolsetInfo.CurrentTargetFramework, new[] { "win-x86", "linux", "linux-musl-x64", "osx-arm64", "unix" }, true, true, null, false)] + // No RID assets should not warn + [InlineData(ToolsetInfo.CurrentTargetFramework, new string[] { }, false, false, null, false)] + // Below .NET 8 should not warn + [InlineData("net7.0", new string[] { "ubuntu.22.04-x64", "win7-x86" }, true, true, null, false)] + // Explicitly set to use RID graph should not warn + [InlineData(ToolsetInfo.CurrentTargetFramework, new[] { "alpine-x64" }, true, true, true, false)] + // Explicitly set to not use RID graph should warn + [InlineData(ToolsetInfo.CurrentTargetFramework, new[] { "alpine-x64" }, true, true, false, true)] + public void It_warns_on_nonportable_rids(string targetFramework, string[] rids, bool addLibAssets, bool addNativeAssets, bool? useRidGraph, bool shouldWarn) + { + var packageProject = new TestProject() + { + Name = "WithRidAssets", + TargetFrameworks = targetFramework, + }; + + // Add assets for each RID. The test just needs the asset to exist, so it can just copy same output assembly. + foreach (string rid in rids) + { + if (addLibAssets) + { + packageProject.AddItem("None", + new Dictionary() + { + { "Include", $"$(TargetPath)" }, + { "Pack", "true" }, + { "PackagePath", $@"runtimes\{rid}\lib\$(TargetFramework)" } + }); + } + + if (addNativeAssets) + { + packageProject.AddItem("None", + new Dictionary() + { + { "Include", $"$(TargetPath)" }, + { "Pack", "true" }, + { "PackagePath", $@"runtimes\{rid}\native" } + }); + } + } + + var packCommand = new PackCommand(_testAssetsManager.CreateTestProject(packageProject)); + packCommand.Execute().Should().Pass(); + var package = new TestPackageReference(packageProject.Name, "1.0.0", packCommand.GetNuGetPackage()); + + var testProject = new TestProject() + { + Name = "NonPortableRid", + TargetFrameworks = targetFramework, + IsExe = true + }; + + testProject.PackageReferences.Add(package); + testProject.AdditionalProperties.Add("RestoreAdditionalProjectSources", Path.GetDirectoryName(package.NupkgPath)); + if (useRidGraph.HasValue) + { + testProject.AddItem("RuntimeHostConfigurationOption", + new Dictionary() + { + { "Include", "System.Runtime.Loader.UseRidGraph" }, + { "Value", useRidGraph.Value.ToString() }, + }); + } + + var testAsset = _testAssetsManager.CreateTestProject(testProject); + var result = new BuildCommand(testAsset) + .WithEnvironmentVariable("NUGET_PACKAGES", Path.Combine(testAsset.TestRoot, "packages")) + .Execute(); + + result.Should().Pass(); + if (shouldWarn) + { + result.Should().HaveStdOutMatching($"NETSDK1205.*{package.ID}"); + } + else + { + result.Should().NotHaveStdOutContaining("NETSDK1205"); + } + } } } From b24270c37e3ca2eb4c56b8e8f0f9c9abb3924367 Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Thu, 1 Jun 2023 14:23:54 -0700 Subject: [PATCH 2/8] Delete test asset directory --- .../GivenThatWeWantToBuildANetCoreApp.cs | 74 ++++++++++++------- 1 file changed, 46 insertions(+), 28 deletions(-) diff --git a/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs b/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs index 53f9a4771d7d..000219f3da3e 100644 --- a/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs +++ b/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs @@ -977,42 +977,60 @@ public void It_warns_on_nonportable_rids(string targetFramework, string[] rids, } } - var packCommand = new PackCommand(_testAssetsManager.CreateTestProject(packageProject)); - packCommand.Execute().Should().Pass(); - var package = new TestPackageReference(packageProject.Name, "1.0.0", packCommand.GetNuGetPackage()); - - var testProject = new TestProject() + TestAsset packageAsset = null; + TestAsset testAsset = null; + try { - Name = "NonPortableRid", - TargetFrameworks = targetFramework, - IsExe = true - }; + packageAsset = _testAssetsManager.CreateTestProject(packageProject); + var packCommand = new PackCommand(packageAsset); + packCommand.Execute().Should().Pass(); + var package = new TestPackageReference(packageProject.Name, "1.0.0", packCommand.GetNuGetPackage()); - testProject.PackageReferences.Add(package); - testProject.AdditionalProperties.Add("RestoreAdditionalProjectSources", Path.GetDirectoryName(package.NupkgPath)); - if (useRidGraph.HasValue) - { - testProject.AddItem("RuntimeHostConfigurationOption", - new Dictionary() - { + var testProject = new TestProject() + { + Name = "NonPortableRid", + TargetFrameworks = targetFramework, + IsExe = true + }; + + testProject.PackageReferences.Add(package); + testProject.AdditionalProperties.Add("RestoreAdditionalProjectSources", Path.GetDirectoryName(package.NupkgPath)); + if (useRidGraph.HasValue) + { + testProject.AddItem("RuntimeHostConfigurationOption", + new Dictionary() + { { "Include", "System.Runtime.Loader.UseRidGraph" }, { "Value", useRidGraph.Value.ToString() }, - }); - } + }); + } - var testAsset = _testAssetsManager.CreateTestProject(testProject); - var result = new BuildCommand(testAsset) - .WithEnvironmentVariable("NUGET_PACKAGES", Path.Combine(testAsset.TestRoot, "packages")) - .Execute(); + testAsset = _testAssetsManager.CreateTestProject(testProject); + var result = new BuildCommand(testAsset) + .WithEnvironmentVariable("NUGET_PACKAGES", Path.Combine(testAsset.TestRoot, "packages")) + .Execute(); - result.Should().Pass(); - if (shouldWarn) - { - result.Should().HaveStdOutMatching($"NETSDK1205.*{package.ID}"); + result.Should().Pass(); + if (shouldWarn) + { + result.Should().HaveStdOutMatching($"NETSDK1205.*{package.ID}"); + } + else + { + result.Should().NotHaveStdOutContaining("NETSDK1205"); + } } - else + finally { - result.Should().NotHaveStdOutContaining("NETSDK1205"); + if (packageAsset != null && Directory.Exists(packageAsset.Path)) + { + Directory.Delete(packageAsset.Path, true); + } + + if (testAsset != null && Directory.Exists(testAsset.Path)) + { + Directory.Delete(testAsset.Path, true); + } } } } From f3fe5306691f1bdf5ba99e598da63c81cd9d8759 Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Thu, 1 Jun 2023 14:54:40 -0700 Subject: [PATCH 3/8] Use identifer when creating test assets --- .../GivenThatWeWantToBuildANetCoreApp.cs | 81 ++++++++----------- 1 file changed, 33 insertions(+), 48 deletions(-) diff --git a/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs b/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs index 000219f3da3e..a8931d1a43a0 100644 --- a/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs +++ b/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs @@ -977,60 +977,45 @@ public void It_warns_on_nonportable_rids(string targetFramework, string[] rids, } } - TestAsset packageAsset = null; - TestAsset testAsset = null; - try + // Identifer based on test inputs to create test assets that are unique for each test case + string assetIdentifier = $"{targetFramework}{string.Join(null, rids)}{addLibAssets}{addNativeAssets}{useRidGraph}{shouldWarn}"; + + var packCommand = new PackCommand(_testAssetsManager.CreateTestProject(packageProject, assetIdentifier)); + packCommand.Execute().Should().Pass(); + var package = new TestPackageReference(packageProject.Name, "1.0.0", packCommand.GetNuGetPackage()); + + var testProject = new TestProject() { - packageAsset = _testAssetsManager.CreateTestProject(packageProject); - var packCommand = new PackCommand(packageAsset); - packCommand.Execute().Should().Pass(); - var package = new TestPackageReference(packageProject.Name, "1.0.0", packCommand.GetNuGetPackage()); + Name = "NonPortableRid", + TargetFrameworks = targetFramework, + IsExe = true + }; - var testProject = new TestProject() - { - Name = "NonPortableRid", - TargetFrameworks = targetFramework, - IsExe = true - }; - - testProject.PackageReferences.Add(package); - testProject.AdditionalProperties.Add("RestoreAdditionalProjectSources", Path.GetDirectoryName(package.NupkgPath)); - if (useRidGraph.HasValue) - { - testProject.AddItem("RuntimeHostConfigurationOption", - new Dictionary() - { - { "Include", "System.Runtime.Loader.UseRidGraph" }, - { "Value", useRidGraph.Value.ToString() }, - }); - } + testProject.PackageReferences.Add(package); + testProject.AdditionalProperties.Add("RestoreAdditionalProjectSources", Path.GetDirectoryName(package.NupkgPath)); + if (useRidGraph.HasValue) + { + testProject.AddItem("RuntimeHostConfigurationOption", + new Dictionary() + { + { "Include", "System.Runtime.Loader.UseRidGraph" }, + { "Value", useRidGraph.Value.ToString() }, + }); + } - testAsset = _testAssetsManager.CreateTestProject(testProject); - var result = new BuildCommand(testAsset) - .WithEnvironmentVariable("NUGET_PACKAGES", Path.Combine(testAsset.TestRoot, "packages")) - .Execute(); + TestAsset testAsset = _testAssetsManager.CreateTestProject(testProject, assetIdentifier); + var result = new BuildCommand(testAsset) + .WithEnvironmentVariable("NUGET_PACKAGES", Path.Combine(testAsset.TestRoot, "packages")) + .Execute(); - result.Should().Pass(); - if (shouldWarn) - { - result.Should().HaveStdOutMatching($"NETSDK1205.*{package.ID}"); - } - else - { - result.Should().NotHaveStdOutContaining("NETSDK1205"); - } + result.Should().Pass(); + if (shouldWarn) + { + result.Should().HaveStdOutMatching($"NETSDK1205.*{package.ID}"); } - finally + else { - if (packageAsset != null && Directory.Exists(packageAsset.Path)) - { - Directory.Delete(packageAsset.Path, true); - } - - if (testAsset != null && Directory.Exists(testAsset.Path)) - { - Directory.Delete(testAsset.Path, true); - } + result.Should().NotHaveStdOutContaining("NETSDK1205"); } } } From 5c84bf4b6a9b76e93cbeae4a59308b2a5bc4dad8 Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Fri, 2 Jun 2023 20:31:13 -0700 Subject: [PATCH 4/8] Switch to expecting RID platform values to exist via BundledVersions props --- .../targets/Microsoft.NET.Sdk.targets | 5 ++--- .../GivenThatWeWantToBuildANetCoreApp.cs | 22 ++++++++++++++----- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets index 86c907737f46..ec5a219b6626 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets @@ -251,10 +251,9 @@ Copyright (c) .NET Foundation. All rights reserved. - WithMetadataValue('Identity', 'System.Runtime.Loader.UseRidGraph')->WithMetadataValue('Value', 'true')->Count()) == 0"> - <_ValidRuntimeIdentifierPlatformsForAssets Include="any;freebsd;illumos;linux;linux-bionic;linux-musl;osx;solaris;unix;win" /> - <_ValidRuntimeIdentifierPlatformsForAssets Include="android;aot;browser;ios;iossimulator;maccatalyst;tvos;tvossimulator" /> + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> () + { + { "Include", "linux;linux-musl;osx;unix;win" }, + { "Condition", "'@(_KnownRuntimeIdentiferPlatforms)'==''" } + }); + if (useRidGraph.HasValue) { testProject.AddItem("RuntimeHostConfigurationOption", @@ -1004,10 +1017,7 @@ public void It_warns_on_nonportable_rids(string targetFramework, string[] rids, } TestAsset testAsset = _testAssetsManager.CreateTestProject(testProject, assetIdentifier); - var result = new BuildCommand(testAsset) - .WithEnvironmentVariable("NUGET_PACKAGES", Path.Combine(testAsset.TestRoot, "packages")) - .Execute(); - + var result = new BuildCommand(testAsset).Execute(); result.Should().Pass(); if (shouldWarn) { From abab0795c13e91d0f85c3d22ba49328a7f52c498 Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Thu, 8 Jun 2023 15:54:53 -0700 Subject: [PATCH 5/8] Make ProcessFrameworkReferences output KnownRuntimeIdentifierPlatforms --- .../ProcessFrameworkReferences.cs | 17 +++++++++++++++++ ...NET.Sdk.FrameworkReferenceResolution.targets | 3 ++- .../targets/Microsoft.NET.Sdk.targets | 3 +++ .../GivenThatWeWantToBuildANetCoreApp.cs | 2 +- 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs b/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs index 02d50f672f2f..3d4f168472b4 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs @@ -121,6 +121,9 @@ public class ProcessFrameworkReferences : TaskBase [Output] public ITaskItem[] UnavailableRuntimePacks { get; set; } + [Output] + public string[] KnownRuntimeIdentifierPlatforms { get; set; } + private Version _normalizedTargetFrameworkVersion; protected override void ExecuteCore() @@ -162,6 +165,7 @@ protected override void ExecuteCore() List runtimePacks = new List(); List unavailableRuntimePacks = new List(); + HashSet knownRuntimeIdentifierPlatforms = new HashSet(StringComparer.OrdinalIgnoreCase); HashSet unrecognizedRuntimeIdentifiers = new HashSet(StringComparer.OrdinalIgnoreCase); bool windowsOnlyErrorLogged = false; @@ -202,6 +206,14 @@ protected override void ExecuteCore() string runtimePackName = runtimePackNamePattern.Replace("**RID**", runtimeIdentifier); preferredPackages.Add(runtimePackName); } + + // Update the known runtime identifier platforms based on the selected Microsoft.NETCore.App pack + if (selectedRuntimePack?.Name == "Microsoft.NETCore.App") + { + int separator = runtimeIdentifier.LastIndexOf('-'); + string platform = separator < 0 ? runtimeIdentifier : runtimeIdentifier.Substring(0, separator); + knownRuntimeIdentifierPlatforms.Add(platform); + } } } @@ -437,6 +449,11 @@ var runtimeRequiredByDeployment { ImplicitPackageReferences = implicitPackageReferences.ToArray(); } + + if (knownRuntimeIdentifierPlatforms.Count > 0) + { + KnownRuntimeIdentifierPlatforms = knownRuntimeIdentifierPlatforms.ToArray(); + } } private bool KnownFrameworkReferenceAppliesToTargetFramework(NuGetFramework knownFrameworkReferenceTargetFramework) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets index d4a5897a1744..2325e4ff503f 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets @@ -1,4 +1,4 @@ - + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)"/> () { - { "Include", "linux;linux-musl;osx;unix;win" }, + { "Include", "unix" }, { "Condition", "'@(_KnownRuntimeIdentiferPlatforms)'==''" } }); From 6c43d1f1cc36a3928599216cd4439db54a807ffa Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Fri, 9 Jun 2023 11:55:02 -0700 Subject: [PATCH 6/8] Apply suggestions from code review Co-authored-by: Daniel Plaisted --- .../Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs | 2 +- .../GivenThatWeWantToBuildANetCoreApp.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs b/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs index 3d4f168472b4..ee2c2b814ab2 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs @@ -208,7 +208,7 @@ protected override void ExecuteCore() } // Update the known runtime identifier platforms based on the selected Microsoft.NETCore.App pack - if (selectedRuntimePack?.Name == "Microsoft.NETCore.App") + if (selectedRuntimePack?.Name?.Equals("Microsoft.NETCore.App", StringComparison.InvariantIgnoreCase)) { int separator = runtimeIdentifier.LastIndexOf('-'); string platform = separator < 0 ? runtimeIdentifier : runtimeIdentifier.Substring(0, separator); diff --git a/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs b/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs index fca42769fc4c..96f09a53b2fe 100644 --- a/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs +++ b/src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildANetCoreApp.cs @@ -979,7 +979,7 @@ public void It_warns_on_nonportable_rids(string targetFramework, string[] rids, } // Identifer based on test inputs to create test assets that are unique for each test case - string assetIdentifier = $"{nameof(It_warns_on_nonportable_rids)}{targetFramework}{string.Join(null, rids)}{addLibAssets}{addNativeAssets}{useRidGraph}{shouldWarn}"; + string assetIdentifier = $"{targetFramework}{string.Join(null, rids)}{addLibAssets}{addNativeAssets}{useRidGraph}{shouldWarn}"; var packCommand = new PackCommand(_testAssetsManager.CreateTestProject(packageProject, assetIdentifier)); packCommand.Execute().Should().Pass(); From 5e419e74a6c8d1582e0f2f8941a94422628f35b9 Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Fri, 9 Jun 2023 12:06:26 -0700 Subject: [PATCH 7/8] Update src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs --- .../Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs b/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs index ee2c2b814ab2..f771edd4c972 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs @@ -208,7 +208,7 @@ protected override void ExecuteCore() } // Update the known runtime identifier platforms based on the selected Microsoft.NETCore.App pack - if (selectedRuntimePack?.Name?.Equals("Microsoft.NETCore.App", StringComparison.InvariantIgnoreCase)) + if (selectedRuntimePack?.Name?.Equals("Microsoft.NETCore.App", StringComparison.OrdinalIgnoreCase)) { int separator = runtimeIdentifier.LastIndexOf('-'); string platform = separator < 0 ? runtimeIdentifier : runtimeIdentifier.Substring(0, separator); From 2f1d0068f6237d2300aa0b18590a1be089ed1f91 Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Fri, 9 Jun 2023 13:09:28 -0700 Subject: [PATCH 8/8] Fix nullable --- .../Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs b/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs index f771edd4c972..73633c789b3a 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/ProcessFrameworkReferences.cs @@ -208,7 +208,7 @@ protected override void ExecuteCore() } // Update the known runtime identifier platforms based on the selected Microsoft.NETCore.App pack - if (selectedRuntimePack?.Name?.Equals("Microsoft.NETCore.App", StringComparison.OrdinalIgnoreCase)) + if (selectedRuntimePack.Value.Name.Equals("Microsoft.NETCore.App", StringComparison.OrdinalIgnoreCase)) { int separator = runtimeIdentifier.LastIndexOf('-'); string platform = separator < 0 ? runtimeIdentifier : runtimeIdentifier.Substring(0, separator);