Fix VSLANG handling typo
This commit is contained in:
parent
85573db000
commit
368531715e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue