Skip to content

Commit f75118f

Browse files
authored
[SCOPED] Moniker range future proofing (#14082)
* Moniker range updates for forward compat * More fairly safe changes
1 parent e713e49 commit f75118f

File tree

49 files changed

+152
-158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+152
-158
lines changed

docs/azure/overview-connected-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Connected Services includes a collection of tools in Visual Studio that help you
2727
Get started by right-clicking on the **Connected Services** node in **Solution Explorer** and select **Manage Connected Services**.
2828
:::moniker-end
2929

30-
:::moniker range="vs-2022"
30+
:::moniker range=">=vs-2022"
3131
Get started by right-clicking on the project node, and choosing **Add > Connected Service**. You can also right-click on the **Connected Services** node in **Solution Explorer** and choose a specific service to add.
3232
:::moniker-end
3333

docs/containers/edit-and-refresh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ To debug apps in a local Docker container, the following tools must be installed
2828

2929
::: moniker-end
3030

31-
::: moniker range="vs-2022"
31+
::: moniker range=">=vs-2022"
3232

33-
- [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) with the Web Development workload installed
33+
- [Visual Studio 2022 or later](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) with the Web Development workload installed
3434

3535
::: moniker-end
3636

docs/containers/view-and-diagnose-containers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The **Containers** window opens automatically when you start a containerized .NE
4343
The left side of the window shows the list of containers on your local machine. The containers associated with your current solution are under **Solution Containers**. On the right is a pane with tabs for **Environment**, **Labels**, **Ports**, **Volumes**, **Files**, and **Logs**.
4444

4545
:::moniker-end
46-
:::moniker range="vs-2022"
46+
:::moniker range=">=vs-2022"
4747

4848
The **Containers** window opens automatically when you start a containerized .NET project. To open the **Containers** window any time, select **View** > **Other Windows** > **Containers** from the Visual Studio menu, or press **Ctrl**+**K**, **Ctrl**+**O**. You can also use **Ctrl**+**Q** to open the Visual Studio Search box, type *Containers*, and select the **Containers** item.
4949

@@ -72,7 +72,7 @@ The **Environment** tab shows the environment variables in the container. You ca
7272
![Screenshot of the Environment tab in the Containers window.](media/view-and-diagnose-containers/container-window.png)
7373

7474
:::moniker-end
75-
:::moniker range="vs-2022"
75+
:::moniker range=">=vs-2022"
7676

7777
![Screenshot of the Environment tab in the Containers window.](media/view-and-diagnose-containers/vs-2022/container-tools-window.png)
7878

@@ -131,7 +131,7 @@ To open a file in Visual Studio, double-click the file or right-click it and cho
131131
:::moniker range="vs-2019"
132132
![Screenshot of file open for viewing in Visual Studio.](media/view-and-diagnose-containers/container-file-open.png)
133133
:::moniker-end
134-
:::moniker range="vs-2022"
134+
:::moniker range=">=vs-2022"
135135
![Screenshot of file open for viewing in Visual Studio.](media/view-and-diagnose-containers/vs-2022/container-file-open.png)
136136
:::moniker-end
137137

docs/debugger/getting-started-with-the-debugger-cpp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ If you're new to debugging, you might want to read [Debugging for absolute begin
3333

3434
- Visual Studio 2022 **version 17.12** or later with the **Desktop development with C++** workload installed.
3535

36-
::: moniker range="vs-2022"
36+
::: moniker range=">=vs-2022"
3737

38-
- To install Visual Studio 2022 for free, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) page.
38+
- To install Visual Studio for free, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) page.
3939

4040
::: moniker-end
4141
::: moniker range="<=vs-2019"

docs/debugger/remote-debugging-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The debugger can't deploy Visual C# or Visual Basic desktop applications to a re
6363

6464
4. On the **Properties** page, choose the **Debug** tab.
6565

66-
::: moniker range="vs-2022"
66+
::: moniker range=">=vs-2022"
6767
For C# projects targeting .NET Core or .NET 5+, starting in Visual Studio 2022, choose the **Debug launch profiles UI** from the **Debug** tab to configure settings for remote debugging.
6868

6969
![Screenshot of the Debug launch profile UI in the Visual Studio Project Properties for C# and .NET.](../debugger/media/vs-2022/remote-debugger-csharp-launch-profile.png)

docs/debugger/using-tracepoints.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following example program is a simple `for` loop with a counter variable tha
2626
:::image type="content" source="../debugger/media/counterexample.png" alt-text="Screenshot of a sample counter program.":::
2727
::: moniker-end
2828

29-
::: moniker range="vs-2022"
29+
::: moniker range=">=vs-2022"
3030

3131
The following example program is a simple `for` loop with a counter variable that increases by one every time the loop runs another iteration.
3232

@@ -85,7 +85,7 @@ You can set tracepoints by specifying an output string under the **Action** chec
8585

8686
::: moniker-end
8787

88-
::: moniker range="vs-2022"
88+
::: moniker range=">=vs-2022"
8989

9090
You can set tracepoints by specifying an output string under the **Action** checkbox in the **Breakpoint Settings** window.
9191

@@ -145,7 +145,7 @@ You can also use special keywords to display more specific information. Enter th
145145

146146
::: moniker-end
147147

148-
::: moniker range="vs-2022"
148+
::: moniker range=">=vs-2022"
149149

150150
This menu allows you to log a message to the Output window. Type the strings you want to output into the message box (no quotes necessary). If you want to display values of variables, make sure you enclose it in curly braces.
151151

@@ -200,7 +200,7 @@ For a more comprehensive look at valid expressions you can use while setting con
200200

201201
::: moniker-end
202202

203-
::: moniker range="vs-2022"
203+
::: moniker range=">=vs-2022"
204204

205205
For a conditional expression, an output message displays only when certain conditions are met.
206206

@@ -237,7 +237,7 @@ For hit count, you can choose to output a message when the line of code where th
237237

238238
::: moniker-end
239239

240-
::: moniker range="vs-2022"
240+
::: moniker range=">=vs-2022"
241241

242242
A hit count condition allows you to send output only after the line of code where the tracepoint is set has executed a specified number of times.
243243

@@ -271,7 +271,7 @@ Enclose strings (such as names) in double quotes. Values can be entered without
271271

272272
::: moniker-end
273273

274-
::: moniker range="vs-2022"
274+
::: moniker range=">=vs-2022"
275275

276276
For a filter condition, specify which devices, processes, or threads output is shown for.
277277

docs/get-started/tutorial-open-project-from-repo.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ In this tutorial, you learn how to:
2626

2727
- If you don't have Visual Studio yet, go to [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) to install it for free.
2828

29-
::: moniker range="vs-2022"
29+
::: moniker range=">=vs-2022"
3030

3131
## Open a project from a GitHub repo
3232

33-
Visual Studio makes it easy to open a project from a repo. You can do so when you start Visual Studio, or you can do so directly from within the [Visual Studio IDE](visual-studio-ide.md?view=vs-2022&preserve-view=true).
33+
Visual Studio makes it easy to open a project from a repo. You can do so when you start Visual Studio, or you can do so directly from within the [Visual Studio IDE](visual-studio-ide.md).
3434

3535
Here's how.
3636

@@ -311,7 +311,7 @@ For more information, see:
311311

312312
::: moniker-end
313313

314-
::: moniker range="vs-2022"
314+
::: moniker range=">=vs-2022"
315315

316316
- [About Git in Visual Studio](../version-control/git-with-visual-studio.md)
317317
- [Brpwse a repo](../version-control/git-browse-repository.md)

docs/get-started/visual-basic/tutorial-console.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ To see the output outside of Visual Studio, in a system console window, build an
170170

171171
::: moniker-end
172172

173-
::: moniker range="vs-2022"
173+
::: moniker range=">=vs-2022"
174174

175175
1. In the **Build** menu, choose **Build Solution**.
176176

docs/get-started/visual-basic/tutorial-wpf.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ For more information about Visual Studio, see these resources:
323323
- [What's new in Visual Studio 2019](../../ide/whats-new-visual-studio-2019.md)
324324
- [Productivity tips](../../ide/productivity-features.md)
325325
::: moniker-end
326-
::: moniker range="vs-2022"
327-
- [What's new in Visual Studio 2022](../../ide/whats-new-visual-studio-2022.md)
326+
::: moniker range=">=vs-2022"
328327
- [Productivity tips](../../ide/productivity-features.md)
329328
::: moniker-end

docs/ide/class-designer/designing-and-viewing-classes-and-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ If you haven't installed the **Class Designer** component, follow these steps to
8484
::: moniker range="vs-2019"
8585
:::image type="content" source="media/vs-2019/class-designer-component.png" alt-text="Screenshot of the Class Designer component in the Visual Studio Installer." lightbox="media/vs-2019/class-designer-component.png":::
8686
::: moniker-end
87-
::: moniker range="vs-2022"
87+
::: moniker range=">=vs-2022"
8888
:::image type="content" source="media/vs-2022/class-designer-component.png" alt-text="Screenshot of the Class Designer component in the Visual Studio Installer." lightbox="media/vs-2022/class-designer-component.png":::
8989
::: moniker-end
9090

0 commit comments

Comments
 (0)