You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
When I run the CultureInfoGenerator directly , exception is thrown, appEnvironment is null.
maybe, the tool will be integrated into vs, but shall we give a default value when appEnvironment is null?
code change to :
_appName = appEnvironment != null ? "CultureInfoGenerator" : appEnvironment.ApplicationName;
_appPath = appEnvironment != null ? "" : appEnvironment.ApplicationBasePath;
another issue, in the Main method, the outputFilePath need changed from "../Microsoft.Framework.Globalization.CultureCache/CultureInfoList.cs" to
"../Microsoft.Framework.Globalization.CultureInfoCache/CultureInfoList.cs"
The text was updated successfully, but these errors were encountered:
@TelWang the CultureInfoGenerator works fine if we change the outputFilePath as you mentioned above, I don't face an issues with appEnvironment
@DamianEdwards we need to change the outputFilePath to "../Microsoft.Framework.Globalization.CultureInfoCache/CultureInfoList.cs" because the old value causes a DirectoryNotFoundException
When I run the CultureInfoGenerator directly , exception is thrown, appEnvironment is null.
maybe, the tool will be integrated into vs, but shall we give a default value when appEnvironment is null?
code change to :
_appName = appEnvironment != null ? "CultureInfoGenerator" : appEnvironment.ApplicationName;
_appPath = appEnvironment != null ? "" : appEnvironment.ApplicationBasePath;
another issue, in the Main method, the outputFilePath need changed from "../Microsoft.Framework.Globalization.CultureCache/CultureInfoList.cs" to
"../Microsoft.Framework.Globalization.CultureInfoCache/CultureInfoList.cs"
The text was updated successfully, but these errors were encountered: