Skip to content

Commit d303b73

Browse files
authored
Merge pull request #3197 from DennisLee-DennisLee/master
1329916: Fixed MSDN links in docs/modeling (48 files).
2 parents 870f907 + c4ca5be commit d303b73

File tree

48 files changed

+89
-89
lines changed

Some content is hidden

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

48 files changed

+89
-89
lines changed

docs/modeling/adding-a-tracking-property-to-a-domain-specific-language-definition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A *tracking domain* property is a property that can be updated by the user but w
2222

2323
For example, in the Domain-Specific Language Tools (DSL Tools), the Display Name property of a domain class has a default value that is calculated by using the name of the domain class, but a user can change the value at design time or reset it to the calculated value.
2424

25-
In this walkthrough, you create a domain-specific language (DSL) that has a Namespace tracking property that has a default value based on the Default Namespace property of the model. For more information about tracking properties, see [Defining Tracking Properties](http://msdn.microsoft.com/0538b0e4-6221-4e7d-911a-b92cd622f0be).
25+
In this walkthrough, you create a domain-specific language (DSL) that has a Namespace tracking property that has a default value based on the Default Namespace property of the model. For more information about tracking properties, see [Defining Tracking Properties](https://msdn.microsoft.com/0538b0e4-6221-4e7d-911a-b92cd622f0be).
2626

2727
- The DSL Tools support tracking property descriptors. However, the DSL designer cannot be used to add a tracking property to a language. Therefore, you must add custom code to define and implement the tracking property.
2828

docs/modeling/code-generation-in-a-build-process.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.technology: vs-ide-modeling
1515
---
1616
# Code generation in a build process
1717

18-
[Text transformation](../modeling/code-generation-and-t4-text-templates.md) can be invoked as part of the [build process](http://msdn.microsoft.com/Library/a971b0f9-7c28-479d-a37b-8fd7e27ef692) of a Visual Studio solution. There are build tasks that are specialized for text transformation. The T4 build tasks run design-time text templates, and they also compile run-time (preprocessed) text templates.
18+
[Text transformation](../modeling/code-generation-and-t4-text-templates.md) can be invoked as part of the [build process](/azure/devops/pipelines/index) of a Visual Studio solution. There are build tasks that are specialized for text transformation. The T4 build tasks run design-time text templates, and they also compile run-time (preprocessed) text templates.
1919

2020
There are some differences in what the build tasks can do, depending on which build engine you use. When you build the solution in Visual Studio, a text template can access the Visual Studio API (EnvDTE) if the [hostspecific="true"](../modeling/t4-template-directive.md) attribute is set. But that isn't true when you build the solution from the command line or when you initiate a server build through Visual Studio. In those cases, the build is performed by MSBuild and a different T4 host is used.
2121

@@ -27,7 +27,7 @@ To enable build tasks on your development computer, install Modeling SDK for Vis
2727

2828
[!INCLUDE[modeling_sdk_info](includes/modeling_sdk_info.md)]
2929

30-
If [your build server](http://msdn.microsoft.com/Library/788443c3-0547-452e-959c-4805573813a9) runs on a computer on which Visual Studio is not installed, copy the following files to the build computer from your development machine. Substitute the most recent version numbers for '*'.
30+
If [your build server](/azure/devops/pipelines/agents/agents) runs on a computer on which Visual Studio is not installed, copy the following files to the build computer from your development machine. Substitute the most recent version numbers for '*'.
3131

3232
- $(ProgramFiles)\MSBuild\Microsoft\VisualStudio\v*.0\TextTemplating
3333

@@ -230,7 +230,7 @@ In a text template, set `hostspecific` in the template directive. Use the [param
230230
The project folder is: <#= ProjectFolder #>
231231
```
232232

233-
In a directive processor, you can call [ITextTemplatingEngineHost.ResolveParameterValue](https://msdn.microsoft.com/library/microsoft.visualstudio.texttemplating.itexttemplatingenginehost.resolveparametervalue.aspx):
233+
In a directive processor, you can call [ITextTemplatingEngineHost.ResolveParameterValue](/previous-versions/visualstudio/visual-studio-2012/bb126369\(v\=vs.110\)):
234234

235235
```csharp
236236
string value = Host.ResolveParameterValue("-", "-", "parameterName");
@@ -291,4 +291,4 @@ If you update an included file, or another file read by the template, Visual Stu
291291
## See also
292292

293293
- There is good guidance in the T4 MSbuild template at *%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Enterprise\msbuild\Microsoft\VisualStudio\v15.0\TextTemplating\Microsoft.TextTemplating.targets*
294-
- [Write a T4 text template](../modeling/writing-a-t4-text-template.md)
294+
- [Write a T4 text template](../modeling/writing-a-t4-text-template.md)

docs/modeling/create-models-for-your-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ To visualize the architecture of a system or existing code, create the following
4646
|[Model user requirements](../modeling/model-user-requirements.md)|Use models to clarify and communicate the users' needs.|
4747
|[Model your app's architecture](../modeling/model-your-app-s-architecture.md)|Use models to describe the overall structure and behavior of your system and to make sure that it meets the users' needs.|
4848
|[Validate your system during development](../modeling/validate-your-system-during-development.md)|Make sure that your software stays consistent with your users' needs and the overall architecture of your system.|
49-
|[Use models in your development process](../modeling/use-models-in-your-development-process.md)<br /><br /> [Use models in Agile development](http://msdn.microsoft.com/592ac27c-3d3e-454a-9c38-b76658ed137f)|Use models to help you understand and change your system during its development.|
49+
|[Use models in your development process](../modeling/use-models-in-your-development-process.md)<br /><br /> [Use models in Agile development](https://msdn.microsoft.com/592ac27c-3d3e-454a-9c38-b76658ed137f)|Use models to help you understand and change your system during its development.|
5050
|[Structure your modeling solution](../modeling/structure-your-modeling-solution.md)|Organize models in a large or medium project.|
5151

5252
## Resources
5353

5454
- [Visual Studio Visualization & Modeling Tools Forum](http://go.microsoft.com/fwlink/?LinkId=184720)
55-
- [Visual Studio Extensibility Forum](https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsx)
55+
- [Visual Studio Extensibility Forum](https://social.msdn.microsoft.com/Forums/vstudio/home?forum=vsx)

docs/modeling/create-uml-modeling-projects-and-diagrams.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ ms.technology: vs-ide-modeling
1515
---
1616
# Create UML modeling projects and diagrams
1717

18-
Starting with Visual Studio 2017, the UML Designers have been removed from Visual Studio. For more information, see this [blog post](https://blogs.msdn.microsoft.com/visualstudioalm/2016/10/14/uml-designers-have-been-removed-layer-designer-now-supports-live-architectural-analysis/).
18+
Starting with Visual Studio 2017, the UML Designers have been removed from Visual Studio. For more information, see this [blog post](https://blogs.msdn.microsoft.com/devops/2016/10/14/uml-designers-have-been-removed-layer-designer-now-supports-live-architectural-analysis/).
1919

2020
If you still need to use UML, you can use Visual Studio 2015 Enterprise edition, which is side-by-side compatible with later versions of Visual Studio.
2121

2222
For information about using UML in Visual Studio 2015, see:
2323

24-
* [Analyze and model your architecture](https://msdn.microsoft.com/library/57b85fsc%28v=vs.140%29.aspx)
24+
* [Analyze and model your architecture](analyze-and-model-your-architecture.md)
2525
* [Create models for your app](create-models-for-your-app.md)
2626
* [Use models in your development process](use-models-in-your-development-process.md)
2727
* [Validate your system during development](validate-your-system-during-development.md)

docs/modeling/customizing-element-creation-and-movement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,4 +316,4 @@ You can create a forward merge directive in the Component Model solution. If you
316316

317317
- [Navigating and Updating a Model in Program Code](../modeling/navigating-and-updating-a-model-in-program-code.md)
318318
- [Customizing Tools and the Toolbox](../modeling/customizing-tools-and-the-toolbox.md)
319-
- [Circuit Diagrams sample DSL](http://code.msdn.microsoft.com/Visualization-Modeling-SDK-763778e8)
319+
- [Circuit Diagrams sample DSL](https://code.msdn.microsoft.com/Visualization-Modeling-SDK-763778e8)

docs/modeling/customizing-the-model-explorer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ You can change the appearance and behavior of the explorer for your domain-speci
109109

110110
## See also
111111

112-
- [Domain-Specific Language Tools Glossary](http://msdn.microsoft.com/ca5e84cb-a315-465c-be24-76aa3df276aa)
112+
- [Domain-Specific Language Tools Glossary](https://msdn.microsoft.com/ca5e84cb-a315-465c-be24-76aa3df276aa)

docs/modeling/customizing-tools-and-the-toolbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,4 @@ using Microsoft.VisualStudio.Modeling.Diagrams;
234234
- [Customizing Copy Behavior](../modeling/customizing-copy-behavior.md)
235235
- [How to: Add a Drag-and-Drop Handler](../modeling/how-to-add-a-drag-and-drop-handler.md)
236236
- [Navigating and Updating a Model in Program Code](../modeling/navigating-and-updating-a-model-in-program-code.md)
237-
- [Circuit Diagrams sample DSL](http://code.msdn.microsoft.com/Visualization-Modeling-SDK-763778e8)
237+
- [Circuit Diagrams sample DSL](https://code.msdn.microsoft.com/Visualization-Modeling-SDK-763778e8)

docs/modeling/design-time-code-generation-by-using-t4-text-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ Number of projects in this VS solution: <#= dte.Solution.Projects.Count #>
290290

291291
> [!NOTE]
292292
> In Visual Studio 2017, the Text Template Transformation SDK and the Visual Studio Modeling SDK are installed automatically when you install specific features of Visual Studio. For more details, see
293-
[this blog post](https://blogs.msdn.microsoft.com/visualstudioalm/2016/12/12/the-visual-studio-modeling-sdk-is-now-available-with-visual-studio-2017/).
293+
[this blog post](https://blogs.msdn.microsoft.com/devops/2016/12/12/the-visual-studio-modeling-sdk-is-now-available-with-visual-studio-2017/).
294294
295295
```xml
296296
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v15.0\TextTemplating\Microsoft.TextTemplating.targets" />

docs/modeling/event-handlers-propagate-changes-outside-the-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,6 @@ Each event type corresponds to a collection in Store.EventManagerDirectory. You
183183
## See Also
184184

185185
- [Responding to and Propagating Changes](../modeling/responding-to-and-propagating-changes.md)
186-
- [Sample code: Circuit Diagrams](http://code.msdn.microsoft.com/Visualization-Modeling-SDK-763778e8)
186+
- [Sample code: Circuit Diagrams](https://code.msdn.microsoft.com/Visualization-Modeling-SDK-763778e8)
187187
188188
[!INCLUDE[modeling_sdk_info](includes/modeling_sdk_info.md)]

docs/modeling/generating-files-with-the-texttransform-utility.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ TextTransform [<options>] <templateName>
5656
|**-I** \<includedirectory>|A directory that contains the text templates included in the specified text template.|
5757
|**-P** \<referencepath>|A directory to search for assemblies specified within the text template or for using the **-r** option.<br /><br /> For example, to include assemblies used for the Visual Studio API, use<br /><br /> `-P "%VSSHELLFOLDER%\Common7\IDE\PublicAssemblies"`|
5858
|**-dp** \<processorName>!\<className>!\<assemblyName&#124;codeBase>|The name, full type name, and assembly of a directive processor that can be used to process custom directives within the text template.|
59-
|**-a** [processorName]![directiveName]!\<parameterName>!\<parameterValue>|Specify a parameter value for a directive processor. If you specify just the parameter name and value, the parameter will be available to all directive processors. If you specify a directive processor, the parameter is available only to the specified processor. If you specify a directive name, the parameter is available only when the specified directive is being processed.<br /><br /> To access the parameter values from a directive processor or text template, use [ITextTemplatingEngineHost.ResolveParameterValue](https://msdn.microsoft.com/library/microsoft.visualstudio.texttemplating.itexttemplatingenginehost.resolveparametervalue.aspx). In a text template, include `hostspecific` in the template directive and invoke the message on `this.Host`. For example:<br /><br /> `<#@template language="c#" hostspecific="true"#> [<#= this.Host.ResolveParameterValue("", "", "parameterName") #>]`.<br /><br /> Always type the '!' marks, even if you omit the optional processor and directive names. For example:<br /><br /> `-a !!param!value`|
59+
|**-a** [processorName]![directiveName]!\<parameterName>!\<parameterValue>|Specify a parameter value for a directive processor. If you specify just the parameter name and value, the parameter will be available to all directive processors. If you specify a directive processor, the parameter is available only to the specified processor. If you specify a directive name, the parameter is available only when the specified directive is being processed.<br /><br /> To access the parameter values from a directive processor or text template, use [ITextTemplatingEngineHost.ResolveParameterValue](/previous-versions/visualstudio/visual-studio-2012/bb126369\(v\=vs.110\)). In a text template, include `hostspecific` in the template directive and invoke the message on `this.Host`. For example:<br /><br /> `<#@template language="c#" hostspecific="true"#> [<#= this.Host.ResolveParameterValue("", "", "parameterName") #>]`.<br /><br /> Always type the '!' marks, even if you omit the optional processor and directive names. For example:<br /><br /> `-a !!param!value`|
6060
|**-h**|Provides help.|
6161

6262
## Related topics
@@ -65,4 +65,4 @@ TextTransform [<options>] <templateName>
6565
|-|-|
6666
|Generate files in a Visual Studio solution.|[Design-Time Code Generation by using T4 Text Templates](../modeling/design-time-code-generation-by-using-t4-text-templates.md)|
6767
|Write directive processors to transform your own data sources.|[Customizing T4 Text Transformation](../modeling/customizing-t4-text-transformation.md)|
68-
|Write a text templating host that allows you to invoke text templates from your own application.|[Processing Text Templates by using a Custom Host](../modeling/processing-text-templates-by-using-a-custom-host.md)|
68+
|Write a text templating host that allows you to invoke text templates from your own application.|[Processing Text Templates by using a Custom Host](../modeling/processing-text-templates-by-using-a-custom-host.md)|

docs/modeling/getting-started-with-domain-specific-languages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.technology: vs-ide-modeling
1515
This topic explains the basic concepts in defining and using a domain-specific language (DSL) created with the Modeling SDK for Visual Studio.
1616

1717
> [!NOTE]
18-
> In Visual Studio 2017, the Text Template Transformation SDK and the Visual Studio Modeling SDK are installed automatically when you install specific features of Visual Studio. For more details, see [this blog post](https://blogs.msdn.microsoft.com/visualstudioalm/2016/12/12/the-visual-studio-modeling-sdk-is-now-available-with-visual-studio-2017/).
18+
> In Visual Studio 2017, the Text Template Transformation SDK and the Visual Studio Modeling SDK are installed automatically when you install specific features of Visual Studio. For more details, see [this blog post](https://blogs.msdn.microsoft.com/devops/2016/12/12/the-visual-studio-modeling-sdk-is-now-available-with-visual-studio-2017/).
1919
2020
If you are new to DSLs, we recommend that you work through the **DSL Tools Lab**, which you can find in this site: [Visualizaton and Modeling SDK](http://go.microsoft.com/fwlink/?LinkID=186128)
2121

@@ -106,7 +106,7 @@ You can run the DSL solution as soon as you have created it. Later, you can modi
106106
1. Click **Transform All Templates** in the **Solution Explorer** toolbar. This regenerates most of the source code from DslDefinition.dsl.
107107

108108
> [!NOTE]
109-
> Whenever you change *DslDefinition.dsl*, you must click **Transform All Templates** before you rebuild the solution. You can automate this step. For more information, see [How to Automate Transform All Templates](http://msdn.microsoft.com/b63cfe20-fe5e-47cc-9506-59b29bca768a).
109+
> Whenever you change *DslDefinition.dsl*, you must click **Transform All Templates** before you rebuild the solution. You can automate this step. For more information, see [How to Automate Transform All Templates](/previous-versions/visualstudio/visual-studio-2012/ff521399\(v\=vs.110\)).
110110
111111
2. Press **F5**, or on the **Debug** menu, click **Start Debugging**.
112112

docs/modeling/how-to-add-a-command-to-the-shortcut-menu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,6 @@ protected override IList<MenuCommand> GetMenuCommands()
356356
- [Writing Code to Customise a Domain-Specific Language](../modeling/writing-code-to-customise-a-domain-specific-language.md)
357357
- [How to: Modify a Standard Menu Command](../modeling/how-to-modify-a-standard-menu-command-in-a-domain-specific-language.md)
358358
- [Deploying Domain-Specific Language Solutions](../modeling/deploying-domain-specific-language-solutions.md)
359-
- [Sample code: Circuit Diagrams](http://code.msdn.microsoft.com/Visualization-Modeling-SDK-763778e8)
359+
- [Sample code: Circuit Diagrams](https://code.msdn.microsoft.com/Visualization-Modeling-SDK-763778e8)
360360

361361
[!INCLUDE[modeling_sdk_info](includes/modeling_sdk_info.md)]
Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "How to: Change the Namespace of a Domain-Specific Language"
3-
ms.date: 11/04/2016
2+
title: "How to: Change the namespace of a domain-specific language"
3+
ms.date: 10/31/2018
44
ms.topic: conceptual
55
helpviewer_keywords:
66
- "Domain-Specific Language, namespace"
@@ -12,41 +12,42 @@ ms.workload:
1212
ms.prod: visual-studio-dev15
1313
ms.technology: vs-ide-modeling
1414
---
15-
# How to: Change the Namespace of a Domain-Specific Language
16-
You can change the namespace of a domain-specific language. You must make the change in the **DSL Explorer**, in the properties of the Dsl Package project, and in the assembly information.
15+
# How to: Change the namespace of a domain-specific language
1716

18-
### To change the namespace of a domain-specific language
17+
You can change the namespace of a domain-specific language. Make the change in the **DSL Explorer**, in the properties of the Dsl Package project, and in the assembly information.
1918

20-
1. In **DSL Explorer**, click the **Dsl** node.
19+
## To change the namespace of a domain-specific language
2120

22-
2. In the **Properties** window, change the **Namespace** property.
21+
1. In **DSL Explorer**, select the **Dsl** node.
2322

24-
3. Save the solution and transform the templates.
23+
2. In the **Properties** window, change the **Namespace** property.
2524

26-
4. On the **Project** menu, click **Dsl Properties**.
25+
3. Save the solution and transform the templates.
2726

28-
The properties for your project appear.
27+
4. On the **Project** menu, choose **Dsl Properties**.
2928

30-
5. Click the **Application** tab.
29+
The properties for your project appear.
3130

32-
6. Change the **Default namespace** property to the new namespace name.
31+
5. Select the **Application** tab.
3332

34-
7. If you also want to change the name of the assembly, change the **Assembly name property.**
33+
6. Change the **Default namespace** property to the new namespace name.
3534

36-
8. If you have changed the Assembly name, open DslPackage\Package.tt and update this line:
35+
7. If you also want to change the name of the assembly, change the **Assembly name property.**
3736

38-
`string dslAssembly = "YourDSLassembly.Dsl.dll";`
37+
8. If you have changed the Assembly name, open DslPackage\Package.tt and update this line:
38+
39+
`string dslAssembly = "YourDSLassembly.Dsl.dll";`
3940

4041
9. If you have written any custom code, make sure to change the namespace and class references in the code files.
4142

4243
10. Reset the Visual Studio Experimental instance.
4344

44-
1. Delete **\Users\\**_{your name}_**\AppData\Local\Microsoft\VisualStudio\\\*Exp**
45+
1. Delete **\Users\\**_{your name}_**\AppData\Local\Microsoft\VisualStudio\\\*Exp**.
4546

46-
2. On the Windows **Start** menu, choose **All Programs**, **Microsoft Visual Studio 2010 SDK**, **Tools**, **Reset the Experimental Instance**.
47+
2. On the Windows **Start** menu, choose **All Programs** > **Microsoft Visual Studio 2010 SDK** > **Tools** > **Reset the Experimental Instance**.
4748

4849
11. On the **Build** menu, choose **Rebuild Solution**.
4950

5051
## See also
5152

52-
- [Domain-Specific Language Tools Glossary](http://msdn.microsoft.com/ca5e84cb-a315-465c-be24-76aa3df276aa)
53+
[Domain-specific language tools glossary](https://msdn.microsoft.com/ca5e84cb-a315-465c-be24-76aa3df276aa)

0 commit comments

Comments
 (0)