It is no need to create a License for your WPF if you want to publish in Microsoft Store. The WPF project is a desktop app which need to be converted to Desktop Bridge app before publishing it to the store.Now it can easily to implement by Visual Studio. I will show you the detailed steps to publish it.
Step 1. You need a windows developer account in Partner Center and to create App submission in it.
Step 2. Setup the Windows Application Packaging Project(eg, named MyWPFPackageProject) in your WPF project solution.
Step 2. Configure a package with the manifest designer for MyWPFPackageProject.
Step 3. Generate an app package on MyWPFPackageProject.
Step 4. Upload app package on the Partner Center
For more details about the process to in Partner Center and submit it to Store, please add windows-partner-center-general for your new question.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.