A Microsoft platform for building and publishing apps for Windows devices.
Hi @WoodManEXP ,
Thank you for reaching out, and thank you for your patience while your question was awaiting a response.
I understand how frustrating this must be, particularly when the issue appears after changing your development environment. The message indicates that Visual Studio is attempting to use a launch profile with the MsixPackage command that is not currently being handled by the selected project. Before determining the exact cause, I would like to verify the current startup and deployment configuration.
As an initial check, please try the following:
- In Solution Explorer, right-click the UWP application project and select Set as Startup Project.
- Select Build > Configuration Manager, and confirm that the Deploy check box is selected for the UWP project under the active configuration and platform.
- In the dropdown next to the Start Debugging button, check which deployment target is selected. If Local Machine is available, select it and try launching the debugger again.
Microsoft describes the available UWP deployment targets in the Picking a deployment target section of Deploying and debugging UWP apps. Please note that Local Machine is only offered when the project's Target Platform Min. Version is less than or equal to the operating system on your development machine, so it would also be helpful to confirm the target and minimum versions configured in your project.
Since the issue began after Visual Studio was installed or updated on the new computer, please also verify that the required UWP development components are installed. The applicable workloads and components are listed in Change workloads and individual components.
If the issue persists, please provide the following information:
- The project currently set as the startup project
- The option selected in the debug-target dropdown
- The Target version and Minimum version configured for the project
- Whether the Deploy check box is selected in Configuration Manager
- Whether the solution contains a separate packaging project
- Any related messages shown in the Output or Error List window
You may provide these details in writing or by sharing a screenshot, whichever is more convenient. If you choose to share a screenshot, please remove or cover any personal or confidential information.
This information will help me determine whether the next troubleshooting step should focus on the startup project, the deployment configuration, or the UWP components installed with Visual Studio.
If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance or provide feedback.
Thank you.