Skip to content

Commit

Permalink
Fixing merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoslund committed Jul 23, 2020
1 parent cbedf95 commit aa0ee77
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 42 deletions.
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.cs.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.es.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.ja.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.ko.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.pl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.ru.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.tr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1045: "}</note>
</trans-unit>
<trans-unit id="UnsupportedTargetPlatformIdentifier">
<source>NETSDK1135: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1135: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1135: "}</note>
<source>NETSDK1136: The target platform identifier {0} was not recognized.</source>
<target state="new">NETSDK1136: The target platform identifier {0} was not recognized.</target>
<note>{StrBegin="NETSDK1136: "}</note>
</trans-unit>
<trans-unit id="UseWpfOrUseWindowsFormsRequiresWindowsDesktopFramework">
<source>NETSDK1107: Microsoft.NET.Sdk.WindowsDesktop is required to build Windows desktop applications. 'UseWpf' and 'UseWindowsForms' are not supported by the current SDK.</source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ public GivenThatWeWantToBuildWithATargetPlatform(ITestOutputHelper log) : base(l

[Theory]
[InlineData("netcoreapp3.1", ".NETCoreApp", "v3.1", "Windows", "7.0")] // Default values pre-5.0
[InlineData("net5.0", ".NETCoreApp", "v5.0", "", "")]
[InlineData("net5.0", ".NETCoreApp", "v5.0", "Windows", "7.0")]
[InlineData("net5.0-Windows7.0", ".NETCoreApp", "v5.0", "Windows", "7.0")]
[InlineData("net5.0-WINDOWS7.0", ".NETCoreApp", "v5.0", "Windows", "7.0")]
[InlineData("net5.0-windows", ".NETCoreApp", "v5.0", "Windows", "7.0")] // Depends on https://github.com/dotnet/wpf/pull/3177
[InlineData("net5.0-windows", ".NETCoreApp", "v5.0", "Windows", "7.0")]
[InlineData("net5.0-windows10.0.19041", ".NETCoreApp", "v5.0", "Windows", "10.0.19041")]
public void It_defines_target_platform_from_target_framework(string targetFramework, string expectedTargetFrameworkIdentifier, string expectedTargetFrameworkVersion, string expectedTargetPlatformIdentifier, string expectedTargetPlatformVersion)
{
Expand Down Expand Up @@ -81,7 +81,7 @@ public void It_fails_on_unsupported_os()
.Should()
.Fail()
.And
.HaveStdOutContaining("NETSDK1135");
.HaveStdOutContaining("NETSDK1136");
}
}
}

0 comments on commit aa0ee77

Please sign in to comment.