Skip to content

Repo sync for protected branch #10286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 20, 2024
4 changes: 3 additions & 1 deletion docs/debugger/debugging-absolute-beginners.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ Next, you create an application that has a few bugs.

1. Open Visual Studio.

On the start window, choose **Create a new project**. Type **console** in the search box, select either **C#** or **Visual Basic** as the language, and then choose **Console App** for .NET. Choose **Next**. Type a project name like **ConsoleApp_FirstApp** and select **Next**.
On the start window, choose **Create a new project**. Type **console** in the search box, select either **C#** or **Visual Basic** as the language, and then choose **Console App** for .NET. Choose **Next**. Type **ConsoleApp_FirstApp** as the project name and select **Next**.

If you use a different project name, you will need to modify the namespace value to match your project name when you copy the example code.

Choose either the recommended target framework or .NET 8, and then choose **Create**.

Expand Down
2 changes: 1 addition & 1 deletion docs/javascript/debug-nodejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ with this code:
```javascript
output: {
filename: "./app-bundle.js", // Replace with the filename in your project
devtoolModuleFilenameTemplate: '[resource-path]' // Removes the webpack:/// prefix
devtoolModuleFilenameTemplate: '[absolute-resource-path]' // Removes the webpack:/// prefix
},
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ The **RunConfiguration** element can include the following elements:
|**TreatTestAdapterErrorsAsWarnings**|false|false, true|
|**TestAdaptersPaths**||One or more paths to the directory where the TestAdapters are located|
|**TestCaseFilter**|| A filter expression in the format \<property>\<operator>\<value>[\|\&amp;\<Expression>]. The boolean operator **\&** should be represented by the HTML entity **\&amp;**. Expressions can be enclosed in parentheses. For detailed syntax on expression structure, see [vstest/docs/filter.md](https://github.com/microsoft/vstest/blob/main/docs/filter.md). |
|**TestSessionTimeout**||Allows users to terminate a test session when it exceeds a given timeout. Setting a timeout ensures that resources are well consumed and test sessions are constrained to a set time. The setting is available in **Visual Studio 2017 version 15.5** and later.|
|**TestSessionTimeout**||Allows users to terminate a test session when it exceeds a given timeout, specified in milliseconds. Setting a timeout ensures that resources are well consumed and test sessions are constrained to a set time. The setting is available in **Visual Studio 2017 version 15.5** and later.|
|**DotnetHostPath**||Specify a custom path to dotnet host that is used to run the testhost. It's useful when you're building your own dotnet, for example when building the dotnet/runtime repository. Specifying this option skips looking for testhost.exe, and forces the use of testhost.dll.|
|**TreatNoTestsAsError**|false| true or false <br>Specify a Boolean value, which defines the exit code when no tests are discovered. If the value is `true` and no tests are discovered, a nonzero exit code is returned. Otherwise, zero is returned.|

Expand Down
8 changes: 4 additions & 4 deletions docs/test/remote-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,16 @@ For a Dockerfile, the environment can be specified in the *testEnvironments.json
}
```

The following example shows the *testenvironments.json* file for a local container image named `<mcr.microsoft.com/dotnet/core/sdk>`.
The following example shows the *testenvironments.json* file for a local container image named `<mcr.microsoft.com/dotnet/sdk>`.

```json
{
"version": "1",
"environments": [
{
"name": "linux dotnet-core-sdk-3.1",
"name": "linux dotnet-sdk-5.0",
"type": "docker",
"dockerImage": "mcr.microsoft.com/dotnet/core/sdk"
"dockerImage": "mcr.microsoft.com/dotnet/sdk"
}
]
}
Expand All @@ -96,7 +96,7 @@ The following example shows the *testenvironments.json* file for a local contain
The following example shows a Dockerfile for running tests targeting .NET 5.0. The second line makes sure the debugger can connect and run in your container.

```dockerfile
FROM mcr.microsoft.com/dotnet/core/sdk:5.0
FROM mcr.microsoft.com/dotnet/sdk:5.0

RUN wget https://aka.ms/getvsdbgsh && \
sh getvsdbgsh -v latest -l /vsdbg
Expand Down