MSIX Packaging and Microsoft Store Deployment
Packaged as MSIX, a WPF application with TX Text Control can be sideloaded onto machines in your organization or submitted to the Microsoft Store. Visual Studio builds the package from a Windows Application Packaging Project that references your WPF project, and the project's reference to the NuGet package TXTextControl.TextControl.WPF.SDK comes along with it. What follows sets up the packaging project, creates and signs a package, installs it for a test and shows how to run the application in an AppContainer.
Prerequisites
A WPF application for .NET 8 or higher with
TXTextControl.TextControl.WPF.SDK; see Create Your First WPF Application.The Visual Studio component MSIX Packaging Tools: open the Visual Studio Installer, choose Modify, and check MSIX Packaging Tools among the optional components of the workload .NET desktop development.

Create the Packaging Project
In Solution Explorer, right-click the solution, and choose Add > New Project.
Find the template Windows Application Packaging Project, and click Next.
Name the project, and click Create.
Choose the target version and the minimum version of Windows for the package, and click OK. Text Control's walkthrough uses Windows 10, version 1809 as the minimum:

Right-click the packaging project, choose Add > Project Reference, check the WPF project, and click OK.
Right-click the packaging project again, and choose Set as Startup Project.
The WPF project now appears under Dependencies > Applications of the packaging project, together with its package reference.
Build and Sign the Package
With the packaging project selected, choose Project > Publish > Create App Packages.
Select the distribution method. Sideloading creates a package you install yourself; the Microsoft Store is the alternative for public distribution. For a first test, choose Sideloading, clear Enable automatic updates, and click Next:

On the signing page, select Yes, select a certificate, and pick the certificate for the package. Create makes a self-signed certificate if you have none. Continue with Next.
Check the architectures to build, for example x64, and click Create:

The architecture corresponds to a platform of your solution. x86, x64, and AnyCPU explains what the platform means for the native libraries of TX Text Control.
Sideload the Package for a Test
Windows installs a sideloaded package only if it trusts the certificate the package was signed with.
Open the output folder of the package, right-click the .cer file, and choose Install Certificate.
Choose Local Machine, and click Next.
Choose Place all certificates in the following store, browse to Trusted Root Certification Authorities, and finish the wizard with Next and Finish.

Double-click the .msixbundle file, and click Install.
Windows installs the application and starts it.
Run in an AppContainer
With .NET, Windows Forms and WPF applications can run in an AppContainer: an isolation in which the application reaches resources such as the camera, the microphone, the location or user data only if its package declares them.
In Solution Explorer, expand Dependencies > Applications of the packaging project, and select the WPF application.
In the Properties window, change Trust Level to Partial Trust. The setting is the same for a Windows Forms and a WPF application; the picture shows the project reference of a Windows Forms project:

In the packaging project, open Package.appxmanifest, switch to Capabilities, and check what the application has to reach:

The packaged application then has access to the declared resources and no others. Text Control's article Secure and Deploy .NET Windows Forms Apps with MSIX AppContainer Apps demonstrates it with a Windows Forms application; the settings are those of the packaging project.
Learn More
The blog article Deploying Windows Forms and WPF to Windows Store using MSIX walks through packaging and sideloading with screenshots, written for version 31.0 and .NET 6.
Next Steps
- Publishing .NET Applications: deploy the application as a publish folder instead.
- Redistribution Overview: what any deployment of TX Text Control contains.
- CI/CD: build the WPF application in a pipeline.