有没有人知道是否可以在没有解决方案或源文件的情况下将Windows Phone 7 XAP文件加载到模拟器中?换句话说,我可以向某人发送一个XAP文件,以便他们可以测试我的应用程序,而无需向他们提供完整的源代码吗?
windows-phone-7 windows-8 windows-phone-7-emulator windows-phone-8 windows-phone-8-emulator
我正在为Windows Phone 7创建一个多人游戏.如何运行模拟器的多个实例以进行调试?
我遵循了Eric的建议并且工作正常,但通过HttpWebRequest使用https的请求无法连接.在提琴手,我看这似乎回到罚款,然后我的HttpWebRequest收到带有ArgumentNullException结果的连接请求.
这是异常的调用堆栈:
at System.IO.StringReader..ctor(String s)
at System.Net.Browser.HttpWebRequestHelper.ParseHeaders(Uri requestUri, SecurityCriticalDataForMultipleGetAndSet`1 headers, WebHeaderCollection collection, Boolean removeHttpOnlyCookies, HttpStatusCode& status, String& statusDescription)
at System.Net.Browser.ClientHttpWebResponse..ctor(String method, Uri url, HttpStatusCode status, String mime, SecurityCriticalDataForMultipleGetAndSet`1 headersString, Stream stream, Int32 expectedLen, CookieContainer cookieContainer)
at System.Net.Browser.ClientHttpWebResponse..ctor(String method, Uri url, HttpStatusCode status, String mime, SecurityCriticalDataForMultipleGetAndSet`1 headersString, Stream stream, CookieContainer cookieContainer)
at System.Net.Browser.ClientHttpWebRequest.Failed(Object sender, EventArgs e)
at MS.Internal.InternalWebRequest.OnDownloadFailed(Object sender, ErrorEventArgs args)
at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName) …Run Code Online (Sandbox Code Playgroud) 我知道这是一个众所周知的问题.Visual Studio 2010 Express for Windows Phone的模拟器突然停止工作.
提示:在我开始将应用程序部署到My Nokia Lumia之前,它工作正常.之后它没能开始.这可能是错误的原因吗?
抛出错误:
Connection failed because of invalid command-line arguments.
任何解决方法?!
TIA.
编辑:对不起,我只使用VS 2010.
任何Windows Phone应用程序开发人员都可以提
当我运行我的项目时,模拟器启动和关闭,错误The interface is unknown显示在Visual Studio的错误日志中.
前几天运行正常.
我该怎么做才能摆脱这个错误?
我正在写一个WP7(芒果)应用程序.我将值存储在WP7 IsolatedStorageSettings.ApplicationSettings中,然后我调用 IsolatedStorageSettings.ApplicationSettings.Save();
如果我按回去,离开屏幕,然后我回来,我可以很好地读取数值.但是,如果我在调试器中按重启(或者只是从模拟器重启),ApplicationSettings会抛出一个KeyNotFoundException,好像它没有持久 ...
我还没有在设备上试过它,我没有一个可用权利现在.
我可能做错了什么?
isolatedstorage application-settings windows-phone-7 windows-phone-7-emulator
我正在寻找Windowws Phone Emulator附加工具使用的位置数据格式.在"位置"选项卡上,有一个保存/打开记录器数据的选项.我问这个问题是因为我需要模拟地理位置变化,但位置标签对我来说不起作用.作为一种解决方法,我将创建位置数据的文件并在模拟器中打开它.

我正在为Windows Phone 7开发移动网页.
请建议我任何模拟器/模拟器来测试占用较少内存的页面,我尝试使用Windows Phone SDK安装Windows官方模拟器,因为它需要更多的系统空间,我放弃了该计划.
有没有其他替代方法来测试Windows Phone-7浏览器中的网页?
提前致谢.
mobile mobile-website windows-phone-7 windows-phone-7-emulator
我试图按照这个答案将一些音频文件添加到Windows手机模拟器的媒体库.但是我得到了错误
命名空间"Microsoft.Xna.Framework.Media"中不存在类型或命名空间名称"PhoneExtensions"(您是否缺少程序集引用?)
我无法引用microsoft.xna.framework.media.phoneextensions.dll,因为它不在该位置
C:\ Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone71
我安装了Microsoft XNA Game Studio 4.0,但仍无法在系统文件夹中找到dll.
我尝试但无法在互联网上的任何地方获取DLL.
这是我的代码(如果重要的话)
Uri file = new Uri("files/a_wink.mp3", UriKind.Relative);
var myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication();
var fileStream = myIsolatedStorage.CreateFile("a_wink.mp3");
var resource = Application.GetResourceStream(file);
int chunkSize = 2000000;
byte[] bytes = new byte[chunkSize];
int byteCount;
while ((byteCount = resource.Stream.Read(bytes, 0, chunkSize)) > 0)
fileStream.Write(bytes, 0, byteCount);
fileStream.Close();
Microsoft.Xna.Framework.Media.PhoneExtensions.SongMetadata metaData =
new Microsoft.Xna.Framework.Media.PhoneExtensions.SongMetadata();
metaData.AlbumName = "Some Album name";
metaData.ArtistName = "Some Artist Name";
metaData.GenreName = "test";
metaData.Name = "someSongName";
var ml …Run Code Online (Sandbox Code Playgroud)