Skip to main content
 首页 » 编程设计

c#之解决方案中不存在 Package.appxmanifest

2024年02月13日121xiaohuochai

我使用的是 Visual Studio 2013 Ultimate。我已经在 Blend 中启动了我的 Windows Phone 8 应用程序,并在 Visual Studio 中完成了它。
根据this article ,我需要:

  1. In Visual Studio, close the manifest file if it’s already open in XML code view.
  2. In Solution Explorer, expand the project node of the app.
  3. Double-click the Package.appxmanifest file.

问题是 - 我的解决方案中没有 Package.appxmanifest 文件。如何创建它?也许我需要将我的解决方案转换为 Windows 商店项目?如果是,该怎么做?

请您参考如下方法:

这是措辞糟糕的文档。由于 Windows Phone 8 项目不包含 Package.appxmanifest——它们包含 WMAppManifest.xml,您可以在“设计器”中对其进行编辑。我已经尝试将 WP 8 项目升级到 8.1,它实际上添加了一个 Package.appxmanifest——它可以在“设计器”中编辑。我猜测,如果您还在解决方案中添加了一个 Windows 应用商店应用,将其转换为通用应用,它也会做同样的事情。