Skip to content

Added note about adding an application manifest file in Visual Studio. #5396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To build and register an identity package, follow these steps:

1. [Create a package manifest for the identity package](#create-a-package-manifest-for-the-identity-package)
2. [Build and sign the identity package](#build-and-sign-the-identity-package)
3. [Add identity metadata to your desktop application manifest](#add-identity-metadata-to-your-desktop-application-manifest)
3. [Add identity metadata to your desktop application manifests](#add-identity-metadata-to-your-desktop-application-manifests)
4. [Register the identity package in your installer](#register-the-identity-package-in-your-installer)

## Create a package manifest for the identity package
Expand Down Expand Up @@ -95,11 +95,13 @@ SignTool.exe sign /fd SHA256 /a /f <path to certificate>\MyCertificate.pfx /p <c

Note: For how to build and sign the identity package within a CI/CD pipeline with production certificates, see the [MSIX and CI/CD Pipeline Overview](/windows/msix/desktop/cicd-overview) for examples.

### Add identity metadata to your desktop application manifest
### Add identity metadata to your desktop application manifests

You connect the identity package with your application executables by including [application manifests](/windows/win32/sbscs/application-manifests) (a.k.a side-by-side or fusion manifests) with metadata that matches metadata from the identity package manifest.

Below is an example [application manifest](/windows/win32/sbscs/application-manifests) snippet demonstrating the `msix` element required to connect your binaries with metadata from your identity package.
In Visual Studio, you can add an [application manifest](/windows/win32/sbscs/application-manifests) to an executable project by opening the **Project** context menu, and selecting **Add** > **New Item** > **Application Manifest File**.

Below is an example application manifest snippet demonstrating the `msix` element required to connect your binaries with metadata from your identity package.

```xml
<?xml version="1.0" encoding="utf-8"?>
Expand Down