> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Application packaging during development

> Application packaging during development

Application packaging is performed in three stages during the development process: unencrypted packaging, test encryption packaging, and production encryption packaging. In addition, you can split a package into multiple subset packages, which can then be burned to multiple discs.

<Tip>
  **MSIXVC2** introduces a simplified development workflow for PC titles. By using `makepkg upload /d <folder> /msixvc2 /pc`, you can package and upload your build to Partner Center in a single command directly from loose files. For more information, see [Getting started with MSIXVC2 for PC](/build/core-features/common/packaging/overviews/packaging-getting-started-for-PC-msixvc2).
</Tip>

This article describes the following sections:

* [Test encrypted packaging](#ID4EXB)
* [Creating encrypted packaging for production](#ID4EVC)
* [Splitting a package](#ID4EKD)

<a id="ID4EXB" />

## Test encrypted packaging

By default, `makepkg pack` creates a package with test encryption. This encryption method allows testing for performance. We recommend that you deploy and test packaging by using test encryption.

To create a package with test encryption, call `makepkg pack` as follows.

```text theme={null}
MakePkg.exe pack /f <Mapfile> /d <LooseContentDir> /pd <OutputFolder>  
```

<a id="ID4EVC" />

## Creating encrypted packaging for production

To create a package for your final submission, use the same packaging command as the one used to create a test package, but with the **/l** flag.

```text theme={null}
MakePkg.exe pack /f <Mapfile> /d <LooseContentDir> /pd <OutputFolder> /l  
```

Tip: For XBOX console packages: Use **makepkg /lk** to test and submit the same package! See [the encryption section](/build/core-features/common/packaging/title-packaging-streaming-install-testing#encryption) for more information on the available package encryption methods offered by makepkg.

<a id="ID4EKD" />

## Splitting a package

The **splitpkg.exe** tool allows you to split a package into one or more subset packages, according to a subset XML file. You can then burn these subset packages onto separate discs. This feature is especially useful if your game is very large and can't fit onto a single disc.

```text theme={null}
splitpkg split /f <SubsetFile> /p <SourcePackage> /pd <OutputFolder>  
```

<a id="ID4EJE" />

## See also

[White Paper: Title Packaging and Streaming Installation Testing (Developer Education Materials > All NDA Whitepapers)](https://aka.ms/xgddl)


## Related topics

- [Streaming Installation and Intelligent Delivery: an overview](/build/core-features/common/packaging/overviews/streaming_install-intelligent_delivery.md)
- [Packaging and deployment for XBOX GDK titles](/build/core-features/common/packaging/index.md)
- [Title packaging, updates, and streaming-install testing](/build/core-features/common/packaging/title-packaging-streaming-install-testing.md)
- [PackagingServices](/reference/tools/packagingservices/packagingservices_members.md)
- [Packaging](/build/core-features/common/packaging/gc-packaging-toc.md)
