|
17 | 17 | "request": "launch",
|
18 | 18 | "runtimeExecutable": "${execPath}",
|
19 | 19 | "args": [
|
20 |
| - // Create a temp profile that has no extensions / user settings. |
21 |
| - // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
22 |
| - "--profile-temp", |
23 |
| - "${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj/.vscode/lsp_tools_host_slnWithCsproj.code-workspace", |
| 20 | + // Launch VSCode using a specific profile to ensure that user settings are not used. |
| 21 | + // This profile must be imported into vscode before running this launch configuration. |
| 22 | + // The profile can be found under /test/csharp-standalone-profile. |
| 23 | + "--profile", |
| 24 | + "csharp-standalone-profile", |
| 25 | + "${workspaceRoot}/test/lsptoolshost/integrationTests/testAssets/slnWithCsproj/.vscode/lsp_tools_host_slnWithCsproj.code-workspace", |
24 | 26 | "--extensionDevelopmentPath=${workspaceRoot}",
|
25 |
| - "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests" |
| 27 | + "--extensionTestsPath=${workspaceRoot}/out/test/lsptoolshost/integrationTests" |
26 | 28 | ],
|
27 | 29 | "env": {
|
28 | 30 | "CODE_EXTENSIONS_PATH": "${workspaceRoot}",
|
|
40 | 42 | "request": "launch",
|
41 | 43 | "runtimeExecutable": "${execPath}",
|
42 | 44 | "args": [
|
43 |
| - // Create a temp profile that has no extensions / user settings. |
44 |
| - // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
45 |
| - "--profile-temp", |
46 |
| - "${workspaceRoot}/test/razorIntegrationTests/testAssets/BasicRazorApp2_1/.vscode/lsp_tools_host_BasicRazorApp2_1.code-workspace", |
| 45 | + // Launch VSCode using a specific profile to ensure that user settings are not used. |
| 46 | + // This profile must be imported into vscode before running this launch configuration. |
| 47 | + // The profile can be found under /test/csharp-standalone-profile. |
| 48 | + "--profile", |
| 49 | + "csharp-standalone-profile", |
| 50 | + "${workspaceRoot}/test/razor/razorIntegrationTests/testAssets/BasicRazorApp2_1/.vscode/lsp_tools_host_BasicRazorApp2_1.code-workspace", |
47 | 51 | "--extensionDevelopmentPath=${workspaceRoot}",
|
48 |
| - "--extensionTestsPath=${workspaceRoot}/out/test/razorIntegrationTests" |
| 52 | + "--extensionTestsPath=${workspaceRoot}/out/test/razor/razorIntegrationTests" |
49 | 53 | ],
|
50 | 54 | "env": {
|
51 | 55 | "CODE_EXTENSIONS_PATH": "${workspaceRoot}",
|
|
63 | 67 | "request": "launch",
|
64 | 68 | "runtimeExecutable": "${execPath}",
|
65 | 69 | "args": [
|
66 |
| - // Create a temp profile that has no extensions / user settings. |
67 |
| - // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
68 |
| - "--profile-temp", |
69 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/${input:omnisharpAssetName}/.vscode/omnisharp_${input:omnisharpAssetName}.code-workspace", |
| 70 | + // Launch VSCode using a specific profile to ensure that user settings are not used. |
| 71 | + // This profile must be imported into vscode before running this launch configuration. |
| 72 | + // The profile can be found under /test/csharp-standalone-profile. |
| 73 | + "--profile", |
| 74 | + "csharp-standalone-profile", |
| 75 | + "${workspaceRoot}/test/omnisharp/omnisharpIntegrationTests/testAssets/${input:omnisharpAssetName}/.vscode/omnisharp_${input:omnisharpAssetName}.code-workspace", |
70 | 76 | "--extensionDevelopmentPath=${workspaceRoot}",
|
71 |
| - "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests" |
| 77 | + "--extensionTestsPath=${workspaceRoot}/out/test/omnisharp/omnisharpIntegrationTests" |
72 | 78 | ],
|
73 | 79 | "env": {
|
74 | 80 | "CODE_EXTENSIONS_PATH": "${workspaceRoot}",
|
|
86 | 92 | "request": "launch",
|
87 | 93 | "runtimeExecutable": "${execPath}",
|
88 | 94 | "args": [
|
89 |
| - // Create a temp profile that has no extensions / user settings. |
90 |
| - // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
91 |
| - "--profile-temp", |
92 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/${input:omnisharpAssetName}/.vscode/omnisharp_lsp_${input:omnisharpAssetName}.code-workspace", |
| 95 | + // Launch VSCode using a specific profile to ensure that user settings are not used. |
| 96 | + // This profile must be imported into vscode before running this launch configuration. |
| 97 | + // The profile can be found under /test/csharp-standalone-profile. |
| 98 | + "--profile", |
| 99 | + "csharp-standalone-profile", |
| 100 | + "${workspaceRoot}/test/omnisharp/omnisharpIntegrationTests/testAssets/${input:omnisharpAssetName}/.vscode/omnisharp_lsp_${input:omnisharpAssetName}.code-workspace", |
93 | 101 | "--extensionDevelopmentPath=${workspaceRoot}",
|
94 |
| - "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests" |
| 102 | + "--extensionTestsPath=${workspaceRoot}/out/test/omnisharp/omnisharpIntegrationTests" |
95 | 103 | ],
|
96 | 104 | "env": {
|
97 | 105 | "CODE_EXTENSIONS_PATH": "${workspaceRoot}",
|
|
0 commit comments