static std::string StandaloneOption("--standalone");
static std::string PaddingOption("--PADDING_TO_CHANGE_CMDLINE_PADDING_TO_CHANGE_CMDLINE_PADDING_TO_CHANGE_CMDLINE_PADDING_TO_CHANGE_CMDLINE");
static std::string AppTypeOption("--appType");
static std::string StandaloneOption("--standalone");
static std::string PaddingOption("--PADDING_TO_CHANGE_CMDLINE_PADDING_TO_CHANGE_CMDLINE_PADDING_TO_CHANGE_CMDLINE_PADDING_TO_CHANGE_CMDLINE");
static std::string AppTypeOption("--appType");
static std::string ProfileOption("--profile");
static std::string GlobalizationInvariantOption("--invariant");
static std::string ProfileOption("--profile");
static std::string GlobalizationInvariantOption("--invariant");
const char* appRootPath = NULL;
char appId[APPID_MAX_LENGTH] = {0,};
const char* appRootPath = NULL;
char appId[APPID_MAX_LENGTH] = {0,};
if (GlobalizationInvariantOption.compare(argv[i]) == 0) {
setenv("DOTNET_SYSTEM_GLOBALIZATION_INVARIANT", "1", 1);
if (GlobalizationInvariantOption.compare(argv[i]) == 0) {
setenv("DOTNET_SYSTEM_GLOBALIZATION_INVARIANT", "1", 1);
memset(argv[0], '\0', cmdlineSize);
snprintf(argv[0], cmdlineSize - 1, "%s", standalonePath);
memset(argv[0], '\0', cmdlineSize);
snprintf(argv[0], cmdlineSize - 1, "%s", standalonePath);
// initialize CoreRuntime
int err = CoreRuntime::initialize(appType, LaunchMode::launcher);
if (err) {
// initialize CoreRuntime
int err = CoreRuntime::initialize(appType, LaunchMode::launcher);
if (err) {