Skip to content

Commit d15ea22

Browse files
authored
Merge pull request #1732 from msebolt/resource-file-consolidation-pr37
resource file consolidation pr37
2 parents c17245c + ff00d3c commit d15ea22

4 files changed

Lines changed: 22 additions & 39 deletions

File tree

‎.openpublishing.redirection.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7785,6 +7785,11 @@
77857785
"redirect_url": "/cpp/windows/how-to-copy-resources",
77867786
"redirect_document_id": false
77877787
},
7788+
{
7789+
"source_path": "docs/windows/how-to-open-a-manifest-resource.md",
7790+
"redirect_url": "/cpp/windows/manifest-resources",
7791+
"redirect_document_id": false
7792+
},
77887793
{
77897794
"source_path": "docs/windows/activationfactory-activationfactory-constructor.md",
77907795
"redirect_url": "/cpp/windows/activationfactory-class#activationfactory",

‎docs/windows/TOC.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#### [Editing Managed Resource Files](editing-managed-resource-files.md)
2525
#### [Files Affected by Resource Editing](files-affected-by-resource-editing.md)
2626
#### [Manifest Resources](manifest-resources.md)
27-
##### [How to: Open a Manifest Resource](how-to-open-a-manifest-resource.md)
2827
### [Symbols: Resource Identifiers](symbols-resource-identifiers.md)
2928
#### [Viewing Resource Symbols](viewing-resource-symbols.md)
3029
#### [Creating New Symbols](creating-new-symbols.md)

‎docs/windows/how-to-open-a-manifest-resource.md‎

Lines changed: 0 additions & 35 deletions
This file was deleted.

‎docs/windows/manifest-resources.md‎

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Manifest Resources (C++)"
33
ms.date: "11/04/2016"
4-
helpviewer_keywords: ["manifest resources [C++]", "resources [C++], manifest"]
4+
helpviewer_keywords: ["manifest resources [C++]", "resources [C++], manifest", "resources [C++], opening"]
55
ms.assetid: 8615334c-22a0-44c0-93e0-5924528c9917
66
---
77
# Manifest Resources (C++)
@@ -26,9 +26,23 @@ In C++ desktop projects, manifest resources are XML files that describe the depe
2626

2727
For a Windows XP or Windows Vista application, the manifest resource not only specifies that the application use the most current version of the Windows common controls (v6.0, as seen above) but it also supports the [Syslink control](/windows/desktop/Controls/syslink-overview).
2828

29-
To view the version and type information contained in a manifest resource, you can open the file in an XML viewer or in the Visual Studio text editor. For more information, see [Opening a manifest resource in the Visual Studio Text Editor](../windows/how-to-open-a-manifest-resource.md).
29+
For information on adding resources to managed projects, see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*.
3030

31-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*.
31+
To view the version and type information contained in a manifest resource, you can open the file in an XML viewer or in the Visual Studio text editor. If you open a manifest resource from [Resource View](../windows/resource-view-window.md), the resource will open in binary format. To view the contents of a manifest resource in a more viewable format, you must open the resource from **Solution Explorer**.
32+
33+
## To open a manifest resource in the Text Editor
34+
35+
1. With your project open in **Solution Explorer**, expand the **Resource Files** folder.
36+
37+
1. Double-click the .manifest file.
38+
39+
Your manifest resource opens in the **Text Editor**.
40+
41+
## To open a manifest resource in another editor
42+
43+
1. In **Solution Explorer**, right-click the .manifest file and choose **Open With...** from the shortcut menu.
44+
45+
1. In the **Open With** dialog box, specify the editor you would like to use and select **Open**.
3246

3347
## Limitations
3448

0 commit comments

Comments
 (0)