Fix VSLANG handling typo

This commit is contained in:
Nick Guerrera 2017-07-19 11:51:38 -07:00
parent 85573db000
commit 368531715e

View file

@ -51,7 +51,7 @@ namespace Microsoft.DotNet.Cli
// VSLANG=<lcid> is set by VS and we respect that as well so that we will respect the VS
// language preference if we're invoked by VS.
string vsLang = Environment.GetEnvironmentVariable(VSLANG);
if (vsLang != null && int.TryParse(VSLANG, out int vsLcid))
if (vsLang != null && int.TryParse(vsLang, out int vsLcid))
{
try
{