AppManifest.xml vs WMAppManifest.xml - class libraries in Windows Phone 7 apps

百般思念 提交于 2019-12-10 11:37:11

问题


Before I submit my first app to the Windows Phone 7 Marketplace, I would like to know whether I should modify the AppManifest.xml file.

My app comprises of two assemblies (the app + class library) and I was wondering if I have to use Deployment.Parts in the AppManifest in order to pass the certification process.

Anybody has any experience with that?


回答1:


According to the Windows Phone 7 Application Certification Requirements:

4.1.1 List of Package Requirements

The XAP package must contain the following

a. A valid Windows Phone application manifest file, named WMAppManifest.xml.

b. The element in the WMAppManifest.xml file must contain the application title. The element must not be empty. The Application title entered in Step 2 of the submission process to Windows Phone Marketplace and the title displayed on the phone must be the same.

c. A valid .NET application manifest file, named AppManifest.xml.

d. The assembly files as specified in the AppManifest.xml file.

So the answer would be yes - you need to declare the used assemblies in AppManifest.xml before submitting the application to the Marketplace.

These are referenced in AppManifest.xaml automatically when the XAP package is built. When working in Visual Studio, though, the file will remain empty.




回答2:


Unless something is going wrong then Visual Studio should do all the work for you and you should not need to modify this file at all.



来源:https://stackoverflow.com/questions/4114025/appmanifest-xml-vs-wmappmanifest-xml-class-libraries-in-windows-phone-7-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!