Skip to content

Commit

Permalink
Usability Fixes (#1478)
Browse files Browse the repository at this point in the history
User should not need to give /framework:FrameworkUap10 for Uwp projects.
Plus Fixed the string for /Tests option.
  • Loading branch information
singhsarab authored Mar 16, 2018
1 parent fdff623 commit 891387d
Show file tree
Hide file tree
Showing 19 changed files with 97 additions and 88 deletions.
3 changes: 2 additions & 1 deletion src/vstest.console/CommandLine/InferHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ private FrameworkName DetermineFrameworkName(IEnumerable<string> sources, IDicti
// possible for js files. So using default .NET Full framework version.
fx = new FrameworkName(Constants.DotNetFramework40);
}
else if (extension.Equals(".appx", StringComparison.OrdinalIgnoreCase))
else if (extension.Equals(".appx", StringComparison.OrdinalIgnoreCase)
|| extension.Equals(".appxrecipe", StringComparison.OrdinalIgnoreCase))
{
fx = new FrameworkName(Constants.DotNetFrameworkUap10);
}
Expand Down
8 changes: 4 additions & 4 deletions src/vstest.console/Resources/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/vstest.console/Resources/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
<value>--Framework|/Framework:&lt;Framework Version&gt;
Target .Net Framework version to be used for test execution.
Valid values are ".NETFramework,Version=v4.5.1", ".NETCoreApp,Version=v1.0" etc.
Other supported values are Framework35, Framework40, Framework45 and FrameworkCore10.</value>
Other supported values are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</value>
</data>
<data name="FrameworkVersionRequired" xml:space="preserve">
<value>The /Framework argument requires the target .Net Framework version for the test run. Example: /Framework:".NETFramework,Version=v4.5.1"</value>
Expand Down Expand Up @@ -317,7 +317,7 @@
<value>Argument {0} is not expected in the 'EnableCodeCoverage' command. Specify the command without the argument (Example: vstest.console.exe myTests.dll /EnableCodeCoverage) and try again.</value>
</data>
<data name="InvalidFrameworkVersion" xml:space="preserve">
<value>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45 and FrameworkCore10.</value>
<value>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</value>
</data>
<data name="InvalidInIsolationCommand" xml:space="preserve">
<value>Argument {0} is not expected in the 'InIsolation' command. Specify the command without the argument (Example: vstest.console.exe myTests.dll /InIsolation) and try again.</value>
Expand Down
12 changes: 6 additions & 6 deletions src/vstest.console/Resources/xlf/Resources.cs.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -747,12 +747,12 @@
<source>--Framework|/Framework:&lt;Framework Version&gt;
Target .Net Framework version to be used for test execution.
Valid values are ".NETFramework,Version=v4.5.1", ".NETCoreApp,Version=v1.0" etc.
Other supported values are Framework35, Framework40, Framework45 and FrameworkCore10.</source>
<target state="translated">--Framework|/Framework:&lt;Verze rozhraní&gt;
Other supported values are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</source>
<target state="new">--Framework|/Framework:&lt;Verze rozhraní&gt;
Cílová verze rozhraní .NET Framework, která se použije k provedení testu.
Platné hodnoty jsou ".NETFramework,Version=v4.5.1", ".NETCoreApp,Version=v1.0" atd.
Dalšími podporovanými hodnotami jsou Framework35, Framework40, Framework45 a FrameworkCore10.</target>
<note />
<note></note>
<alt-trans match-quality="100%" tool="BlackBox/MSR MT">
<target state-qualifier="mt-suggestion">--Framework | / Framework: &lt; Framework verze &gt;
Cílové rozhraní .net Framework verze pro spuštění testu.
Expand All @@ -771,9 +771,9 @@
<note from="bb-metadata">fuzzyMatch="15" wordcount="16" adjWordcount="13.6" curWordcount="13.6"</note>
</trans-unit>
<trans-unit id="InvalidFrameworkVersion">
<source>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45 and FrameworkCore10.</source>
<target state="translated">Neplatná verze rozhraní .NET Framework: {0}. Zadejte prosím úplný název cílového rozhraní. Dalšími podporovanými verzemi jsou Framework35, Framework40, Framework45 a FrameworkCore10.</target>
<note />
<source>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</source>
<target state="new">Neplatná verze rozhraní .NET Framework: {0}. Zadejte prosím úplný název cílového rozhraní. Dalšími podporovanými verzemi jsou Framework35, Framework40, Framework45 a FrameworkCore10.</target>
<note></note>
<alt-trans match-quality="100%" tool="BlackBox/MSR MT">
<target state-qualifier="mt-suggestion">Neplatné rozhraní .net Framework verze: {0}. uveďte, prosím, fullname TargetFramework. Ostatní podporované rozhraní .net Framework verze jsou Framework35, Framework40 a Framework45.</target>
</alt-trans>
Expand Down
12 changes: 6 additions & 6 deletions src/vstest.console/Resources/xlf/Resources.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -747,12 +747,12 @@
<source>--Framework|/Framework:&lt;Framework Version&gt;
Target .Net Framework version to be used for test execution.
Valid values are ".NETFramework,Version=v4.5.1", ".NETCoreApp,Version=v1.0" etc.
Other supported values are Framework35, Framework40, Framework45 and FrameworkCore10.</source>
<target state="translated">--Framework|/Framework:&lt; Frameworkversion &gt;
Other supported values are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</source>
<target state="new">--Framework|/Framework:&lt; Frameworkversion &gt;
Die .NET Framework-Zielversion, die für die Testausführung verwendet werden soll.
Gültige Werte sind ".NETFramework,Version=v4.5.1", ".NETCoreApp,Version=v1.0 " usw.
Weitere unterstützte Werte sind "Framework35", "Framework40", "Framework45" und "FrameworkCore10".</target>
<note />
<note></note>
<alt-trans match-quality="100%" tool="BlackBox/MSR MT">
<target state-qualifier="mt-suggestion">-Framework | / Framework: &lt; Frameworkversion &gt;
Ziel von .net Framework-Version für die Ausführung verwendet werden.
Expand All @@ -771,9 +771,9 @@
<note from="bb-metadata">fuzzyMatch="15" wordcount="16" adjWordcount="13.6" curWordcount="13.6"</note>
</trans-unit>
<trans-unit id="InvalidFrameworkVersion">
<source>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45 and FrameworkCore10.</source>
<target state="translated">Ungültige .NET Framework-Version: {0}. Geben Sie den vollständigen Namen von TargetFramework an. Weitere unterstützte .NET Framework-Versionen sind "Framework35", "Framework40", "Framework45" und "FrameworkCore10".</target>
<note />
<source>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</source>
<target state="new">Ungültige .NET Framework-Version: {0}. Geben Sie den vollständigen Namen von TargetFramework an. Weitere unterstützte .NET Framework-Versionen sind "Framework35", "Framework40", "Framework45" und "FrameworkCore10".</target>
<note></note>
<alt-trans match-quality="100%" tool="BlackBox/MSR MT">
<target state-qualifier="mt-suggestion">Ungültige .net Framework-Version: {0}. Geben Fullname der TargetFramework. Andere unterstützt .net Framework-Versionen sind Framework35, Framework40 und Framework45.</target>
</alt-trans>
Expand Down
12 changes: 6 additions & 6 deletions src/vstest.console/Resources/xlf/Resources.es.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -749,12 +749,12 @@
<source>--Framework|/Framework:&lt;Framework Version&gt;
Target .Net Framework version to be used for test execution.
Valid values are ".NETFramework,Version=v4.5.1", ".NETCoreApp,Version=v1.0" etc.
Other supported values are Framework35, Framework40, Framework45 and FrameworkCore10.</source>
<target state="translated">--Framework|/Framework:&lt;VersiónDeMarco&gt;
Other supported values are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</source>
<target state="new">--Framework|/Framework:&lt;VersiónDeMarco&gt;
Versión de .Net Framework de destino que debe usarse para la ejecución de pruebas.
Los valores válidos son: ".NETFramework,Version=v4.5.1", ".NETCoreApp,Version=v1.0", etc.
Otros valores admitidos son: Framework35, Framework40, Framework45 y FrameworkCore10.</target>
<note />
<note></note>
<alt-trans match-quality="100%" tool="BlackBox/MSR MT">
<target state-qualifier="mt-suggestion">--Framework | / Framework: &lt; versión de Framework &gt;
Trabajar en .net Framework versión que se utilizará para la ejecución de la prueba.
Expand All @@ -773,9 +773,9 @@
<note from="bb-metadata">fuzzyMatch="15" wordcount="16" adjWordcount="13.6" curWordcount="13.6"</note>
</trans-unit>
<trans-unit id="InvalidFrameworkVersion">
<source>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45 and FrameworkCore10.</source>
<target state="translated">Versión de .Net Framework no válida ({0}). Proporcione el nombre completo de la plataforma de destino. Otras versiones de .Net Framework admitidas son Framework35, Framework40, Framework45 y FrameworkCore10.</target>
<note />
<source>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</source>
<target state="new">Versión de .Net Framework no válida ({0}). Proporcione el nombre completo de la plataforma de destino. Otras versiones de .Net Framework admitidas son Framework35, Framework40, Framework45 y FrameworkCore10.</target>
<note></note>
<alt-trans match-quality="100%" tool="BlackBox/MSR MT">
<target state-qualifier="mt-suggestion">Válido .net Framework versión: {0}. proporcione el nombre completo de la TargetFramework. Sí admite .net Framework versiones son Framework35, Framework40 y Framework45.</target>
</alt-trans>
Expand Down
12 changes: 6 additions & 6 deletions src/vstest.console/Resources/xlf/Resources.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -747,12 +747,12 @@
<source>--Framework|/Framework:&lt;Framework Version&gt;
Target .Net Framework version to be used for test execution.
Valid values are ".NETFramework,Version=v4.5.1", ".NETCoreApp,Version=v1.0" etc.
Other supported values are Framework35, Framework40, Framework45 and FrameworkCore10.</source>
<target state="translated">--Framework|/Framework:&lt;version du framework&gt;
Other supported values are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</source>
<target state="new">--Framework|/Framework:&lt;version du framework&gt;
Version cible du .Net Framework à utiliser pour l'exécution des tests.
Les valeurs valides sont : ".NETFramework,Version=v4.5.1", ".NETCoreApp,Version=v1.0", etc.
Les autres valeurs prises en charge sont Framework35, Framework40, Framework45 et FrameworkCore10.</target>
<note />
<note></note>
<alt-trans match-quality="100%" tool="BlackBox/MSR MT">
<target state-qualifier="mt-suggestion">--Framework | / Framework : &lt; Version .NET Framework &gt;
Ciblez .net version de Framework à utiliser pour l’exécution du test.
Expand All @@ -771,9 +771,9 @@
<note from="bb-metadata">fuzzyMatch="15" wordcount="16" adjWordcount="13.6" curWordcount="13.6"</note>
</trans-unit>
<trans-unit id="InvalidFrameworkVersion">
<source>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45 and FrameworkCore10.</source>
<target state="translated">Version non valide du .Net Framework : {0}. Indiquez le nom complet de TargetFramework. Les autres versions du .Net Framework prises en charge sont Framework35, Framework40, Framework45 et FrameworkCore10.</target>
<note />
<source>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</source>
<target state="new">Version non valide du .Net Framework : {0}. Indiquez le nom complet de TargetFramework. Les autres versions du .Net Framework prises en charge sont Framework35, Framework40, Framework45 et FrameworkCore10.</target>
<note></note>
<alt-trans match-quality="100%" tool="BlackBox/MSR MT">
<target state-qualifier="mt-suggestion">Non valide .net version du Framework : {0}. Veuillez donner le nom complet de la TargetFramework. Autre prise en charge de .net Framework versions sont Framework35, Framework40 et Framework45.</target>
</alt-trans>
Expand Down
12 changes: 6 additions & 6 deletions src/vstest.console/Resources/xlf/Resources.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -747,12 +747,12 @@
<source>--Framework|/Framework:&lt;Framework Version&gt;
Target .Net Framework version to be used for test execution.
Valid values are ".NETFramework,Version=v4.5.1", ".NETCoreApp,Version=v1.0" etc.
Other supported values are Framework35, Framework40, Framework45 and FrameworkCore10.</source>
<target state="translated">--Framework|/Framework:&lt;Versione framework&gt;
Other supported values are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</source>
<target state="new">--Framework|/Framework:&lt;Versione framework&gt;
Versione di .NET Framework di destinazione da usare per l'esecuzione dei test.
Valori validi: ".NETFramework,Version=v4.5.1", ".NETCoreApp,Version=v1.0" e così via.
Altri valori supportati: Framework35, Framework40, Framework45 e FrameworkCore10.</target>
<note />
<note></note>
<alt-trans match-quality="100%" tool="BlackBox/MSR MT">
<target state-qualifier="mt-suggestion">-Framework | / Framework: &lt; versione Framework &gt;
Destinazione di .net Framework versione da utilizzare per l'esecuzione del test.
Expand All @@ -771,9 +771,9 @@
<note from="bb-metadata">fuzzyMatch="15" wordcount="16" adjWordcount="13.6" curWordcount="13.6"</note>
</trans-unit>
<trans-unit id="InvalidFrameworkVersion">
<source>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45 and FrameworkCore10.</source>
<target state="translated">La versione di .NET Framework {0} non è valida. Specificare il nome completo della versione di .NET Framework di destinazione. Altre versioni di .NET Framework supportate: Framework35, Framework40, Framework45 e FrameworkCore10.</target>
<note />
<source>Invalid .Net Framework version:{0}. Please give the fullname of the TargetFramework. Other supported .Net Framework versions are Framework35, Framework40, Framework45, FrameworkCore10 and FrameworkUap10.</source>
<target state="new">La versione di .NET Framework {0} non è valida. Specificare il nome completo della versione di .NET Framework di destinazione. Altre versioni di .NET Framework supportate: Framework35, Framework40, Framework45 e FrameworkCore10.</target>
<note></note>
<alt-trans match-quality="100%" tool="BlackBox/MSR MT">
<target state-qualifier="mt-suggestion">.Net valida versione Framework: {0}. assegnare fullname del TargetFramework. Altro supportato di .net Framework versioni sono Framework35, Framework40 e Framework45.</target>
</alt-trans>
Expand Down
Loading

0 comments on commit 891387d

Please sign in to comment.