Skip to content

Commit 0c22a48

Browse files
authored
Merge pull request #3208 from DennisLee-DennisLee/v-dele-1329916-profiling
1329916: 27 files of MSDN link fixes (docs/msbuild through docs/rtvs).
2 parents 1f21cdf + b994da0 commit 0c22a48

27 files changed

+340
-323
lines changed

docs/msbuild/msbuild-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ ms.workload:
1414

1515
MSBuild provides a public API surface so that your program can perform builds and inspect projects.
1616

17-
Documentation for the MSBuild API can be found [on MSDN](https://msdn.microsoft.com/en-us/library/mt476050(v=vs.110).aspx).
17+
Documentation for the MSBuild API can be found [on MSDN](https://msdn.microsoft.com/library/mt476050(v=vs.110).aspx).

docs/msbuild/setenv-task.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: "SetEnv Task | Microsoft Docs"
2+
title: "SetEnv task | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "11/05/2018"
55
ms.technology: msbuild
66
ms.topic: "reference"
77
f1_keywords:
@@ -33,8 +33,8 @@ Sets or deletes the value of a specified environment variable.
3333
|**Name**|Required **String** parameter.<br /><br /> The name of an environment variable.|
3434
|**OutputEnvironmentVariable**|Optional **String** output parameter.<br /><br /> Contains the value that is assigned to the environment variable that is specified by the **Name** parameter.|
3535
|**Prefix**|Mandatory `Boolean` parameter.<br /><br /> If `true`, concatenates the value of the **Value** parameter before the value of the environment variable that is specified by the **Name** parameter, and then assigns the result to the environment variable. If `false`, assigns only the value of the **Value** parameter to the environment variable.|
36-
|**Target**|Optional **String** parameter.<br /><br /> Specifies the location where an environment variable is stored. Specify "User" or "Machine".<br /><br /> For more information, see [EnvironmentVariableTarget Enumeration](https://msdn.microsoft.com/library/system.environmentvariabletarget(v=vs.110).aspx) on the MSDN website.|
37-
|**Value**|Optional **String** parameter.<br /><br /> The value assigned to the environment variable that is specified by the **Name** parameter. If **Value** is empty and the variable exists, the variable is deleted. If the variable does not exist, no error occurs even though the operation cannot be performed.<br /><br /> For more information, see [Environment::SetEnvironmentVariable Method](https://msdn.microsoft.com/library/96xafkes(v=vs.110).aspx) on the MSDN website.|
36+
|**Target**|Optional **String** parameter.<br /><br /> Specifies the location where an environment variable is stored. Specify "User" or "Machine".<br /><br /> For more information, see [EnvironmentVariableTarget Enumeration](xref:System.EnvironmentVariableTarget).|
37+
|**Value**|Optional **String** parameter.<br /><br /> The value assigned to the environment variable that is specified by the **Name** parameter. If **Value** is empty and the variable exists, the variable is deleted. If the variable does not exist, no error occurs even though the operation cannot be performed.<br /><br /> For more information, see [Environment::SetEnvironmentVariable Method](xref:System.Environment.SetEnvironmentVariable%2A).|
3838

3939
## See also
4040
[Task reference](../msbuild/msbuild-task-reference.md)

docs/msbuild/signfile-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Signs the specified file using the specified certificate.
6767
```
6868

6969
> [!NOTE]
70-
> The certificate thumbprint is the SHA-1 hash of the certificate. For more information, see [Obtain the SHA-1 hash of a trusted root CA certificate](http://msdn.microsoft.com/en-us/dd641990-9a88-4228-a245-017797131a87).
70+
> The certificate thumbprint is the SHA-1 hash of the certificate. For more information, see [Obtain the SHA-1 hash of a trusted root CA certificate](/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc733076\(v\=ws.10\)).
7171
7272
## See also
7373
[Task reference](../msbuild/msbuild-task-reference.md)

docs/msbuild/updatemanifestforbrowserapplication-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The <xref:Microsoft.Build.Tasks.Windows.UpdateManifestForBrowserApplication> tas
3232
|`HostInBrowser`|Required **Boolean** parameter.<br /><br /> Specifies whether to modify the application manifest to include the **\<hostInBrowser />** element. If **true**, a new **\<hostInBrowser />** element is included in the **\<entryPoint />** element. Element inclusion is cumulative: if a **\<hostInBrowser />** element already exists, it isn't removed or overwritten. Instead, an additional **\<hostInBrowser />** element is created. If **false**, the application manifest isn't modified.|
3333

3434
## Remarks
35-
[!INCLUDE[TLA2#tla_xbap#plural](../msbuild/includes/tla2sharptla_xbapsharpplural_md.md)] are run by using [!INCLUDE[TLA#tla_clickonce](../msbuild/includes/tlasharptla_clickonce_md.md)] deployment, so they must be published with supporting deployment and application manifests. [!INCLUDE[TLA#tla_msbuild](../msbuild/includes/tlasharptla_msbuild_md.md)] uses the [GenerateApplicationManifest](http://msdn2.microsoft.com/library/6wc2ccdc.aspx) task to generate an application manifest.
35+
[!INCLUDE[TLA2#tla_xbap#plural](../msbuild/includes/tla2sharptla_xbapsharpplural_md.md)] are run by using [!INCLUDE[TLA#tla_clickonce](../msbuild/includes/tlasharptla_clickonce_md.md)] deployment, so they must be published with supporting deployment and application manifests. [!INCLUDE[TLA#tla_msbuild](../msbuild/includes/tlasharptla_msbuild_md.md)] uses the [GenerateApplicationManifest](generateapplicationmanifest-task.md) task to generate an application manifest.
3636

3737
Then, to configure an application to be hosted from a browser, an additional **\<hostInBrowser />** element must be added to the application manifest, as shown in the following example:
3838

docs/porting/port-migrate-and-upgrade-visual-studio-projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ If you don't see a project or file type listed here that should be, consult the
6262
| Visual Studio Extensibility/VSIX | Projects with MinimumVersion 14.0 or less are updated to declare MinimumVersion 15.0, which prevents the project from being opened in earlier versions of Visual Studio. To allow a project to open in earlier versions, set MinimumVersion to `$(VisualStudioVersion)`. See also [How to: Migrate Extensibility Projects to Visual Studio 2017](../extensibility/how-to-migrate-extensibility-projects-to-visual-studio-2017.md). |
6363
| Visual Studio Lab Management | You can use Microsoft Test Manager or Visual Studio 2010 SP1 and later to open environments created in any of these versions. However, for Visual Studio 2010 SP1 the version of Microsoft Test Manager must match the version of Team Foundation Server before you can create environments. |
6464
| Visual Studio Tools for Apache Cordova | Projects can be opened in Visual Studio 2017, but are not backwards compatible. Upon opening a project from Visual Studio 2015, you're prompted to allow modifications to your project. This modification upgrades the project to use toolsets instead of a `taco.json` file to manage the versioning of the Cordova library, its platforms, its plugins, and its node/npm dependencies. See the [migration guide](https://docs.microsoft.com/visualstudio/cross-platform/tools-for-cordova/first-steps/migrate-from-visual-studio-2015) for more information. |
65-
| Web Deployment (wdproj) | Support for Web Deployment projects was removed in Visual Studio 2012 with the addition of publish profile support. Because there is no equivalent in Visual Studio 2017, there is no automatic migration path for such projects. Instead, open the wdproj file in a text editor and copy-paste any customizations into to the pubxml (publish profile) file, as described on [StackOverflow](https://stackoverflow.com/a/12061065/1203388). Also see [Plans regarding website and web deployment projects (MSDN blogs)](https://blogs.msdn.microsoft.com/webdev/2012/08/06/plans-regarding-website-projects-and-web-deployment-projects). |
65+
| Web Deployment (wdproj) | Support for Web Deployment projects was removed in Visual Studio 2012 with the addition of publish profile support. Because there is no equivalent in Visual Studio 2017, there is no automatic migration path for such projects. Instead, open the wdproj file in a text editor and copy-paste any customizations into to the pubxml (publish profile) file, as described on [StackOverflow](https://stackoverflow.com/a/12061065/1203388). Also see [Plans regarding website and web deployment projects (MSDN blogs)](https://blogs.msdn.microsoft.com/webdev/2012/08/06/plans-regarding-website-projects-and-web-deployment-projects/). |
6666
| Windows Communication Foundation, Windows Workflow Foundation | You can open this project in Visual Studio 2017, Visual Studio 2015, Visual Studio 2013, and Visual Studio 2012 |
6767
| Windows Presentation Foundation | You can open this project in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1. |
6868
| Windows Store/Phone apps | Projects for Windows Store 8.1 and 8.0, and Windows Phone 8.1 and 8.0 are not supported in Visual Studio 2017. To maintain these apps, continue to use Visual Studio 2015. To maintain Windows Phone 7.x projects, use Visual Studio 2012. |

docs/profiling/analyze-energy-use-in-store-apps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ The Visual Studio **Energy Consumption** profiler helps you analyze the power an
4848

4949
**Add marks to C#, Visual Basic, C++ code**
5050

51-
To add a user mark to C#, Visual Basic, C++ code, first create a [Windows.Foundation.Diagnostics LoggingChannel](http://msdn.microsoft.com/library/windows/apps/windows.foundation.diagnostics.loggingchannel.aspx) object. Then insert calls to [LoggingChannel.LogMessage](http://msdn.microsoft.com/library/windows/apps/dn264210.aspx) methods at the points in your code that you want to mark. Use [LoggingLevel.Information](http://msdn.microsoft.com/library/windows/apps/windows.foundation.diagnostics.logginglevel.aspx) in the calls.
51+
To add a user mark to C#, Visual Basic, C++ code, first create a [Windows.Foundation.Diagnostics LoggingChannel](xref:Windows.Foundation.Diagnostics.LoggingChannel) object. Then insert calls to [LoggingChannel.LogMessage](xref:Windows.Foundation.Diagnostics.LoggingChannel.LogMessage%2A) methods at the points in your code that you want to mark. Use [LoggingLevel.Information](xref:Windows.Foundation.Diagnostics.LoggingLevel) in the calls.
5252

5353
When the method executes, a user mark is added to the profiling data along with a message.
5454

5555
> [!NOTE]
5656
> - Windows.Foundation.Diagnostics LoggingChannel implements the [Windows.Foundation.IClosable](/uwp/api/windows.foundation.iclosable) interface (projected as [System.IDisposable](/dotnet/api/system.idisposable) in C# and VB).To avoid leaking operating system resources, call [LoggingChannel.Close](/uwp/api/Windows.Foundation.Diagnostics.LoggingChannel) ([Windows.Foundation.Diagnostics.LoggingChannel.Dispose](/uwp/api/Windows.Foundation.Diagnostics.LoggingChannel) in C# and VB) when you are finished with a logging channel.
5757
> - Each open logging channel must have a unique name. Attempting to create a new logging channel with the same name as an undisposed channel causes an exception.
5858
59-
See the Windows SDK Sample [LoggingSession sample](http://code.msdn.microsoft.com/windowsapps/LoggingSession-Sample-ccd52336) for examples.
59+
See the Windows SDK Sample [LoggingSession sample](https://code.msdn.microsoft.com/windowsapps/LoggingSession-Sample-ccd52336) for examples.
6060

6161
**Add marks to JavaScript code**
6262

@@ -141,7 +141,7 @@ if (performance && performance.mark) {
141141

142142
## Other resources
143143

144-
- The **Connection state and cost management** sections for [C#/VB/C++ and XAML](http://msdn.microsoft.com/en-us/0ee0b706-8432-4d49-9801-306ed90764e1) and [JavaScript and HTML](http://msdn.microsoft.com/en-us/372afa6a-1c7c-4657-967d-03a77cd8e933) in the Windows Dev Center describe the Windows APIs that provide network connectivity information that your app can use to minimize the cost of network traffic.
144+
- The **Connection state and cost management** sections for [C#/VB/C++ and XAML](/previous-versions/windows/apps/hh452985\(v\=win.10\)) and [JavaScript and HTML](https://msdn.microsoft.com/372afa6a-1c7c-4657-967d-03a77cd8e933) in the Windows Dev Center describe the Windows APIs that provide network connectivity information that your app can use to minimize the cost of network traffic.
145145

146146
The Visual Studio simulator for UWP apps enables you to simulate data connection properties of the network information APIs. See [Run UWP apps in the simulator](../debugger/run-windows-store-apps-in-the-simulator.md)
147147

0 commit comments

Comments
 (0)