如何在Windows Phone 7的Visuall Studio Express中指定发布版本 [英] How to a Specify a release build in Visuall Studio express for windows phone 7
问题描述
如何制作我的Windows Phone 7项目的发布版并在模拟器中运行?
How do I make a release buld of my windows phone 7 project and run it in the emulater?
Tg第一个应用程序我因为在屏幕截图中有调试信息而被拒绝。 在micrsoft网站上关于如何进行屏幕拍摄,说我必须做一个发布版本,但没有说怎么做。
Tghe first app I sub got rejected for having debug informtion in the screen shoot. On micrsoft website on how to do screen shoots, said I had to do a release build but did not say how to do it.
-Ted
推荐答案
在标准工具栏中,您会看到一个下拉框,其中包含"Debug"和"Debug"。或"发布"。 (在模拟器/设备选择旁边)
In the Standard toolbar you should see a drop down box with either "Debug" or "Release". (Next to the emulator/device choice)
此外,当您在模拟器中运行应用程序以捕获屏幕截图时,运行而不附加
调试器(Ctrl + F5)
Also, when you run the app in the emulator to capture screen shots, run without debugger attached (Ctrl + F5)
如果您的应用程序基于其中一个标准模板,那么app.xaml.cs中可能会有代码在启用调试器时启用帧速率计数器  (如:"Application.Current.Host.Settings.EnableFrameRateCounter = true;")
If you're app is based on one of the standard templates then there is probably code in your app.xaml.cs which enables frame rate counter when debugger is attached. (like so: "Application.Current.Host.Settings.EnableFrameRateCounter = true;")
这篇关于如何在Windows Phone 7的Visuall Studio Express中指定发布版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!