Skip to content

Commit d3fb2cb

Browse files
Merge pull request #10998 from MicrosoftDocs/main638902118421889445sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents f9a1ec1 + c102fce commit d3fb2cb

12 files changed

+34
-138
lines changed

.openpublishing.redirection.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "docs/ide/reference/options-text-editor-file-extension.md",
5+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/ide/reference/options-text-editor-file-extension",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path": "docs/ide/reference/international-settings-environment-options-dialog-box.md",
10+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/ide/reference/international-settings-environment-options-dialog-box",
11+
"redirect_document_id": false
12+
},
13+
{
14+
"source_path": "docs/ide/reference/go-to-line.md",
15+
"redirect_url": "/visualstudio/ide/go-to",
16+
"redirect_document_id": false
17+
},
318
{
419
"source_path": "docs/ide/reference/toolbox-data-tab.md",
520
"redirect_url": "/visualstudio/ide/reference/toolbox",

docs/ide/go-to.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,4 @@ Center window | Move the window to the center of the top of the code editor, ins
9393
## Related content
9494

9595
- [Navigate code](../ide/navigating-code.md)
96-
- [Go To Line dialog box](../ide/reference/go-to-line.md)
9796
- [Go To Definition and Peek Definition](../ide/go-to-and-peek-definition.md)

docs/ide/reference/go-to-line.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

docs/ide/reference/international-settings-environment-options-dialog-box.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

docs/ide/reference/lcid-devenv-exe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,5 @@ devenv /LCID 1033
7070
## See also
7171

7272
- [Devenv command-line switches](../../ide/reference/devenv-command-line-switches.md)
73-
- [International Settings, Environment, Options Dialog Box](../../ide/reference/international-settings-environment-options-dialog-box.md)
73+
- [International Settings, Environment, Options Dialog Box](/previous-versions/visualstudio/visual-studio-2017/ide/reference/international-settings-environment-options-dialog-box)
7474
- [Customizing window layouts](../../ide/customizing-window-layouts-in-visual-studio.md)

docs/ide/reference/options-text-editor-file-extension.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

docs/ide/reference/options-text-editor-general.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Use this control to toggle the editing context settings altogether, or personali
267267

268268
- [Options, Text Editor, All Languages](../../ide/reference/options-text-editor-all-languages.md)
269269
- [Options, Text Editor, All Languages, Tabs](../../ide/reference/options-text-editor-all-languages-tabs.md)
270-
- [Options, Text Editor, File Extension](../../ide/reference/options-text-editor-file-extension.md)
270+
- [Options, Text Editor, File Extension](/previous-versions/visualstudio/visual-studio-2017/ide/reference/options-text-editor-file-extension)
271271
- [Identifying and Customizing Keyboard Shortcuts](../../ide/identifying-and-customizing-keyboard-shortcuts-in-visual-studio.md)
272272
- [Customizing the Editor](../how-to-change-text-case-in-the-editor.md)
273273
- [Using IntelliSense](../../ide/using-intellisense.md)

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Unit testing JavaScript and TypeScript"
33
description: Explore unit testing support in Visual Studio for JavaScript and TypeScript code by using the Node.js Tools for Visual Studio.
4-
ms.date: "7/31/2025"
4+
ms.date: "8/6/2025"
55
ms.topic: "how-to"
66
ms.devlang: javascript
77
author: "mikejo5000"
@@ -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 this 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). 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

@@ -133,6 +133,16 @@ For some unit test frameworks, unit tests are typically run against the generate
133133
> [!NOTE]
134134
> Profiling tests and code coverage aren't currently supported.
135135
136+
## Run unit tests from the command line for a CLI-based project (.esproj)
137+
138+
You can run unit tests directly from the command line for your unit test framework the same way you would if you weren't using Visual Studio.
139+
140+
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.
141+
142+
```
143+
vstest.console .\MyProj.esproj /TestAdapterPath:"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\Microsoft\JavaScript"
144+
```
145+
136146
::: moniker-end
137147

138148
## Write unit tests for ASP.NET Core
@@ -356,7 +366,7 @@ The following example is based on the ASP.NET Core Model-View-Controller project
356366
357367
::: moniker range="vs-2022"
358368
> [!IMPORTANT]
359-
> If the output from **Tests** in the Output window shows a `ReadOnlySpan` error during test discovery, use this 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.
369+
> 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.
360370
::: moniker-end
361371

362372
### Run tests (ASP.NET Core)

docs/toc.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -906,8 +906,6 @@
906906
href: ide/reference/command-window.md
907907
- name: Error List window
908908
href: ide/reference/error-list-window.md
909-
- name: Go To Line
910-
href: ide/reference/go-to-line.md
911909
- name: Paste JSON or XML as classes
912910
href: ide/reference/paste-json-xml.md
913911
- name: Miscellaneous files
@@ -932,8 +930,6 @@
932930
href: ide/reference/fonts-and-colors-environment-options-dialog-box.md
933931
- name: Import and Export Settings
934932
href: ide/reference/import-and-export-settings-environment-options-dialog-box.md
935-
- name: International Settings
936-
href: ide/reference/international-settings-environment-options-dialog-box.md
937933
- name: Preview Features
938934
href: ide/reference/environment-preview-features-options.md
939935
- name: Trust Settings
@@ -954,8 +950,6 @@
954950
href: ide/reference/options-text-editor-general.md
955951
- name: Advanced
956952
href: ide/reference/options-text-editor-advanced.md
957-
- name: File Extension
958-
href: ide/reference/options-text-editor-file-extension.md
959953
- name: All Languages
960954
items:
961955
- name: General

docs/version-control/git-create-pull-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a pull request in Visual Studio
33
titleSuffix: ""
44
description: Create a pull request in Visual Studio by using GitHub or Azure DevOps.
5-
ms.date: 1/13/2025
5+
ms.date: 8/7/2025
66
ms.topic: how-to
77
author: ghogen
88
ms.author: ghogen

0 commit comments

Comments
 (0)