Skip to content

Commit cf96df0

Browse files
author
Colin Robertson
authored
Merge pull request #1194 from MicrosoftDocs/FromPublicMaster
Confirm merge from FromPublicMaster to master to sync with https://github.com/MicrosoftDocs/visualstudio-docs (branch master)
2 parents 215f44f + c539b9b commit cf96df0

6 files changed

+21
-24
lines changed

docs/debugger/how-to-use-the-threads-window.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ To begin this tutorial, you need a multithreaded application project. Follow the
5555

5656
```VB
5757
Thread.Sleep(3000)
58-
Console.WriteLine(
58+
Console.WriteLine()
5959
```
6060

6161
```CSharp
@@ -259,4 +259,4 @@ You can freeze and thaw (suspend and resume) threads to control the order in whi
259259

260260
## See Also
261261
[Debug Multithreaded Applications](../debugger/debug-multithreaded-applications-in-visual-studio.md)
262-
[How to: Switch to Another Thread While Debugging](../debugger/how-to-switch-to-another-thread-while-debugging.md)
262+
[How to: Switch to Another Thread While Debugging](../debugger/how-to-switch-to-another-thread-while-debugging.md)

docs/debugger/walkthrough-writing-a-visualizer-in-csharp.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ ms.tgt_pltfrm: ""
1010
ms.topic: "article"
1111
dev_langs:
1212
- "CSharp"
13-
- "VB"
14-
- "FSharp"
15-
- "C++"
1613
helpviewer_keywords:
1714
- "visualizers, writing"
1815
- "walkthroughs [Visual Studio], visualizers"
@@ -67,7 +64,7 @@ Follow the tasks below to create a visualizer.
6764

6865
6. In DebuggerSide.cs, add the following statement to the `using` statements:
6966

70-
```
67+
```csharp
7168
using Microsoft.VisualStudio.DebuggerVisualizers;
7269
```
7370

@@ -77,13 +74,13 @@ Follow the tasks below to create a visualizer.
7774

7875
1. In DebuggerSide.cs, go to the following line of code:
7976

80-
```
77+
```csharp
8178
public class DebuggerSide
8279
```
8380

8481
2. Change the code to:
8582

86-
```
83+
```csharp
8784
public class DebuggerSide : DialogDebuggerVisualizer
8885
```
8986

@@ -93,8 +90,8 @@ Follow the tasks below to create a visualizer.
9390

9491
- In `public class DebuggerSide`, add the following **method:**
9592

96-
```
97-
override protected void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
93+
```csharp
94+
protected override void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
9895
{
9996
}
10097
```
@@ -111,7 +108,7 @@ Follow the tasks below to create a visualizer.
111108

112109
4. In DebuggerSide.cs, add the following statement to the `using` statements:
113110

114-
```
111+
```csharp
115112
using System.Windows.Forms;
116113
```
117114

@@ -121,7 +118,7 @@ Follow the tasks below to create a visualizer.
121118

122119
1. In the `Show` method, add the following line of code:
123120

124-
```
121+
```csharp
125122
MessageBox.Show(objectProvider.GetObject().ToString());
126123
```
127124

@@ -135,12 +132,12 @@ Follow the tasks below to create a visualizer.
135132

136133
1. Add the following attribute code to DebuggerSide.cs, after the `using` statements but before `namespace MyFirstVisualizer`:
137134

138-
```
135+
```csharp
139136
[assembly:System.Diagnostics.DebuggerVisualizer(
140137
typeof(MyFirstVisualizer.DebuggerSide),
141138
typeof(VisualizerObjectSource),
142-
Target = typeof(System.String),
143-
Description = "My First Visualizer")]
139+
Target = typeof(System.String),
140+
Description = "My First Visualizer")]
144141
```
145142

146143
2. On the **Build** menu, choose **Build MyFirstVisualizer**. The project should build successfully. Correct any build errors before continuing.
@@ -151,7 +148,7 @@ Follow the tasks below to create a visualizer.
151148

152149
1. Add the following method to class `public DebuggerSide`:
153150

154-
```
151+
```csharp
155152
public static void TestShowVisualizer(object objectToVisualize)
156153
{
157154
VisualizerDevelopmentHost visualizerHost = new VisualizerDevelopmentHost(objectToVisualize, typeof(DebuggerSide));
@@ -201,13 +198,13 @@ Follow the tasks below to create a visualizer.
201198

202199
3. In TestConsole.cs, add the following code to the `using` statements:
203200

204-
```
201+
```csharp
205202
using MyFirstVisualizer;
206203
```
207204

208205
4. In method `Main`, add the following code:
209206

210-
```
207+
```csharp
211208
String myString = "Hello, World";
212209
DebuggerSide.TestShowVisualizer(myString);
213210
```

docs/designers/walkthrough-my-first-wpf-desktop-application2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ In this section, you'll create the application infrastructure, which includes th
266266
267267
1. Choose the following image and save it as `watermark.png`.
268268
269-
![Watermark image for walkthrough](../designers/media/wpf_watermark.png "WPF_watermark")
269+
![Watermark image for walkthrough](../designers/media/wpf_watermark.png "watermark")
270270
271271
> [!NOTE]
272272
> Alternatively you can create your own image and save it as `watermark.png`.
@@ -885,4 +885,4 @@ In this section, you'll create the application infrastructure, which includes th
885885
- [Documents in WPF](/dotnet/framework/wpf/advanced/documents-in-wpf)
886886

887887
## See Also
888-
[Create Modern Desktop Applications with Windows Presentation Foundation](../designers/create-modern-desktop-applications-with-windows-presentation-foundation.md)
888+
[Create Modern Desktop Applications with Windows Presentation Foundation](../designers/create-modern-desktop-applications-with-windows-presentation-foundation.md)

docs/ide/synchronized-settings-in-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ By default, the following settings are synchronized.
5050

5151
## Turn off synchronized settings on a particular computer
5252

53-
Synchronized settings for Visual Studio are turned on by default. You can turn off synchronized settings on a computer by going to the **Tools | Options | Environment | Synchronized Settings** page and unchecking the checkbox. For example, if you decide not to synchronize Visual Studio's settings on Computer A, any setting changes made on Computer A do not appear on Computer B or Computer C. Computer B and C will continue to synchronize with each other, but not with Computer A.
53+
Synchronized settings for Visual Studio are turned on by default. You can turn off synchronized settings on a computer by going to the **Tools | Options | Environment | Accounts** page and unchecking the checkbox. For example, if you decide not to synchronize Visual Studio's settings on Computer A, any setting changes made on Computer A do not appear on Computer B or Computer C. Computer B and C will continue to synchronize with each other, but not with Computer A.
5454

5555
## Synchronize settings across Visual Studio family products and editions
5656

docs/msbuild/msbuild-conditions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ms.workload:
3131
|---------------|-----------------|
3232
|'`stringA`' == '`stringB`'|Evaluates to `true` if `stringA` equals `stringB`.<br /><br /> For example:<br /><br /> `Condition="'$(CONFIG)'=='DEBUG'"`<br /><br /> Single quotes are not required for simple alphanumeric strings or boolean values. However, single quotes are required for empty values.|
3333
|'`stringA`' != '`stringB`'|Evaluates to `true` if `stringA` is not equal to `stringB`.<br /><br /> For example:<br /><br /> `Condition="'$(CONFIG)'!='DEBUG'"`<br /><br /> Single quotes are not required for simple alphanumeric strings or boolean values. However, single quotes are required for empty values.|
34-
|\<, >, \<=, >=|Evaluates the numeric values of the operands. Returns `true` if the relational evaluation is true. Operands must evaluate to a decimal or hexadecimal number. Hexadecimal numbers must begin with "0x". **Note:** In XML, the characters `<` and `>` must be escaped. The symbol `<` is represented as `<`. The symbol `>` is represented as `>`.|
34+
|\<, >, \<=, >=|Evaluates the numeric values of the operands. Returns `true` if the relational evaluation is true. Operands must evaluate to a decimal or hexadecimal number. Hexadecimal numbers must begin with "0x". **Note:** In XML, the characters `<` and `>` must be escaped. The symbol `<` is represented as `&lt;`. The symbol `>` is represented as `&gt;`.|
3535
|Exists('`stringA`')|Evaluates to `true` if a file or folder with the name `stringA` exists.<br /><br /> For example:<br /><br /> `Condition="!Exists('$(builtdir)')"`<br /><br /> Single quotes are not required for simple alphanumeric strings or boolean values. However, single quotes are required for empty values.|
3636
|HasTrailingSlash('`stringA`')|Evaluates to `true` if the specified string contains either a trailing backward slash (\\) or forward slash (/) character.<br /><br /> For example:<br /><br /> `Condition="!HasTrailingSlash('$(OutputPath)')"`<br /><br /> Single quotes are not required for simple alphanumeric strings or boolean values. However, single quotes are required for empty values.|
3737
|!|Evaluates to `true` if the operand evaluates to `false`.|
@@ -43,4 +43,4 @@ ms.workload:
4343
## See Also
4444
[MSBuild Reference](../msbuild/msbuild-reference.md)
4545
[Conditional Constructs](../msbuild/msbuild-conditional-constructs.md)
46-
[Walkthrough: Creating an MSBuild Project File from Scratch](../msbuild/walkthrough-creating-an-msbuild-project-file-from-scratch.md)
46+
[Walkthrough: Creating an MSBuild Project File from Scratch](../msbuild/walkthrough-creating-an-msbuild-project-file-from-scratch.md)

docs/test/supported-configurations-and-platforms-for-coded-ui-tests-and-action-recordings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The supported configurations and platforms for coded UI tests for Visual Studio
4646
|Windows Phone Apps|Only WinRT-XAML based Phone apps are supported.|
4747
|UWP apps|Only XAML-based UWP apps are supported.|
4848
|Universal Windows Apps|Only XAML-based Universal Windows Apps on Phone and Desktop are supported.|
49-
|Edge|In Visual Studio 2015 Update 2 and later by using the [Coded UI Cross Browser Testing extension](https://visualstudiogallery.msdn.microsoft.com/11cfc881-f8c9-4f96-b303-a2780156628d)|
49+
|Edge|Recording of action steps or using the builder to view object properties is not supported. Tests can be played back on the Edge browser, using Visual Studio 2015 Update 2 and later versions by using the [Coded UI Cross Browser Testing extension](https://visualstudiogallery.msdn.microsoft.com/11cfc881-f8c9-4f96-b303-a2780156628d)|
5050
|Internet Explorer 8<br /><br /> Internet Explorer 9<br /><br /> Internet Explorer 10 **Important:** Internet Explorer 10 is only supported on the desktop. <br /><br /> Internet Explorer 11 **Important:** Internet Explorer 11 is only supported on the desktop.|Fully supported.<br /><br /> - **Support for HTML5 in Internet Explorer 9 and Internet Explorer 10:** Coded UI tests support record, playback, and validation of the HTML5 controls: Audio, Video, ProgressBar and Slider. For more information, see [Using HTML5 Controls in Coded UI Tests](../test/using-html5-controls-in-coded-ui-tests.md). **Warning:** If you create a coded UI tests in Internet Explorer 10, it might not run using Internet Explorer 9 or Internet Explorer 8. This is because Internet Explorer 10 includes HTML5 controls such as Audio, Video, ProgressBar, and Slider. These HTML5 controls are not recognized by Internet Explorer 9, or Internet Explorer 8. Likewise, your coded UI test using Internet Explorer 9 might include some HTML5 controls that also will not be recognized by Internet Explorer 8.<br />- **Support for Internet Explorer 10 Spell Checking:** Internet Explorer 10 includes spell checking capabilities for all text boxes. This allows you to choose from a list of suggested corrections. Coded UI Test will ignore user actions like selecting an alternative spelling suggestion. Only the final text typed into the text box will be recorded.<br /> The following actions are recorded for coded UI test that use the spell checking control: Add to Dictionary, Copy, Select All, Add To Dictionary, and Ignore.<br />- **Support for 64-bit Internet Explorer running under Windows 8:** Previously, 64-bit versions of Internet Explorer were not supported for recording and playback. With [!INCLUDE[win8](../debugger/includes/win8_md.md)] and [!INCLUDE[vs_dev11_long](../data-tools/includes/vs_dev11_long_md.md)], coded UI tests have been enabled for 64-bit versions of Internet Explorer. **Warning:** 64-bit support for Internet Explorer applies only when you are running [!INCLUDE[win8](../debugger/includes/win8_md.md)] or later.<br />- **Support for Pinned Sites in Internet Explorer 9:** In Internet Explorer 9, pinned sites were introduced. With Pinned Sites, you can get to your favorite sites directly from the Windows taskbar—without having to open Internet Explorer first. Coded UI tests can now generate intent-aware actions on pinned sites. For more information about pinned sites, see [Pinned Sites](http://go.microsoft.com/fwlink/?LinkId=220037).<br />- **Support for Internet Explorer 9 Semantic Tags:** Internet Explorer 9 introduced the following semantic tags: section, nav, article, aside, hgroup, header, footer, figure, figcaption and mark. Coded UI tests ignore all of these semantic tags while recording. You can add assertions on these tags using the Coded UI Test Builder. You can use the navigation dial in the Coded UI Test Builder to navigate to any of these elements and view their properties.<br />- **Seamless Handling of White Space Characters between Versions of Internet Explorer:** There are differences in the handling of white space characters between Internet Explorer 8, Internet Explorer 9, and Internet Explorer 10. Coded UI Test handles these differences seamlessly. Therefore, a coded UI test created in Internet Explorer 8 for example, will play back successfully in Internet Explorer 9 and Internet Explorer 10.<br />- **The Notification Area of Internet Explorer Are Now Recorded With the "Continue on Error" Attribute Set:** All actions on the Notification Area of Internet Explorer are now recorded with the "Continue on Error" attribute set. If the notification bar does not appear during playback, the actions on it will be ignored and coded UI test will continue with the next action.|
5151
|Windows Forms and WPF third party controls|Fully supported.<br /><br /> To enable third party controls in Windows Forms and WPF applications, you must add references and code. For more information, see [Enable Coded UI Testing of Your Controls](../test/enable-coded-ui-testing-of-your-controls.md).|
5252
|Internet Explorer 6<br /><br /> Internet Explorer 7|Not supported.|

0 commit comments

Comments
 (0)