MicrosoftDocs / windows-dev-docs

Conceptual and overview content for developing Windows apps
Creative Commons Attribution 4.0 International
683 stars 1.19k forks source link

Package using a normal UWP project #816

Closed dongle-the-gadget closed 5 years ago

dongle-the-gadget commented 6 years ago

How can I package my app using Blank App (Universal Windows)?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

normesta commented 6 years ago

Hello - the recommended path forward is to use the Windows Application Packaging project. Before the Windows Application Packaging project was introduced, folks had to use a UWP blank app project (in most cases a JavaScript-based version of the UWP Blank app). However, that process was pretty complicated. To help folks who were working with solutions that contained that JavaScript-based UWP project, we kept those instructions online (along with the Windows Application Packaging Project) instructions for about a year after the Windows Application Packaging Project was introduced. Do you have a specific requirement to use a Blank App (Universal Windows) to package your win32 app?

dongle-the-gadget commented 6 years ago

No, but I see in many samples in GitHub, most samples used that kind of project, before Windows Application Packaging Project was introduced.

normesta commented 6 years ago

Hi superkid200 - Yes, using a UWP project to package a win32 app use to be the approach that our docs advocated. After the Windows Application Packaging project was introduced, we kept the guidance for using a UWP project side-by-side with the guidance for using the new Windows Application Packaging project. Via GitHub history, you can see that guidance in this version of the topic - https://github.com/MicrosoftDocs/windows-uwp/blob/dfd6f0f9a9a711c839c5731bcbf00eec018e7132/windows-apps-src/porting/desktop-to-uwp-packaging-dot-net.md. After the new packaging project was out for a while, we removed the guidance for stand-alone UWP because that is no longer the supported approach. Unfortunately, there are still a lot of samples in the wild that have the old UWP packaging project approach.