This article lists and explains all Microsoft.Testing.Platform extensions related to the hosting capability.
Hot reloadHot reload lets you modify your app's managed source code while the application is running, without the need to manually pause or hit a breakpoint. Simply make a supported change while the app is running and select the Apply code changes button in Visual Studio to apply your edits.
Note
The current version is limited to supporting hot reload in "console mode" only. There is currently no support for hot reload in Test Explorer for Visual Studio or Visual Studio Code.
This extension is shipped as part of the Microsoft.Testing.Extensions.HotReload package.
You can easily enable hot reload support by setting the TESTINGPLATFORM_HOTRELOAD_ENABLED
environment variable to "1"
.
For SDK-style projects, you can add "TESTINGPLATFORM_HOTRELOAD_ENABLED": "1"
in the environmentVariables
section of the launchSettings.json
file. The following snippet shows an example file:
{
"profiles": {
"Contoso.MyTests": {
"commandName": "Project",
"environmentVariables": {
"TESTINGPLATFORM_HOTRELOAD_ENABLED": "1"
}
}
}
}
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. Additional resources In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4