diff --git a/src/modules/Projects/ProjectsLauncher/ProjectsLauncher.vcxproj b/src/modules/Projects/ProjectsLauncher/ProjectsLauncher.vcxproj
index d6d0c3e179..33acf93b69 100644
--- a/src/modules/Projects/ProjectsLauncher/ProjectsLauncher.vcxproj
+++ b/src/modules/Projects/ProjectsLauncher/ProjectsLauncher.vcxproj
@@ -1,45 +1,67 @@
-
-
+
+
+
+
+
+
+
+ Level3
+ false
+ true
+ stdcpplatest
+ /await %(AdditionalOptions)
+ _UNICODE;UNICODE;%(PreprocessorDefinitions)
+
+
+ Windows
+
+
+ true
+
+
+
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ Disabled
+ true
+ MultiThreadedDebug
+
+
+ true
+
+
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ MaxSpeed
+ false
+ MultiThreaded
+ true
+ true
+
+
+ true
+ true
+ true
+
+
+
- true
- true
- true
- true
- 15.0
- {2cac093e-5fcf-4102-9c2c-ac7dd5d9eb96}
+ 16.0
Win32Proj
+ {2cac093e-5fcf-4102-9c2c-ac7dd5d9eb96}
ProjectsLauncher
- 10.0.22621.0
- 10.0.17134.0
-
-
-
- Debug
- Win32
-
-
- Release
- Win32
-
-
- Debug
- x64
-
-
- Release
- x64
-
-
+
Application
v143
- v142
- v141
- v140
Unicode
+ Spectre
+
true
true
@@ -57,87 +79,81 @@
-
-
-
-
-
- Use
- pch.h
- $(IntDir)pch.pch
- _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions)
- Level4
- %(AdditionalOptions) /permissive- /bigobj
-
-
+
+ PowerToys.$(MSBuildProjectName)
+ ..\..\..\..\$(Platform)\$(Configuration)\
+
+
+ true
+
+
+ false
+
- Disabled
- _DEBUG;%(PreprocessorDefinitions)
- stdcpplatest
+ Level3
+ true
+ _DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+ ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories)
- Console
- false
- shcore.lib;Shell32.lib;propsys.lib;%(AdditionalDependencies)
+ Windows
+ true
+ shcore.lib;Shell32.lib;propsys.lib;%(AdditionalDependencies)
-
-
- WIN32;%(PreprocessorDefinitions)
-
-
- MaxSpeed
+ Level3
true
true
- NDEBUG;%(PreprocessorDefinitions)
- stdcpplatest
+ true
+ NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+ ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories)
- Console
+ Windows
true
true
- false
- shcore.lib;Shell32.lib;propsys.lib;%(AdditionalDependencies)
+ true
+ shcore.lib;Shell32.lib;propsys.lib;%(AdditionalDependencies)
-
-
- MultiThreadedDebug
+
+
+
+
+ Create
-
-
-
- MultiThreaded
-
-
+
-
-
-
- Create
-
+
-
-
+
+ {d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}
+
+
+ {6955446d-23f7-4023-9bb3-8657f904af99}
+
+
-
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
+
+
\ No newline at end of file
diff --git a/src/modules/Projects/ProjectsLauncher/ProjectsLauncher.vcxproj.filters b/src/modules/Projects/ProjectsLauncher/ProjectsLauncher.vcxproj.filters
index 535b5ff226..d91f2a79df 100644
--- a/src/modules/Projects/ProjectsLauncher/ProjectsLauncher.vcxproj.filters
+++ b/src/modules/Projects/ProjectsLauncher/ProjectsLauncher.vcxproj.filters
@@ -34,7 +34,6 @@
-
-
+
\ No newline at end of file
diff --git a/src/modules/Projects/ProjectsLauncher/main.cpp b/src/modules/Projects/ProjectsLauncher/main.cpp
index f0c03fffda..ccce7e2ac9 100644
--- a/src/modules/Projects/ProjectsLauncher/main.cpp
+++ b/src/modules/Projects/ProjectsLauncher/main.cpp
@@ -6,7 +6,7 @@
#include "AppLauncher.h"
-int main(int argc, char* argv[])
+int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hInstPrev, PSTR cmdline, int cmdshow)
{
// read projects
std::vector projects;
@@ -34,10 +34,12 @@ int main(int argc, char* argv[])
Project projectToLaunch = projects[0];
- if (argc > 1)
+ int len = MultiByteToWideChar(CP_ACP, 0, cmdline, -1, NULL, 0);
+ if (len > 1)
{
- std::string idStr = argv[1];
- std::wstring id(idStr.begin(), idStr.end());
+ std::wstring id(len, L'\0');
+ MultiByteToWideChar(CP_ACP, 0, cmdline, -1, &id[0], len);
+
for (const auto& proj : projects)
{
if (proj.id == id)
diff --git a/src/modules/Projects/ProjectsLauncher/packages.config b/src/modules/Projects/ProjectsLauncher/packages.config
index cbf6205e62..09bfc449e2 100644
--- a/src/modules/Projects/ProjectsLauncher/packages.config
+++ b/src/modules/Projects/ProjectsLauncher/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file