We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbd135c commit 5802427Copy full SHA for 5802427
1 file changed
Code/UsingMSBuildCopyOutputFileToFastDebug/LaunchSettingsParser.cs
@@ -41,7 +41,9 @@ public bool Execute()
41
var executablePath = keyValuePair.Value["executablePath"];
42
if (executablePath != null)
43
{
44
- LaunchMainProjectPath = executablePath.ToString();
+ // executablePath = C:\lindexi\foo\foo.exe
45
+ // 需要拿到的是文件夹
46
+ LaunchMainProjectPath = Path.GetDirectoryName(executablePath.ToString());
47
return true;
48
}
49
0 commit comments