[UWP]桌面到UWP Pacakging项目恢复为.net应用程序 [英] [UWP] Desktop to UWP Pacakging Project reverted to .net application

查看:89
本文介绍了[UWP]桌面到UWP Pacakging项目恢复为.net应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个WinForms应用程序,我正在使用Centennial将样本转换为Uwp。

I've got a WinForms app that I'm working through the samples to convert to Uwp, using Centennial.

我已将桌面添加到UWP Packaging Project部署项目,所以我可以调试转换后的应用程序,并开始添加一些Uwp功能。这一切都顺利进行,直到部署项目属性页面突然显示标准的.net / C#项目
属性页面,而不是允许您将其指向appx的部署项目属性。

I've add the Desktop to UWP Packaging Project deployment project so I could debug the converted app and start to add some Uwp features. This all worked swimmingly until all of a sudden the deploy project property page is showing the standard .net/C# project property pages, and not the deploy project properties that allow you to point it to the appx.

似乎VS当时正试图将其构建为.net exe,当然它不会成功。

It seems like VS was then trying to build it as a .net exe and it wouldn't succeed of course.

这是在VS 15 Preview 3中。

This is in VS 15 Preview 3.

删除部署项目并将其重新加载到解决方案,使其返回到部署项目。

Removing the deploy project and reloading it to the solution made it go back to a deploy project.

推荐答案

嗨dkackman_2000,

Welcome
开发通用Windows应用程序论坛!
 

请阅读粘性帖子,特别是  引导
到发布:主题行标记
 和  已知
Windows 10 SDK和工具的问题 

 

您是否使用Desktop App转换器作为下面描述的文档?  https://msdn.microsoft.com/windows/uwp/porting/desktop-to-uwp-run-desktop-app-converter

您是否准备好WinForm应用程序以满足转换器要求,因为以下
文档中的"准备桌面应用程序以转换为UWP"部分说? https://msdn.microsoft.com/en-us/windows / uwp / porting / desktop-to-uwp-root

如果你能提供一个重现项目并告诉我们你的问题的更多细节会更好。例如,操作系统版本是什么?

这篇关于[UWP]桌面到UWP Pacakging项目恢复为.net应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆