获取package.AppxManifest [英] Obtaining package.AppxManifest

查看:558
本文介绍了获取package.AppxManifest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用需要处理一个URI,我需要一个包清单才能做到这一点。我的.NET Forms应用程序在解决方案资源管理器中没有包清单。如何让它显示出来?

My app needs to process a URI, and I need a package manifest in order to do that. My .NET Forms app does not have a package manifest in the Solution Explorer. How do I get this to show up?

这里已经提出了一个类似的问题,并且应该回答,但是我在那篇文章中研究了这四个链接中的每一个,他们都说了什么一旦你有了清单就做了。问题是我的包中没有清单(新的
项目也没有清单)。

A similar question has been asked here, and supposedly answered, but I studied each of those four links in that post, and they all said what to do with a manifest once you had it. The problem is that I don't have a manifest in my package (nor does a new project have one).




推荐答案

Windows窗体应用程序没有package.appxmanifest。这适用于UWA应用程序。在Winforms应用程序中,您可以拥有一个app.manifest文件,该文件使用Add New Item命令添加,就像您添加表单或类一样。
Windows Forms apps don't have a package.appxmanifest. That is for UWA apps. In a Winforms app you can have an app.manifest file which is added by using the Add New Item command just like you'd add a form or class.


这篇关于获取package.AppxManifest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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