Skip to content

Commit 77d6311

Browse files
authored
Merge pull request #3315 from vatsan-madhavan/dev/vatsan/wdsdk-warnings
Add warnings related to Microsoft.NET.Sdk.WindowsDesktop
2 parents 1157aa7 + b96d02a commit 77d6311

File tree

15 files changed

+214
-0
lines changed

15 files changed

+214
-0
lines changed

src/Tasks/Common/Resources/Strings.resx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,4 +538,16 @@ The following are names of parameters or literal values and should not be transl
538538
<value>NETSDK1104: RollForward value '{0}' is invalid. Allowed values are {1}.</value>
539539
<comment>{StrBegin="NETSDK1104: "}</comment>
540540
</data>
541+
<data name="WindowsDesktopFrameworkRequiresVersion30" xml:space="preserve">
542+
<value>NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</value>
543+
<comment>{StrBegin="NETSDK1105: "}</comment>
544+
</data>
545+
<data name="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework" xml:space="preserve">
546+
<value>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</value>
547+
<comment>{StrBegin="NETSDK1107: "}</comment>
548+
</data>
549+
<data name="WindowsDesktopFrameworkRequiresUseWpfOrUseWindowsForms" xml:space="preserve">
550+
<value>NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</value>
551+
<comment>{StrBegin="NETSDK1106: "}</comment>
552+
</data>
541553
</root>

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,11 +516,26 @@ The following are names of parameters or literal values and should not be transl
516516
<target state="translated">NETSDK1045: Aktuální sada .NET SDK nepodporuje cílení {0} {1}. Buď zacilte {0} {2} nebo nižší, nebo použijte verzi sady .NET SDK, která podporuje {0} {1}.</target>
517517
<note>{StrBegin="NETSDK1045: "}</note>
518518
</trans-unit>
519+
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
520+
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
521+
<target state="new">NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</target>
522+
<note>{StrBegin="NETSDK1107: "}</note>
523+
</trans-unit>
519524
<trans-unit id="UsingPreviewSdkWarning">
520525
<source>NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview</source>
521526
<target state="translated">NETSDK1057: Používáte preview verzi .NET Core. Další informace: https://aka.ms/dotnet-core-preview</target>
522527
<note>{StrBegin="NETSDK1057: "}</note>
523528
</trans-unit>
529+
<trans-unit id="WindowsDesktopFrameworkRequiresUseWpfOrUseWindowsForms">
530+
<source>NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</source>
531+
<target state="new">NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</target>
532+
<note>{StrBegin="NETSDK1106: "}</note>
533+
</trans-unit>
534+
<trans-unit id="WindowsDesktopFrameworkRequiresVersion30">
535+
<source>NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</source>
536+
<target state="new">NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</target>
537+
<note>{StrBegin="NETSDK1105: "}</note>
538+
</trans-unit>
524539
<trans-unit id="WindowsDesktopFrameworkRequiresWindows">
525540
<source>NETSDK1100: Windows is required to build Windows desktop applications.</source>
526541
<target state="new">NETSDK1100: Windows is required to build Windows desktop applications.</target>

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,11 +516,26 @@ The following are names of parameters or literal values and should not be transl
516516
<target state="translated">NETSDK1045: Das aktuelle .NET SDK unterstützt {0} {1} nicht als Ziel. Geben Sie entweder {0} {2} oder niedriger als Ziel an, oder verwenden Sie eine .NET SDK-Version, die {0} {1} unterstützt.</target>
517517
<note>{StrBegin="NETSDK1045: "}</note>
518518
</trans-unit>
519+
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
520+
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
521+
<target state="new">NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</target>
522+
<note>{StrBegin="NETSDK1107: "}</note>
523+
</trans-unit>
519524
<trans-unit id="UsingPreviewSdkWarning">
520525
<source>NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview</source>
521526
<target state="translated">NETSDK1057: Sie verwenden eine Vorschauversion von .NET Core. Weitere Informationen: https://aka.ms/dotnet-core-preview</target>
522527
<note>{StrBegin="NETSDK1057: "}</note>
523528
</trans-unit>
529+
<trans-unit id="WindowsDesktopFrameworkRequiresUseWpfOrUseWindowsForms">
530+
<source>NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</source>
531+
<target state="new">NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</target>
532+
<note>{StrBegin="NETSDK1106: "}</note>
533+
</trans-unit>
534+
<trans-unit id="WindowsDesktopFrameworkRequiresVersion30">
535+
<source>NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</source>
536+
<target state="new">NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</target>
537+
<note>{StrBegin="NETSDK1105: "}</note>
538+
</trans-unit>
524539
<trans-unit id="WindowsDesktopFrameworkRequiresWindows">
525540
<source>NETSDK1100: Windows is required to build Windows desktop applications.</source>
526541
<target state="new">NETSDK1100: Windows is required to build Windows desktop applications.</target>

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,11 +516,26 @@ The following are names of parameters or literal values and should not be transl
516516
<target state="translated">NETSDK1045: El SDK de .NET actual no admite el destino {0} {1}. Use el destino {0} {2} u otro inferior, o bien una versión del SDK de .NET que admita {0} {1}.</target>
517517
<note>{StrBegin="NETSDK1045: "}</note>
518518
</trans-unit>
519+
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
520+
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
521+
<target state="new">NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</target>
522+
<note>{StrBegin="NETSDK1107: "}</note>
523+
</trans-unit>
519524
<trans-unit id="UsingPreviewSdkWarning">
520525
<source>NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview</source>
521526
<target state="translated">NETSDK1057: Está utilizando una versión preliminar de .NET Core. Vea: https://aka.ms/dotnet-core-preview</target>
522527
<note>{StrBegin="NETSDK1057: "}</note>
523528
</trans-unit>
529+
<trans-unit id="WindowsDesktopFrameworkRequiresUseWpfOrUseWindowsForms">
530+
<source>NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</source>
531+
<target state="new">NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</target>
532+
<note>{StrBegin="NETSDK1106: "}</note>
533+
</trans-unit>
534+
<trans-unit id="WindowsDesktopFrameworkRequiresVersion30">
535+
<source>NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</source>
536+
<target state="new">NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</target>
537+
<note>{StrBegin="NETSDK1105: "}</note>
538+
</trans-unit>
524539
<trans-unit id="WindowsDesktopFrameworkRequiresWindows">
525540
<source>NETSDK1100: Windows is required to build Windows desktop applications.</source>
526541
<target state="new">NETSDK1100: Windows is required to build Windows desktop applications.</target>

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,11 +516,26 @@ The following are names of parameters or literal values and should not be transl
516516
<target state="translated">NETSDK1045: Le kit .NET SDK actuel ne prend pas en charge le ciblage de {0} {1}. Vous devez soit cibler {0} {2} ou une version antérieure, soit utiliser une version du kit .NET SDK qui prend en charge {0} {1}.</target>
517517
<note>{StrBegin="NETSDK1045: "}</note>
518518
</trans-unit>
519+
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
520+
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
521+
<target state="new">NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</target>
522+
<note>{StrBegin="NETSDK1107: "}</note>
523+
</trans-unit>
519524
<trans-unit id="UsingPreviewSdkWarning">
520525
<source>NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview</source>
521526
<target state="translated">NETSDK1057 : Vous utilisez une préversion de .NET Core. Voir : https://aka.ms/dotnet-core-preview</target>
522527
<note>{StrBegin="NETSDK1057: "}</note>
523528
</trans-unit>
529+
<trans-unit id="WindowsDesktopFrameworkRequiresUseWpfOrUseWindowsForms">
530+
<source>NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</source>
531+
<target state="new">NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</target>
532+
<note>{StrBegin="NETSDK1106: "}</note>
533+
</trans-unit>
534+
<trans-unit id="WindowsDesktopFrameworkRequiresVersion30">
535+
<source>NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</source>
536+
<target state="new">NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</target>
537+
<note>{StrBegin="NETSDK1105: "}</note>
538+
</trans-unit>
524539
<trans-unit id="WindowsDesktopFrameworkRequiresWindows">
525540
<source>NETSDK1100: Windows is required to build Windows desktop applications.</source>
526541
<target state="new">NETSDK1100: Windows is required to build Windows desktop applications.</target>

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,11 +516,26 @@ The following are names of parameters or literal values and should not be transl
516516
<target state="translated">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}.</target>
517517
<note>{StrBegin="NETSDK1045: "}</note>
518518
</trans-unit>
519+
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
520+
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
521+
<target state="new">NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</target>
522+
<note>{StrBegin="NETSDK1107: "}</note>
523+
</trans-unit>
519524
<trans-unit id="UsingPreviewSdkWarning">
520525
<source>NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview</source>
521526
<target state="translated">NETSDK1057: si sta usando una versione in anteprima di .NET Core. Vedere https://aka.ms/dotnet-core-preview</target>
522527
<note>{StrBegin="NETSDK1057: "}</note>
523528
</trans-unit>
529+
<trans-unit id="WindowsDesktopFrameworkRequiresUseWpfOrUseWindowsForms">
530+
<source>NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</source>
531+
<target state="new">NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</target>
532+
<note>{StrBegin="NETSDK1106: "}</note>
533+
</trans-unit>
534+
<trans-unit id="WindowsDesktopFrameworkRequiresVersion30">
535+
<source>NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</source>
536+
<target state="new">NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</target>
537+
<note>{StrBegin="NETSDK1105: "}</note>
538+
</trans-unit>
524539
<trans-unit id="WindowsDesktopFrameworkRequiresWindows">
525540
<source>NETSDK1100: Windows is required to build Windows desktop applications.</source>
526541
<target state="new">NETSDK1100: Windows is required to build Windows desktop applications.</target>

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,11 +516,26 @@ The following are names of parameters or literal values and should not be transl
516516
<target state="translated">NETSDK1045: 現在の .NET SDK は、ターゲットとする {0} {1} をサポートしていません。{0} {2} 以下をターゲットとするか、{0} {1} をサポートする .NET SDK のバージョンを使用してください。</target>
517517
<note>{StrBegin="NETSDK1045: "}</note>
518518
</trans-unit>
519+
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
520+
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
521+
<target state="new">NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</target>
522+
<note>{StrBegin="NETSDK1107: "}</note>
523+
</trans-unit>
519524
<trans-unit id="UsingPreviewSdkWarning">
520525
<source>NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview</source>
521526
<target state="translated">NETSDK1057: プレビュー版の .NET Core を使用しています。https://aka.ms/dotnet-core-preview をご覧ください</target>
522527
<note>{StrBegin="NETSDK1057: "}</note>
523528
</trans-unit>
529+
<trans-unit id="WindowsDesktopFrameworkRequiresUseWpfOrUseWindowsForms">
530+
<source>NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</source>
531+
<target state="new">NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</target>
532+
<note>{StrBegin="NETSDK1106: "}</note>
533+
</trans-unit>
534+
<trans-unit id="WindowsDesktopFrameworkRequiresVersion30">
535+
<source>NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</source>
536+
<target state="new">NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</target>
537+
<note>{StrBegin="NETSDK1105: "}</note>
538+
</trans-unit>
524539
<trans-unit id="WindowsDesktopFrameworkRequiresWindows">
525540
<source>NETSDK1100: Windows is required to build Windows desktop applications.</source>
526541
<target state="new">NETSDK1100: Windows is required to build Windows desktop applications.</target>

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,11 +516,26 @@ The following are names of parameters or literal values and should not be transl
516516
<target state="translated">NETSDK1045: 현재 .NET SDK에서는 {0} {1}을(를) 대상으로 하는 것을 지원하지 않습니다. {0} {2} 이하를 대상으로 하거나 {0} {1}을(를) 지원하는 .NET SDK 버전을 사용하세요.</target>
517517
<note>{StrBegin="NETSDK1045: "}</note>
518518
</trans-unit>
519+
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
520+
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
521+
<target state="new">NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</target>
522+
<note>{StrBegin="NETSDK1107: "}</note>
523+
</trans-unit>
519524
<trans-unit id="UsingPreviewSdkWarning">
520525
<source>NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview</source>
521526
<target state="translated">NETSDK1057: .NET Core의 미리 보기 버전을 사용 중입니다. 참조: https://aka.ms/dotnet-core-preview</target>
522527
<note>{StrBegin="NETSDK1057: "}</note>
523528
</trans-unit>
529+
<trans-unit id="WindowsDesktopFrameworkRequiresUseWpfOrUseWindowsForms">
530+
<source>NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</source>
531+
<target state="new">NETSDK1106: Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true'</target>
532+
<note>{StrBegin="NETSDK1106: "}</note>
533+
</trans-unit>
534+
<trans-unit id="WindowsDesktopFrameworkRequiresVersion30">
535+
<source>NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</source>
536+
<target state="new">NETSDK1105: Windows desktop applications are only supported on .NET Core 3.0 or higher.</target>
537+
<note>{StrBegin="NETSDK1105: "}</note>
538+
</trans-unit>
524539
<trans-unit id="WindowsDesktopFrameworkRequiresWindows">
525540
<source>NETSDK1100: Windows is required to build Windows desktop applications.</source>
526541
<target state="new">NETSDK1100: Windows is required to build Windows desktop applications.</target>

0 commit comments

Comments
 (0)