diff --git a/src/Tasks/Common/Resources/Strings.resx b/src/Tasks/Common/Resources/Strings.resx index 1aac8959455b..f851db935674 100644 --- a/src/Tasks/Common/Resources/Strings.resx +++ b/src/Tasks/Common/Resources/Strings.resx @@ -409,4 +409,8 @@ The following are names of parameters or literal values and should not be transl NETSDK1072: Unable to use '{0}' as application host executable because it's not a Windows executable for the CUI (Console) subsystem. {StrBegin="NETSDK1072: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + \ No newline at end of file diff --git a/src/Tasks/Common/Resources/xlf/Strings.cs.xlf b/src/Tasks/Common/Resources/xlf/Strings.cs.xlf index 12611cc460d1..c53f7bc2ddf5 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.cs.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.cs.xlf @@ -77,6 +77,11 @@ NETSDK1008: Chybí metadata {0} o {1} položky {2}. {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009: Nerozpoznaný token preprocesoru {0} v {1}. diff --git a/src/Tasks/Common/Resources/xlf/Strings.de.xlf b/src/Tasks/Common/Resources/xlf/Strings.de.xlf index 5cbd689c6a63..f60c3a740ff9 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.de.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.de.xlf @@ -77,6 +77,11 @@ NETSDK1008: Die Metadaten "{0}" für das Element "{2}" vom Typ "{1}" sind nicht vorhanden. {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009: Unbekanntes Präprozessortoken "{0}" in "{1}". diff --git a/src/Tasks/Common/Resources/xlf/Strings.es.xlf b/src/Tasks/Common/Resources/xlf/Strings.es.xlf index 583bc3f08d66..6b7b3091e93d 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.es.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.es.xlf @@ -77,6 +77,11 @@ NETSDK1008: Faltan los metadatos de "{0}" en el elemento de "{1}" "{2}". {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009: Token de preprocesador no reconocido "{0}" en "{1}". diff --git a/src/Tasks/Common/Resources/xlf/Strings.fr.xlf b/src/Tasks/Common/Resources/xlf/Strings.fr.xlf index d5611d9bc7fe..976ce231e9d6 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.fr.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.fr.xlf @@ -77,6 +77,11 @@ NETSDK1008: Métadonnées '{0}' manquantes sur l'élément '{1}' '{2}'. {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009: Jeton de préprocesseur '{0}' non reconnu dans '{1}'. diff --git a/src/Tasks/Common/Resources/xlf/Strings.it.xlf b/src/Tasks/Common/Resources/xlf/Strings.it.xlf index ca81dc2cb52e..043627726d66 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.it.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.it.xlf @@ -77,6 +77,11 @@ NETSDK1008: mancano i metadati di '{0}' sull'elemento '{2}' di '{1}'. {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009: token di preprocessore '{0}' non riconosciuto in '{1}'. diff --git a/src/Tasks/Common/Resources/xlf/Strings.ja.xlf b/src/Tasks/Common/Resources/xlf/Strings.ja.xlf index fd99520d3599..1b99a08d5bb2 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.ja.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.ja.xlf @@ -77,6 +77,11 @@ NETSDK1008: '{1}' 項目 '{2}' の '{0}' メタデータがありません。 {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009: 認識されないプリプロセッサ トークン '{0}' が '{1}' に存在します。 diff --git a/src/Tasks/Common/Resources/xlf/Strings.ko.xlf b/src/Tasks/Common/Resources/xlf/Strings.ko.xlf index 2b20a0640cc5..255e54db985b 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.ko.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.ko.xlf @@ -77,6 +77,11 @@ NETSDK1008: '{1}' 항목 '{2}'에 '{0}' 메타데이터가 없습니다. {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009: '{1}'에서 전처리기 토큰 '{0}'을(를) 인식할 수 없습니다. diff --git a/src/Tasks/Common/Resources/xlf/Strings.pl.xlf b/src/Tasks/Common/Resources/xlf/Strings.pl.xlf index 00ea5fba0539..1da76bd4beb7 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.pl.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.pl.xlf @@ -77,6 +77,11 @@ NETSDK1008: Brak metadanych „{0}” w elemencie „{1}” „{2}”. {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009: Nierozpoznany token preprocesora „{0}” w elemencie „{1}”. diff --git a/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf b/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf index 4d1857046a33..340b005013cc 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf @@ -77,6 +77,11 @@ NETSDK1008: Metadados '{0}' ausentes no item '{1}' '{2}'. {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009: Token de pré-processador não reconhecido '{0}' em '{1}'. diff --git a/src/Tasks/Common/Resources/xlf/Strings.ru.xlf b/src/Tasks/Common/Resources/xlf/Strings.ru.xlf index d80c3ba7a022..e5aba5589f8c 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.ru.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.ru.xlf @@ -77,6 +77,11 @@ NETSDK1008: отсутствуют метаданные "{0}" для элемента "{2}" в "{1}". {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009: не распознан маркер препроцессора "{0}" в "{1}". diff --git a/src/Tasks/Common/Resources/xlf/Strings.tr.xlf b/src/Tasks/Common/Resources/xlf/Strings.tr.xlf index 7aca7f697b62..b09017e30fc5 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.tr.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.tr.xlf @@ -1,7 +1,17 @@ - + + + NETSDK1070: The application configuration file must have root configuration element. + NETSDK1070: The application configuration file must have root configuration element. + {StrBegin="NETSDK1070: "} + + + 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: 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: "} + NETSDK1071: Unable to use '{0}' as application host executable because it's not a Windows PE file. NETSDK1071: Unable to use '{0}' as application host executable because it's not a Windows PE file. @@ -12,359 +22,354 @@ NETSDK1072: Unable to use '{0}' as application host executable because it's not a Windows executable for the CUI (Console) subsystem. {StrBegin="NETSDK1072: "} - - NETSDK1070: The application configuration file must have root configuration element. - NETSDK1070: The application configuration file must have root configuration element. - {StrBegin="NETSDK1070: "} - - - NETSDK1001: At least one possible target framework must be specified. - NETSDK1001: En az bir olası hedef çerçeve belirtilmelidir. - {StrBegin="NETSDK1001: "} - - - NETSDK1066: A RuntimeIdentifier must be specified to publish a framework-dependent application with an application host. - NETSDK1066: Bir uygulama konağı ile çerçeveye bağımlı bir uygulamanın yayımlanması için bir RuntimeIdentifier belirtilmelidir. - {StrBegin="NETSDK1066: "} - - - NETSDK1067: Self-contained applications are required to use the application host. Either set SelfContained to false or set UseAppHost to true. - NETSDK1067: Kendi başına kapsanan uygulamaların uygulama konağını kullanması gerekir. SelfContained değerini false olarak ya da UseAppHost değerini true olarak ayarlayın. - {StrBegin="NETSDK1067: "} - - - NETSDK1068: The framework-dependent application host requires a target framework of at least 'netcoreapp2.1'. - NETSDK1068: Çerçeveye bağımlı uygulama konağı, en az 'netcoreapp2.1' sürümünde bir hedef çerçeve gerektirir. - {StrBegin="NETSDK1068: "} - - - 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: Bu proje, .NET Standard 1.5 veya üzerini hedefleyen bir kitaplık kullanıyor ve proje .NET Framework’ün bu .NET Standard sürümü için yerleşik destek sunmayan bir sürümünü hedefliyor. Bilinen sorunları görmek için https://aka.ms/net-standard-known-issues adresini ziyaret edin. Hedeflenen sürümü .NET Framework 4.7.2 olarak değiştirmeyi göz önünde bulundurun. - {StrBegin="NETSDK1069: "} + + NETSDK1017: Asset preprocessor must be configured before assets are processed. + NETSDK1017: Asset preprocessor must be configured before assets are processed. + {StrBegin="NETSDK1017: "} - - NETSDK1002: Project '{0}' targets '{2}'. It cannot be referenced by a project that targets '{1}'. - NETSDK1002: '{0}' projesi, '{2}' çerçevesini hedefliyor. Bu projeye '{1}' çerçevesini hedefleyen bir proje tarafından başvurulamaz. - {StrBegin="NETSDK1002: "} + + 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: 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: "} - - NETSDK1003: Invalid framework name: '{0}'. - NETSDK1003: Geçersiz çerçeve adı: '{0}'. - {StrBegin="NETSDK1003: "} + + 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: 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: '{0}' varlık dosyası bulunamadı. Bu dosyayı oluşturmak için, NuGet paketi geri yükleme işlemi gerçekleştirin. + NETSDK1004: Assets file '{0}' not found. Run a NuGet package restore to generate this file. {StrBegin="NETSDK1004: "} - - 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: '{0}' varlık dosyasında '{1}' için hedef yok. Geri yüklemenin çalıştırıldığından ve '{2}' öğesinin projeniz için TargetFrameworks’e eklendiğinden emin olun. - {StrBegin="NETSDK1005: "} + + NETSDK1063: The path to the project assets file was not set. Run a NuGet package restore to generate this file. + 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: '{0}' varlık dosyası yolunun kökü belirtilmemiş. Yalnızca tam yollar desteklenir. + 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: At least one possible target framework must be specified. + {StrBegin="NETSDK1001: "} + + + 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: 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: "} + NETSDK1007: Cannot find project info for '{0}'. This can indicate a missing project reference. - NETSDK1007: '{0}' için proje bilgisi bulunamıyor. Bu durum, bir proje başvurusunun eksik olduğunu gösteriyor olabilir. + NETSDK1007: Cannot find project info for '{0}'. This can indicate a missing project reference. {StrBegin="NETSDK1007: "} - - NETSDK1008: Missing '{0}' metadata on '{1}' item '{2}'. - NETSDK1008: '{1}' öğesi '{2}' üzerinde '{0}' meta verileri eksik. - {StrBegin="NETSDK1008: "} - - - NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. - NETSDK1009: '{1}' içinde tanınmayan '{0}' ön işlemci belirteci. - {StrBegin="NETSDK1009: "} - - - NETSDK1010: The '{0}' task must be given a value for parameter '{1}' in order to consume preprocessed content. - NETSDK1010: Önceden işlenen içeriği kullanabilmesi için '{0}' görevine, '{1}' parametresine ilişkin bir değer verilmelidir. - {StrBegin="NETSDK1010: "} - - - NETSDK1011: Assets are consumed from project '{0}', but no corresponding MSBuild project path was found in '{1}'. - NETSDK1011: '{0}' projesindeki varlıklar kullanılıyor, ancak '{1}' içinde karşılık gelen bir MSBuild proje yolu bulunamadı. - {StrBegin="NETSDK1011: "} + + NETSDK1032: The RuntimeIdentifier platform '{0}' and the PlatformTarget '{1}' must be compatible. + NETSDK1032: The RuntimeIdentifier platform '{0}' and the PlatformTarget '{1}' must be compatible. + {StrBegin="NETSDK1032: "} - - NETSDK1012: Unexpected file type for '{0}'. Type is both '{1}' and '{2}'. - NETSDK1012: '{0}' için beklenmeyen dosya türü. Tür hem '{1}' hem de '{2}'. - {StrBegin="NETSDK1012: "} + + NETSDK1031: It is not supported to build or publish a self-contained application without specifying a RuntimeIdentifier. Please either specify a RuntimeIdentifier or set SelfContained to false. + NETSDK1031: It is not supported to build or publish a self-contained application without specifying a RuntimeIdentifier. Please either specify a RuntimeIdentifier or set SelfContained to false. + {StrBegin="NETSDK1031: "} 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: '{0}' TargetFramework değeri tanınmadı. Yanlış yazılmış olabilir. Sorun bundan kaynaklanmıyorsa, TargetFrameworkIdentifier ve/veya TargetFrameworkVersion özelliklerinin açık bir şekilde belirtilmesi gerekir. + 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: "} - - NETSDK1014: Content item for '{0}' sets '{1}', but does not provide '{2}' or '{3}'. - NETSDK1014: '{0}' için içerik öğesi, '{1}' değerini ayarlıyor ancak '{2}' veya '{3}' sağlamıyor. - {StrBegin="NETSDK1014: "} - - - NETSDK1015: The preprocessor token '{0}' has been given more than one value. Choosing '{1}' as the value. - NETSDK1015: '{0}' ön işlemci belirtecine birden fazla değer verildi. Değer olarak '{1}' seçiliyor. - {StrBegin="NETSDK1015: "} - - - NETSDK1016: Unable to find resolved path for '{0}'. - NETSDK1016: '{0}' için çözümlenmiş yol bulunamıyor. - {StrBegin="NETSDK1016: "} - - - NETSDK1017: Asset preprocessor must be configured before assets are processed. - NETSDK1017: Varlıkların işlenebilmesi için varlık ön işlemcisi yapılandırılmalıdır. - {StrBegin="NETSDK1017: "} - - - NETSDK1018: Invalid NuGet version string: '{0}'. - NETSDK1018: Geçersiz NuGet sürüm dizesi: '{0}'. - {StrBegin="NETSDK1018: "} - - - NETSDK1019: {0} is an unsupported framework. - NETSDK1019: {0} çerçevesi desteklenmiyor. - {StrBegin="NETSDK1019: "} - - - 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: Yinelenen '{0}' öğeleri eklendi. .NET SDK, proje dizininizdeki '{0}' öğelerini varsayılan olarak içeriyor. Bu öğeleri proje dosyanızdan kaldırabilir veya bunları proje dosyanıza açıkça dahil etmek istiyorsanız '{1}' özelliğini '{2}' olarak ayarlayabilirsiniz. Daha fazla bilgi için bkz. {4}. Yinelenen öğeler: {3} - {StrBegin="NETSDK1022: "} - - - 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: Projenize '{0}' için bir PackageReference eklendi. .NET SDK bu pakete örtük olarak başvuruyor; buna projenizden başvurmanız genellikle gerekli değildir. Daha fazla bilgi için bkz. {1} - {StrBegin="NETSDK1023: "} - - - NETSDK1020: Package Root {0} was incorrectly given for Resolved library {1} - NETSDK1020: {0} Paket Kökü, Çözümlenmiş {1} kitaplığı için yanlışlıkla verildi - {StrBegin="NETSDK1020: "} - - - NETSDK1021: More than one file found for {0} - NETSDK1021: {0} için birden fazla dosya bulundu - {StrBegin="NETSDK1021: "} - - - NETSDK1024: Folder '{0}' already exists either delete it or provide a different ComposeWorkingDir - NETSDK1024: '{0}' klasörü zaten var. Klasörü silin veya farklı bir ComposeWorkingDir değeri belirtin - {StrBegin="NETSDK1024: "} - - - NETSDK1026: Parsing the Files : '{0}' - NETSDK1026: Dosyalar ayrıştırılıyor: '{0}' - {StrBegin="NETSDK1026: "} - - - NETSDK1027: Package Name='{0}', Version='{1}' was parsed - NETSDK1027: Paket Adı='{0}', Sürüm='{1}' ayrıştırıldı - {StrBegin="NETSDK1027: "} - - - NETSDK1028: Specify a RuntimeIdentifier - NETSDK1028: Bir RuntimeIdentifier belirtin - {StrBegin="NETSDK1028: "} - - - NETSDK1025: WRThe target manifest {0} provided is of not the correct format - NETSDK1025: Belirtilen {0} hedef bildirimi doğru biçimde değil - {StrBegin="NETSDK1025: "} - - - 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: '{0}', uygulama adının yazılacağı yeri işaretlemesi için beklenen yer tutucu bayt dizisini ('{1}') içermediğinden uygulama konak yürütülebilir dosyası olarak kullanılamıyor. - {StrBegin="NETSDK1029: "} - - - NETSDK1030: Given file name '{0}' is longer than 1024 bytes - NETSDK1030: Belirtilen dosya adı ('{0}') 1024 bayttan uzun - {StrBegin="NETSDK1030: "} + + NETSDK1066: A RuntimeIdentifier must be specified to publish a framework-dependent application with an application host. + NETSDK1066: A RuntimeIdentifier must be specified to publish a framework-dependent application with an application host. + {StrBegin="NETSDK1066: "} - - NETSDK1031: It is not supported to build or publish a self-contained application without specifying a RuntimeIdentifier. Please either specify a RuntimeIdentifier or set SelfContained to false. - NETSDK1031: Bir RuntimeIdentifier belirtilmeden, bağımsız çalışan uygulamanın derlenmesi veya yayımlanması desteklenmez. Lütfen bir RuntimeIdentifier belirtin veya SelfContained değerini false olarak ayarlayın. - {StrBegin="NETSDK1031: "} + + NETSDK1067: Self-contained applications are required to use the application host. Either set SelfContained to false or set UseAppHost to true. + NETSDK1067: Self-contained applications are required to use the application host. Either set SelfContained to false or set UseAppHost to true. + {StrBegin="NETSDK1067: "} NETSDK1033: Choosing '{0}' because AssemblyVersion '{1}' is greater than '{2}'. - NETSDK1033: AssemblyVersion '{1}', '{2}' değerinden büyük olduğundan '{0}' seçiliyor. + NETSDK1033: Choosing '{0}' because AssemblyVersion '{1}' is greater than '{2}'. {StrBegin="NETSDK1033: "} NETSDK1034: Choosing '{0}' because file version '{1}' is greater than '{2}'. - NETSDK1034: '{1}' dosya sürümü '{2}' değerinden büyük olduğundan '{0}' seçiliyor. + NETSDK1034: Choosing '{0}' because file version '{1}' is greater than '{2}'. {StrBegin="NETSDK1034: "} NETSDK1035: Choosing '{0}' because it is a platform item. - NETSDK1035: Bir platform öğesi olduğundan '{0}' seçiliyor. + NETSDK1035: Choosing '{0}' because it is a platform item. {StrBegin="NETSDK1035: "} NETSDK1036: Choosing '{0}' because it comes from a package that is preferred. - NETSDK1036: Tercih edilen bir paketten geldiğinden '{0}' seçiliyor. + NETSDK1036: Choosing '{0}' because it comes from a package that is preferred. {StrBegin="NETSDK1036: "} NETSDK1037: Could not determine winner due to equal file and assembly versions. - NETSDK1037: Dosya ve bütünleştirilmiş kod sürümlerinin eşit olması nedeniyle kazanan belirlenemedi. + NETSDK1037: Could not determine winner due to equal file and assembly versions. {StrBegin="NETSDK1037: "} + + NETSDK1014: Content item for '{0}' sets '{1}', but does not provide '{2}' or '{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: The '{0}' task must be given a value for parameter '{1}' in order to consume preprocessed content. + {StrBegin="NETSDK1010: "} + NETSDK1038: Could not determine winner because '{0}' does not exist. - NETSDK1038: '{0}' mevcut olmadığından kazanan belirlenemedi. + NETSDK1038: Could not determine winner because '{0}' does not exist. {StrBegin="NETSDK1001: "} NETSDK1039: Could not determine a winner because '{0}' has no file version. - NETSDK1039: '{0}' bir dosya sürümüne sahip olmadığından kazanan belirlenemedi. + NETSDK1039: Could not determine a winner because '{0}' has no file version. {StrBegin="NETSDK1039: "} NETSDK1040: Could not determine a winner because '{0}' is not an assembly. - NETSDK1040: '{0}' bir bütünleştirilmiş kod olmadığından kazanan belirlenemedi. + NETSDK1040: Could not determine a winner because '{0}' is not an assembly. {StrBegin="NETSDK1040: "} + + NETSDK1042: Could not load PlatformManifest from '{0}' because it did not exist. + NETSDK1042: Could not load PlatformManifest from '{0}' because it did not exist. + {StrBegin="NETSDK1042: "} + + + NETSDK1055: DotnetTool does not support target framework lower than netcoreapp2.1. + NETSDK1055: DotnetTool does not support target framework lower than netcoreapp2.1. + {StrBegin="NETSDK1055: "} + + + NETSDK1054: only supports .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: 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: The preprocessor token '{0}' has been given more than one value. Choosing '{1}' as the value. + {StrBegin="NETSDK1015: "} + NETSDK1041: Encountered conflict between '{0}' and '{1}'. - NETSDK1041: '{0}' ile '{1}' arasında çakışmayla karşılaşıldı. + NETSDK1041: Encountered conflict between '{0}' and '{1}'. {StrBegin="NETSDK1041: "} - - NETSDK1042: Could not load PlatformManifest from '{0}' because it did not exist. - NETSDK1042: '{0}' mevcut olmadığından buradan PlatformManifest yüklenemedi. - {StrBegin="NETSDK1042: "} + + NETSDK1051: Error parsing FrameworkList from '{0}'. {1} '{2}' was invalid. + 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: '{0}' içindeki {1}. satırdan PlatformManifest ayrıştırılırken hata oluştu. Satırlar {2} biçiminde olmalıdır. + 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: '{0}' konumundaki {1}. satırdan PlatformManifest ayrıştırılırken hata oluştu. {2} '{3}' geçersizdi. + NETSDK1044: Error parsing PlatformManifest from '{0}' line {1}. {2} '{3}' was invalid. {StrBegin="NETSDK1044: "} - - 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: Geçerli .NET SDK’sı {0} {1} sürümünü hedeflemeyi desteklemiyor. {0} {2} veya daha düşük bir sürümü hedefleyin veya {0} {1} destekleyen bir .NET SDK’sı kullanın. - {StrBegin="NETSDK1045: "} - - - 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: '{0}' varlık dosyasında '{1}' için hedef yok. Geri yüklemenin çalıştırıldığından ve '{2}' öğesinin projeniz için TargetFrameworks’e eklendiğinden emin olun. Ayrıca '{3}' öğesini projenizin RuntimeIdentifiers’ına eklemeniz gerekebilir. - {StrBegin="NETSDK1047: "} - - - NETSDK1046: The TargetFramework value '{0}' is not valid. To multi-target, use the 'TargetFrameworks' property instead. - NETSDK1046: '{0}' TargetFramework değeri geçerli değil. Çoklu hedefleme için 'TargetFrameworks' özelliğini kullanın. - {StrBegin="NETSDK1046: "} - - - NETSDK1049: Resolved file has a bad image, no metadata, or is otherwise inaccessible. {0} {1} - NETSDK1049: Çözümlenen dosyada hatalı görüntü var, meta veri yok veya dosya erişilemez durumda. {0} {1} - {StrBegin="NETSDK1049: "} - - - 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: Bu proje tarafından kullanılan Microsoft.NET.Sdk, .NET Standard 1.5 veya üzeri kitaplıkları desteklemek için yeterli değil. Lütfen .NET Core SDK 2.0 veya sonraki bir sürümü yükleyin. - {StrBegin="NETSDK1050: "} + + NETSDK1060: Error reading assets file: {0} + NETSDK1060: Error reading assets file: {0} + {StrBegin="NETSDK1060: "} - - NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. - NETSDK1048: GenerateRuntimeConfigurationFiles için 'AdditionalProbingPaths' belirtildi ancak 'RuntimeConfigDevPath' boş olduğundan atlanıyor. - {StrBegin="NETSDK1048: "} + + NETSDK1030: Given file name '{0}' is longer than 1024 bytes + NETSDK1030: Given file name '{0}' is longer than 1024 bytes + {StrBegin="NETSDK1030: "} - - NETSDK1032: The RuntimeIdentifier platform '{0}' and the PlatformTarget '{1}' must be compatible. - NETSDK1032: RuntimeIdentifier platformu '{0}' ile PlatformTarget '{1}' uyumlu olmalıdır. - {StrBegin="NETSDK1032: "} + + NETSDK1024: Folder '{0}' already exists either delete it or provide a different ComposeWorkingDir + NETSDK1024: Folder '{0}' already exists either delete it or provide a different ComposeWorkingDir + {StrBegin="NETSDK1024: "} - - NETSDK1051: Error parsing FrameworkList from '{0}'. {1} '{2}' was invalid. - NETSDK1051: '{0}' öğesinden FrameworkList ayrıştırılırken hata oluştu. {1} '{2}' geçersizdi. - {StrBegin="NETSDK1051: "} + + NETSDK1068: The framework-dependent application host requires a target framework of at least '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: '{0}' çerçeve listesi dosya yolunun kökü belirtilmemiş. Yalnızca tam yollar desteklenir. + NETSDK1052: Framework list file path '{0}' is not rooted. Only full paths are supported. {StrBegin="NETSDK1052: "} - - NETSDK1053: Pack as tool does not support self contained. - NETSDK1053: Araç olarak paketleme kendi kendini kapsamayı desteklemiyor. - {StrBegin="NETSDK1001: "} + + NETSDK1049: Resolved file has a bad image, no metadata, or is otherwise inaccessible. {0} {1} + NETSDK1049: Resolved file has a bad image, no metadata, or is otherwise inaccessible. {0} {1} + {StrBegin="NETSDK1049: "} - - 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: Proje '{0}' çalışma zamanını hedefliyor ancak çalışma zamanına özgü herhangi bir paketi çözümlemedi. Bu çalışma zamanı hedef çerçeve tarafından desteklenmiyor olabilir. - {StrBegin="NETSDK1056: "} + + NETSDK1020: Package Root {0} was incorrectly given for Resolved library {1} + NETSDK1020: Package Root {0} was incorrectly given for Resolved library {1} + {StrBegin="NETSDK1020: "} - - NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview - NETSDK1057: .NET Core SDK’nın önizleme sürümüyle çalışıyorsunuz. SDK sürümünü geçerli projedeki bir global.json dosyası aracılığıyla tanımlayabilirsiniz. Daha fazla bilgi edinmek için bkz. https://go.microsoft.com/fwlink/?linkid=869452 - {StrBegin="NETSDK1057: "} + + NETSDK1025: WRThe target manifest {0} provided is of not the correct format + NETSDK1025: WRThe target manifest {0} provided is of not the correct format + {StrBegin="NETSDK1025: "} + + + NETSDK1003: Invalid framework name: '{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: ItemSpecToUse parametresi için geçersiz değer: '{0}'. Bu özellik boş olmalı veya 'Left' veya 'Right' olarak ayarlanmalıdır + 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 - - NETSDK1059: The tool '{0}' is now included in the .NET Core SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box). - NETSDK1059: '{0}' aracı .NET Core SDK’sına eklendi. Bu uyarının çözümlenmesiyle ilgili bilgi edinmek için bkz. (https://aka.ms/dotnetclitools-in-box). - {StrBegin="NETSDK1059: "} - - - NETSDK1060: Error reading assets file: {0} - NETSDK1060: Varlıklar dosyası okunurken hata: {0} - {StrBegin="NETSDK1060: "} + + NETSDK1018: Invalid NuGet version string: '{0}'. + NETSDK1018: Invalid NuGet version string: '{0}'. + {StrBegin="NETSDK1018: "} 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: Proje, {0} sürüm {1} kullanılarak geri yüklendi, ancak geçerli ayarlarla, bunun yerine sürüm {2} kullanılması gerekiyordu. Bu sorunu çözmek amacıyla, geri yükleme için ve derleme veya yayımlama gibi sonraki işlemler için aynı ayarların kullanıldığından emin olun. Bu sorun genellikle RuntimeIdentifier özelliği derleme veya yayımlama sırasında ayarlandığında ancak geri yükleme sırasında ayarlanmadığında oluşur. Daha fazla bilgi için bkz. 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 {2} - Current version of platform package - - NETSDK1063: The path to the project assets file was not set. Run a NuGet package restore to generate this file. - NETSDK1063: Proje varlıkları dosyasının yolu ayarlanmadı. Bu dosyayı oluşturmak için, NuGet paketi geri yükleme işlemi gerçekleştirin. - {StrBegin="NETSDK1063: "} + + NETSDK1008: Missing '{0}' metadata on '{1}' item '{2}'. + NETSDK1008: Missing '{0}' metadata on '{1}' item '{2}'. + {StrBegin="NETSDK1008: "} - - NETSDK1054: only supports .NET Core. - NETSDK1054: Yalnızca .NET Core desteklenir. - {StrBegin="NETSDK1054: "} + + NETSDK1021: More than one file found for {0} + NETSDK1021: More than one file found for {0} + {StrBegin="NETSDK1021: "} - - NETSDK1055: DotnetTool does not support target framework lower than netcoreapp2.1. - NETSDK1055: DotnetTool, netcoreapp2.1’den daha düşük hedef çerçeveleri desteklemez. - {StrBegin="NETSDK1055: "} + + 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: 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: "} - - NETSDK1062: 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. - NETSDK1062: G/Ç hatasından dolayı paket varlıkları önbelleği kullanılamıyor. Bu, aynı proje paralel olarak birden fazla kez derlendiğinden dolayı oluşabilir. Performans düşebilir, ancak derleme sonucu etkilenmez. - {StrBegin="NETSDK1062: "} + + NETSDK1002: Project '{0}' targets '{2}'. It cannot be referenced by a project that targets '{1}'. + NETSDK1002: Project '{0}' targets '{2}'. It cannot be referenced by a project that targets '{1}'. + {StrBegin="NETSDK1002: "} + + + NETSDK1053: Pack as tool does not support self contained. + NETSDK1053: Pack as tool does not support self contained. + {StrBegin="NETSDK1001: "} + + + NETSDK1027: Package Name='{0}', Version='{1}' was parsed + NETSDK1027: Package Name='{0}', Version='{1}' was parsed + {StrBegin="NETSDK1027: "} 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: {0} paketinin {1} sürümü bulunamadı. NuGet geri yükleme işleminden sonra silinmiş olabilir. Silinmediyse, NuGet geri yükleme işlemi muhtemelen en fazla yol uzunluğu kısıtlamaları nedeniyle yalnızca kısmen başarılı olmuş olabilir. + 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: "} - - 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: {0} için uygulama konağı bulunamıyor. {0} geçersiz bir çalışma zamanı tanımlayıcısı (RID) olabilir. RID hakkında daha fazla bilgi için bkz. https://aka.ms/rid-catalog. - {StrBegin="NETSDK1065: "} + + 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: 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: "} + + + NETSDK1026: Parsing the Files : '{0}' + NETSDK1026: Parsing the Files : '{0}' + {StrBegin="NETSDK1026: "} + + + NETSDK1011: Assets are consumed from project '{0}', but no corresponding MSBuild project path was found 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 Core SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box). + NETSDK1059: The tool '{0}' is now included in the .NET Core SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box). + {StrBegin="NETSDK1059: "} + + + NETSDK1028: Specify a RuntimeIdentifier + NETSDK1028: Specify a RuntimeIdentifier + {StrBegin="NETSDK1028: "} + + + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. + {StrBegin="NETSDK1048: "} + + + NETSDK1046: The TargetFramework value '{0}' is not valid. To multi-target, use the 'TargetFrameworks' property instead. + NETSDK1046: The TargetFramework value '{0}' is not valid. To multi-target, use the 'TargetFrameworks' property instead. + {StrBegin="NETSDK1046: "} + + + NETSDK1016: Unable to find resolved path for '{0}'. + NETSDK1016: Unable to find resolved path for '{0}'. + {StrBegin="NETSDK1016: "} + + + NETSDK1062: 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. + NETSDK1062: 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. + {StrBegin="NETSDK1062: "} + + + NETSDK1012: Unexpected file type for '{0}'. Type is both '{1}' and '{2}'. + NETSDK1012: Unexpected file type for '{0}'. Type is both '{1}' and '{2}'. + {StrBegin="NETSDK1012: "} + + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + + + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. + {StrBegin="NETSDK1009: "} + + + NETSDK1019: {0} is an unsupported framework. + 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: 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: 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: 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: "} + + + NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview + NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview + {StrBegin="NETSDK1057: "} diff --git a/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf b/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf index 0f63eee45531..2f5e5a786194 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf @@ -77,6 +77,11 @@ NETSDK1008: 在“{1}”项“{2}”上缺少“{0}”元数据。 {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009:“{1}”中无法识别预处理器标记“{0}”。 diff --git a/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf b/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf index dc190bb535a7..e1259776370a 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf @@ -77,6 +77,11 @@ NETSDK1008: '{1}' 項目 '{2}' 上遺漏 '{0}' 中繼資料。 {StrBegin="NETSDK1008: "} + + NETSDK1073: The FrameworkReference '{0}' was not recognized + NETSDK1073: The FrameworkReference '{0}' was not recognized + {StrBegin="NETSDK1073: "} + NETSDK1009: Unrecognized preprocessor token '{0}' in '{1}'. NETSDK1009: '{1}' 中的前置處理器語彙基元 '{0}' 無法辨識。 diff --git a/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenADependencyContextBuilder.cs b/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenADependencyContextBuilder.cs index 36bb92c9ab05..bf099df40a1f 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenADependencyContextBuilder.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenADependencyContextBuilder.cs @@ -51,6 +51,7 @@ public void ItBuildsDependencyContextsFromProjectLockFiles( FrameworkConstants.CommonFrameworks.NetCoreApp10, runtime, Constants.DefaultPlatformLibrary, + runtimeFrameworks: null, isSelfContained: !string.IsNullOrEmpty(runtime)); DependencyContext dependencyContext = new DependencyContextBuilder(mainProject, projectContext, includeRuntimeFileVersions: false) @@ -254,6 +255,7 @@ private DependencyContext BuildDependencyContextWithReferenceAssemblies(bool use FrameworkConstants.CommonFrameworks.NetCoreApp10, runtime: null, platformLibraryName: Constants.DefaultPlatformLibrary, + runtimeFrameworks: null, isSelfContained: false); CompilationOptions compilationOptions = diff --git a/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenAProjectContext.cs b/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenAProjectContext.cs index 7ed81693093f..eabef7cd2bae 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenAProjectContext.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenAProjectContext.cs @@ -20,8 +20,9 @@ public void ItComputesExcludeFromPublishList() LockFile lockFile = TestLockFiles.GetLockFile("dependencies.withgraphs"); ProjectContext projectContext = lockFile.CreateProjectContext( FrameworkConstants.CommonFrameworks.NetStandard16, - null, + runtime: null, Constants.DefaultPlatformLibrary, + runtimeFrameworks: null, isSelfContained: false); IEnumerable excludeFromPublishPackageIds = new[] { "Microsoft.Extensions.Logging.Abstractions" }; diff --git a/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenAPublishAssembliesResolver.cs b/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenAPublishAssembliesResolver.cs index 0e0d88a24a1a..3c23b995ec11 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenAPublishAssembliesResolver.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenAPublishAssembliesResolver.cs @@ -26,6 +26,7 @@ public void ItResolvesAssembliesFromProjectLockFiles(string projectName, string FrameworkConstants.CommonFrameworks.NetCoreApp10, runtime, Constants.DefaultPlatformLibrary, + runtimeFrameworks: null, isSelfContained: false); IEnumerable resolvedFiles = new PublishAssembliesResolver(new MockPackageResolver()) @@ -45,6 +46,7 @@ public void ItResolvesAssembliesFromProjectLockFilesWithStoreLayout(string proje FrameworkConstants.CommonFrameworks.NetCoreApp10, runtime, Constants.DefaultPlatformLibrary, + runtimeFrameworks: null, isSelfContained: false); IEnumerable resolvedFiles = new PublishAssembliesResolver(new MockPackageResolver()) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/FilterResolvedFiles.cs b/src/Tasks/Microsoft.NET.Build.Tasks/FilterResolvedFiles.cs index cae1a95b0eb4..47c19f336ee7 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/FilterResolvedFiles.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/FilterResolvedFiles.cs @@ -59,6 +59,7 @@ protected override void ExecuteCore() NuGetUtils.ParseFrameworkName(TargetFramework), RuntimeIdentifier, PlatformLibraryName, + runtimeFrameworks: null, IsSelfContained); var packageClosure = new HashSet(); diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/GenerateDepsFile.cs b/src/Tasks/Microsoft.NET.Build.Tasks/GenerateDepsFile.cs index d9888e76df94..5204b9abb2fe 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/GenerateDepsFile.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/GenerateDepsFile.cs @@ -35,6 +35,8 @@ public class GenerateDepsFile : TaskBase public string PlatformLibraryName { get; set; } + public ITaskItem[] RuntimeFrameworks { get; set; } + [Required] public string AssemblyName { get; set; } @@ -138,6 +140,7 @@ protected override void ExecuteCore() NuGetUtils.ParseFrameworkName(TargetFramework), RuntimeIdentifier, PlatformLibraryName, + RuntimeFrameworks, IsSelfContained); DependencyContext dependencyContext = new DependencyContextBuilder(mainProject, projectContext, IncludeRuntimeFileVersions) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/GenerateRuntimeConfigurationFiles.cs b/src/Tasks/Microsoft.NET.Build.Tasks/GenerateRuntimeConfigurationFiles.cs index aef639e72ce0..1ee433cb678d 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/GenerateRuntimeConfigurationFiles.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/GenerateRuntimeConfigurationFiles.cs @@ -38,6 +38,8 @@ public class GenerateRuntimeConfigurationFiles : TaskBase public string PlatformLibraryName { get; set; } + public ITaskItem[] RuntimeFrameworks { get; set; } + public string UserRuntimeConfig { get; set; } public ITaskItem[] HostConfigurationOptions { get; set; } @@ -68,6 +70,7 @@ protected override void ExecuteCore() NuGetUtils.ParseFrameworkName(TargetFrameworkMoniker), RuntimeIdentifier, PlatformLibraryName, + RuntimeFrameworks, IsSelfContained); WriteRuntimeConfig(projectContext); @@ -83,7 +86,7 @@ private void WriteRuntimeConfig(ProjectContext projectContext) RuntimeConfig config = new RuntimeConfig(); config.RuntimeOptions = new RuntimeOptions(); - AddFramework(config.RuntimeOptions, projectContext); + AddFrameworks(config.RuntimeOptions, projectContext); AddUserRuntimeOptions(config.RuntimeOptions); // HostConfigurationOptions are added after AddUserRuntimeOptions so if there are @@ -95,19 +98,50 @@ private void WriteRuntimeConfig(ProjectContext projectContext) _filesWritten.Add(new TaskItem(RuntimeConfigPath)); } - private void AddFramework(RuntimeOptions runtimeOptions, ProjectContext projectContext) + private void AddFrameworks(RuntimeOptions runtimeOptions, ProjectContext projectContext) { if (projectContext.IsFrameworkDependent) { - var platformLibrary = projectContext.PlatformLibrary; - if (platformLibrary != null) + runtimeOptions.tfm = TargetFramework; + + if (projectContext.RuntimeFrameworks == null || projectContext.RuntimeFrameworks.Length == 0) { + // If there are no RuntimeFrameworks (which would be set in the ResolveFrameworkReference task based + // on FrameworkReference items), then use package resolved from MicrosoftNETPlatformLibrary for + // the runtimeconfig RuntimeConfigFramework framework = new RuntimeConfigFramework(); - framework.Name = platformLibrary.Name; - framework.Version = platformLibrary.Version.ToNormalizedString(); + framework.Name = projectContext.PlatformLibrary.Name; + framework.Version = projectContext.PlatformLibrary.Version.ToNormalizedString(); runtimeOptions.Framework = framework; - runtimeOptions.tfm = TargetFramework; + } + else + { + foreach (var platformLibrary in projectContext.RuntimeFrameworks) + { + RuntimeConfigFramework framework = new RuntimeConfigFramework(); + framework.Name = platformLibrary.Name; + framework.Version = platformLibrary.Version; + + // If there is only one runtime framework, then it goes in the framework property of the json + // If there are multiples, then we leave the framework property unset and put the list in + // the frameworks property. + if (runtimeOptions.Framework == null && runtimeOptions.Frameworks == null) + { + runtimeOptions.Framework = framework; + } + else + { + if (runtimeOptions.Frameworks == null) + { + runtimeOptions.Frameworks = new List(); + runtimeOptions.Frameworks.Add(runtimeOptions.Framework); + runtimeOptions.Framework = null; + } + + runtimeOptions.Frameworks.Add(framework); + } + } } } } diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/LockFileExtensions.cs b/src/Tasks/Microsoft.NET.Build.Tasks/LockFileExtensions.cs index 3f7b78164b97..773646dc541b 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/LockFileExtensions.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/LockFileExtensions.cs @@ -43,7 +43,10 @@ public static ProjectContext CreateProjectContext( this LockFile lockFile, NuGetFramework framework, string runtime, + // Trimmed from publish output, and if there are no runtimeFrameworks, written to runtimeconfig.json string platformLibraryName, + // Written to runtimeconfig.json + Microsoft.Build.Framework.ITaskItem[] runtimeFrameworks, bool isSelfContained) { if (lockFile == null) @@ -58,9 +61,12 @@ public static ProjectContext CreateProjectContext( var lockFileTarget = lockFile.GetTargetAndThrowIfNotFound(framework, runtime); LockFileTargetLibrary platformLibrary = lockFileTarget.GetLibrary(platformLibraryName); - bool isFrameworkDependent = platformLibrary != null && (!isSelfContained || string.IsNullOrEmpty(lockFileTarget.RuntimeIdentifier)); + bool isFrameworkDependent = (platformLibrary != null || runtimeFrameworks?.Any() == true) && + (!isSelfContained || string.IsNullOrEmpty(lockFileTarget.RuntimeIdentifier)); - return new ProjectContext(lockFile, lockFileTarget, platformLibrary, isFrameworkDependent); + return new ProjectContext(lockFile, lockFileTarget, platformLibrary, + runtimeFrameworks?.Select(i => new ProjectContext.RuntimeFramework(i))?.ToArray(), + isFrameworkDependent); } public static LockFileTargetLibrary GetLibrary(this LockFileTarget lockFileTarget, string libraryName) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/ProjectContext.cs b/src/Tasks/Microsoft.NET.Build.Tasks/ProjectContext.cs index b2bfc47ebf32..334873b8fb1b 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/ProjectContext.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/ProjectContext.cs @@ -1,6 +1,7 @@ // Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. +using Microsoft.Build.Framework; using NuGet.Packaging.Core; using NuGet.ProjectModel; using System; @@ -12,6 +13,20 @@ namespace Microsoft.NET.Build.Tasks { internal class ProjectContext { + public class RuntimeFramework + { + public string Name { get; set; } + public string Version { get; set; } + + public RuntimeFramework() { } + + public RuntimeFramework(ITaskItem item) + { + Name = item.ItemSpec; + Version = item.GetMetadata(MetadataKeys.Version); + } + } + private readonly LockFile _lockFile; private readonly LockFileTarget _lockFileTarget; internal HashSet PackagesToBeFiltered { get; set; } @@ -33,22 +48,31 @@ internal class ProjectContext public LockFileTargetLibrary PlatformLibrary { get; } + public RuntimeFramework [] RuntimeFrameworks { get; } + public LockFile LockFile => _lockFile; public LockFileTarget LockFileTarget => _lockFileTarget; - public ProjectContext(LockFile lockFile, LockFileTarget lockFileTarget, LockFileTargetLibrary platformLibrary, bool isFrameworkDependent) + public ProjectContext(LockFile lockFile, LockFileTarget lockFileTarget, + // Trimmed from publish output, and if there are no runtimeFrameworks, written to runtimeconfig.json + LockFileTargetLibrary platformLibrary, + // Written to runtimeconfig.json + RuntimeFramework[] runtimeFrameworks, + bool isFrameworkDependent) { Debug.Assert(lockFile != null); Debug.Assert(lockFileTarget != null); if (isFrameworkDependent) { - Debug.Assert(platformLibrary != null); + Debug.Assert(platformLibrary != null || + (runtimeFrameworks != null && runtimeFrameworks.Any())); } _lockFile = lockFile; _lockFileTarget = lockFileTarget; PlatformLibrary = platformLibrary; + RuntimeFrameworks = runtimeFrameworks; IsFrameworkDependent = isFrameworkDependent; } @@ -62,7 +86,10 @@ public IEnumerable GetRuntimeLibraries(IEnumerable + /// This class processes the FrameworkReference items. It adds PackageReferences for the + /// targeting packs which provide the reference assemblies, and creates RuntimeFramework + /// items, which are written to the runtimeconfig file + /// + public class ResolveFrameworkReferences : TaskBase + { + public ITaskItem[] FrameworkReferences { get; set; } = Array.Empty(); + + public ITaskItem[] KnownFrameworkReferences { get; set; } = Array.Empty(); + + [Output] + public ITaskItem[] PackageReferencesToAdd { get; set; } + + [Output] + public ITaskItem[] RuntimeFrameworks { get; set; } + + [Output] + public string[] UnresolvedFrameworkReferences { get; set; } + + protected override void ExecuteCore() + { + var knownFrameworkReferences = KnownFrameworkReferences.Select(item => new KnownFrameworkReference(item)) + .ToDictionary(kfr => kfr.Name); + + List packageReferencesToAdd = new List(); + List runtimeFrameworks = new List(); + List unresolvedFrameworkReferences = new List(); + + + foreach (var frameworkReference in FrameworkReferences) + { + KnownFrameworkReference knownFrameworkReference; + if (knownFrameworkReferences.TryGetValue(frameworkReference.ItemSpec, out knownFrameworkReference)) + { + TaskItem packageReference = new TaskItem(knownFrameworkReference.TargetingPackName); + packageReference.SetMetadata(MetadataKeys.Version, knownFrameworkReference.TargetingPackVersion); + packageReference.SetMetadata(MetadataKeys.IsImplicitlyDefined, "true"); + packageReference.SetMetadata("PrivateAssets", "true"); + + packageReferencesToAdd.Add(packageReference); + + TaskItem runtimeFramework = new TaskItem(knownFrameworkReference.RuntimeFrameworkName); + + // Use default (non roll-forward) version for now. Eventually we'll need to add support for rolling + // forward, and for publishing assets from a runtime pack for self-contained apps + runtimeFramework.SetMetadata(MetadataKeys.Version, knownFrameworkReference.DefaultRuntimeFrameworkVersion); + + runtimeFrameworks.Add(runtimeFramework); + } + else + { + unresolvedFrameworkReferences.Add(frameworkReference.ItemSpec); + } + } + + if (packageReferencesToAdd.Any()) + { + PackageReferencesToAdd = packageReferencesToAdd.ToArray(); + } + + if (runtimeFrameworks.Any()) + { + RuntimeFrameworks = runtimeFrameworks.ToArray(); + } + + if (unresolvedFrameworkReferences.Any()) + { + UnresolvedFrameworkReferences = unresolvedFrameworkReferences.ToArray(); + } + } + + class KnownFrameworkReference + { + ITaskItem _item; + public KnownFrameworkReference(ITaskItem item) + { + _item = item; + } + + // The name / itemspec of the FrameworkReference used in the project + public string Name => _item.ItemSpec; + + // The framework name to write to the runtimeconfig file (and the name of the folder under dotnet/shared) + public string RuntimeFrameworkName => _item.GetMetadata("RuntimeFrameworkName"); + public string DefaultRuntimeFrameworkVersion => _item.GetMetadata("DefaultRuntimeFrameworkVersion"); + public string LatestRuntimeFrameworkVersion => _item.GetMetadata("LatestRuntimeFrameworkVersion"); + + // The ID of the targeting pack NuGet package to reference + public string TargetingPackName => _item.GetMetadata("TargetingPackName"); + public string TargetingPackVersion => _item.GetMetadata("TargetingPackVersion"); + } + } +} diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePublishAssemblies.cs b/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePublishAssemblies.cs index 4b42c76dbcd2..7fad7c127968 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePublishAssemblies.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePublishAssemblies.cs @@ -29,6 +29,8 @@ public class ResolvePublishAssemblies : TaskBase public string PlatformLibraryName { get; set; } + public ITaskItem[] RuntimeFrameworks { get; set; } + public ITaskItem[] ExcludeFromPublishPackageReferences { get; set; } public bool PreserveStoreLayout { get; set; } @@ -67,6 +69,7 @@ protected override void ExecuteCore() NuGetUtils.ParseFrameworkName(TargetFramework), RuntimeIdentifier, PlatformLibraryName, + RuntimeFrameworks, IsSelfContained); projectContext.PackagesToBeFiltered = packagestoBeFiltered; diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/RuntimeOptions.cs b/src/Tasks/Microsoft.NET.Build.Tasks/RuntimeOptions.cs index 78feed856add..055e4bb5c09f 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/RuntimeOptions.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/RuntimeOptions.cs @@ -13,6 +13,8 @@ internal class RuntimeOptions public RuntimeConfigFramework Framework { get; set; } + public List Frameworks { get; set; } + public List AdditionalProbingPaths { get; set; } [JsonExtensionData] @@ -22,4 +24,4 @@ public RuntimeOptions() { } } -} \ No newline at end of file +} diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.CrossGen.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.CrossGen.targets index 3ca593b1fb99..253846e20909 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.CrossGen.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.CrossGen.targets @@ -273,6 +273,7 @@ Restores netcoreapp and publishes it to a temp directory TargetFramework="$(_TFM)" RuntimeIdentifier="$(RuntimeIdentifier)" PlatformLibraryName="$(MicrosoftNETPlatformLibrary)" + RuntimeFrameworks="@(RuntimeFramework)" ExcludeFromPublishPackageReferences="@(_ExcludeFromPublishPackageReference)" IsSelfContained="$(SelfContained)" PreserveStoreLayout="false"> diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets index ae9d9d700adf..84d3b56afbd1 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets @@ -288,6 +288,7 @@ Copyright (c) .NET Foundation. All rights reserved. TargetFramework="$(TargetFrameworkMoniker)" RuntimeIdentifier="$(RuntimeIdentifier)" PlatformLibraryName="$(MicrosoftNETPlatformLibrary)" + RuntimeFrameworks="@(RuntimeFramework)" ExcludeFromPublishPackageReferences="@(_ExcludeFromPublishPackageReference)" RuntimeStorePackages="@(RuntimeStorePackages)" PreserveStoreLayout="$(PreserveStoreLayout)" @@ -534,6 +535,7 @@ Copyright (c) .NET Foundation. All rights reserved. IncludeMainProject="$(IncludeMainProjectInDepsFile)" RuntimeIdentifier="$(RuntimeIdentifier)" PlatformLibraryName="$(MicrosoftNETPlatformLibrary)" + RuntimeFrameworks="@(RuntimeFramework)" FilesToSkip="@(_ConflictPackageFiles);@(_PublishConflictPackageFiles)" CompilerOptions="@(DependencyFileCompilerOptions)" ExcludeFromPublishPackageReferences="@(_ExcludeFromPublishPackageReference)" @@ -612,6 +614,7 @@ Copyright (c) .NET Foundation. All rights reserved. RuntimeConfigPath="$(PublishRuntimeConfigFilePath)" RuntimeIdentifier="$(RuntimeIdentifier)" PlatformLibraryName="$(MicrosoftNETPlatformLibrary)" + RuntimeFrameworks="@(RuntimeFramework)" UserRuntimeConfig="$(UserRuntimeConfig)" HostConfigurationOptions="@(RuntimeHostConfigurationOption)" IsSelfContained="$(SelfContained)" /> diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.DefaultItems.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.DefaultItems.targets index a89fca2790ef..4f6329bbeb11 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.DefaultItems.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.DefaultItems.targets @@ -155,6 +155,51 @@ Copyright (c) .NET Foundation. All rights reserved. true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +