Skip to content

Commit bd5ae15

Browse files
committed
edits
1 parent 1da8126 commit bd5ae15

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

docs/debugger/using-the-intellitrace-stand-alone-collector.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,12 @@ The **IntelliTrace stand-alone collector** lets you collect IntelliTrace diagnos
7171
2. Get the collector from the Visual Studio installation folder.
7272

7373
1. Copy IntelliTraceCollection.cab from the folder where the collector is installed, for example:
74-
74+
::: moniker range=">=visualstudio"
75+
**..\Microsoft Visual Studio\18\Enterprise\Common7\IDE\CommonExtensions\Microsoft\IntelliTrace**
76+
::: moniker-end
77+
::: moniker range="<=vs-2022"
7578
**..\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\IntelliTrace**
79+
::: moniker-end
7680

7781
or, for previous versions of Visual Studio:
7882

docs/javascript/unit-testing-javascript-with-visual-studio.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ The following example is based on the TypeScript React project template provided
115115
> For TypeScript, don't use the `outfile` option in *tsconfig.json*, because Test Explorer won't be able to find your unit tests. You can use the `outdir` option, but make sure that configuration files such as `package.json` and `tsconfig.json` are in the project root.
116116
117117
> [!IMPORTANT]
118-
> If the output from **Tests** in the Output window shows a `ReadOnlySpan` error during test discovery, use the following workaround for a known [MSBuild issue](https://github.com/dotnet/msbuild/issues/7873). Open the folder, *Program Files\Microsoft Visual Studio\2022\\<version\>\Common7\IDE\Extensions\TestPlatform*, and rename *System.Memory.dll* to a different name. This fix enables test discovery.
118+
> If the output from **Tests** in the Output window shows a `ReadOnlySpan` error during test discovery, use the following workaround for a known [MSBuild issue](https://github.com/dotnet/msbuild/issues/7873). For Visual Studio 2022, open the folder, *Program Files\Microsoft Visual Studio\2022\\<version\>\Common7\IDE\Extensions\TestPlatform*, and rename *System.Memory.dll* to a different name. This fix enables test discovery.
119119
120120
### Run tests (.esproj)
121121

@@ -139,9 +139,17 @@ You can run unit tests directly from the command line for your unit test framewo
139139

140140
You may also choose to run the tests from the command line using *vstest.console*. For example, you may want to use vstest.console to maintain consistency with C# unit tests, or to run in Azure DevOps. Use the following command, but replace `MyProj` with your project name.
141141

142+
::: moniker range=">=visualstudio"
143+
```
144+
vstest.console .\MyProj.esproj /TestAdapterPath:"C:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\IDE\Extensions\Microsoft\JavaScript"
145+
```
146+
::: moniker-end
147+
148+
::: moniker range="vs-2022"
142149
```
143150
vstest.console .\MyProj.esproj /TestAdapterPath:"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\Microsoft\JavaScript"
144151
```
152+
::: moniker-end
145153

146154
::: moniker-end
147155

docs/profiling/profile-apps-from-command-line.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ Profiling using the Visual Studio Diagnostics CLI tools works by attaching the p
4040

4141
1. Open a command prompt and change to the directory with the collection agent executable, typically here (for Visual Studio Enterprise).
4242

43-
::: moniker range=">= vs-2022"
43+
::: moniker range=">=visualstudio"
44+
`<Visual Studio installation folder>\18\Enterprise\Team Tools\DiagnosticsHub\Collector\`
45+
::: moniker-end
46+
::: moniker range="vs-2022"
4447
`<Visual Studio installation folder>\2022\Enterprise\Team Tools\DiagnosticsHub\Collector\`
4548
::: moniker-end
4649
::: moniker range="vs-2019"

docs/test/migrate-testsettings-to-runsettings.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ ms.subservice: test-tools
1313
# Upgrade from .testsettings to .runsettings
1414

1515
You can upgrade your test configuration file from *.testsettings* to *.runsettings* with the SettingsMigrator tool that installs along with Visual Studio. Depending on your Visual Studio install location, you can find the settings migrator tool in the following path:
16-
::: moniker range=">=vs-2022"
16+
::: moniker range=">=visualstudio"
17+
`C:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\IDE\Extensions\TestPlatform\SettingsMigrator.exe`
18+
::: moniker-end
19+
::: moniker range="vs-2022"
1720
`C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\TestPlatform\SettingsMigrator.exe`
1821
::: moniker-end
1922
::: moniker range="vs-2019"

0 commit comments

Comments
 (0)