xap

New Silverlight app doesn't generate XAP

ⅰ亾dé卋堺 提交于 2019-12-06 06:21:01
问题 I have created a new Silverlight app and it created a XAp file under the CLientBin on the Server side. However after copying an existing project into the same folder and adding it to the solution, the XAP file is not being generated for the this assembly. What am I missing? Many Thanks, 回答1: Do not attempt to modify your project/solution files manually unless you know exactly what you are doing :) Adding it to the solution is not enough. You need to make a Silverlight relationship between the

silverlight XAP gets downloaded every time

这一生的挚爱 提交于 2019-12-05 21:49:22
I've just uploaded my silverlight webpage to my production webserver. The issue im having is that everytime I open the website in the browser it is downloading a new copy of the XAP. What could be causing this issue? We have seen a similar problem appear when we entered Daylight Savings Time (British Summer Time in the UK). Check that the date/time on the server is not out of sync with the real world (usually by an hour). This may not be the cause of your problem, but best to check it anyway. 来源: https://stackoverflow.com/questions/3498974/silverlight-xap-gets-downloaded-every-time

Windows Phone 8 Error - Installation of the application failed

老子叫甜甜 提交于 2019-12-05 12:28:41
I am working on a Windows Phone 8 project where we are deploying it as a company app through HockeyApp. I have a .PFX file generated from our Symantec cert and the correct .aetx file installed on the device. If I take the .XAP file I intend to deploy and copy it somewhere separate and test it by deploying it using the XapDeploy.exe tool, it will install silently and work properly. Then I use the XapSignTool to sign the .XAP against the .PFX successfully ("XapSignTool Success: Successfully signed = C:\xxx"). When I attempt to test this recently signed XAP with the XapDeploy tool I will get the

Silverlight: how to handle standard assemblies (part 2)

巧了我就是萌 提交于 2019-12-05 04:50:28
问题 It is necessary to move 'standard' assemblies out of the xap-file (Silverlight 4 application). I had a similar problem (Silverlight: how to handle standard assemblies) and got a good link with deep explanations. But not all is clear there. After I've switched on the 'Reduce XAP size by using application library caching" the size of my xap-file was decreased in twice, the following assemblies were moved out into separate zip-files: System.ComponentModel.DataAnnotations; System.Windows.Controls

Error when trying to update XAP in the windowsphone dev center

允我心安 提交于 2019-12-04 06:47:40
问题 I am trying to submit an update for a windows phone app, but when I click "Update app" and I select the appropriate .xap file, the following error message appears: [ScriptObject_InvokeFailed] Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=8.1.10411.0&File=System.Windows.Browser.dll&Key=ScriptObject_InvokeFailed What is this supposed to mean?

silverlight 4, dynamically loading xap modules

牧云@^-^@ 提交于 2019-12-01 18:08:17
I know that it is possible to load xap modules dynamically using Prism or MEF framework. However, I'd like not to use those frameworks; instead load my xap files manually. So, I created the following class (adapted from internet): public class XapLoader { public event XapLoadedEventHandler Completed; private string _xapName; public XapLoader(string xapName) { if (string.IsNullOrWhiteSpace(xapName)) throw new ArgumentException("Invalid module name!"); else _xapName = xapName; } public void Begin() { Uri uri = new Uri(_xapName, UriKind.Relative); if (uri != null) { WebClient wc = new WebClient()

Prevent Silverlight xap from being cached by proxy server

人盡茶涼 提交于 2019-12-01 17:13:07
The company I work for has proxies/WAN accelerators between our international sites to cache Intranet web content. I have a Silverlight application being hosted on a server at one location, but being accessed by clients in another location. When the users access the web page hosting the Silverlight app, they get the stale xap file being cached by the proxy and not the latest version from the server. Local users always get the latest xap as their requests are not going through a proxy. I've tried the various header/metadata techniques mentioned elsewhere to prevent caching, and the containing

Prevent Silverlight xap from being cached by proxy server

非 Y 不嫁゛ 提交于 2019-12-01 17:02:29
问题 The company I work for has proxies/WAN accelerators between our international sites to cache Intranet web content. I have a Silverlight application being hosted on a server at one location, but being accessed by clients in another location. When the users access the web page hosting the Silverlight app, they get the stale xap file being cached by the proxy and not the latest version from the server. Local users always get the latest xap as their requests are not going through a proxy. I've

silverlight 4, dynamically loading xap modules

北城余情 提交于 2019-12-01 16:27:03
问题 I know that it is possible to load xap modules dynamically using Prism or MEF framework. However, I'd like not to use those frameworks; instead load my xap files manually. So, I created the following class (adapted from internet): public class XapLoader { public event XapLoadedEventHandler Completed; private string _xapName; public XapLoader(string xapName) { if (string.IsNullOrWhiteSpace(xapName)) throw new ArgumentException("Invalid module name!"); else _xapName = xapName; } public void

Deploy more than one WP7 App with same Visual Studio Solution?

↘锁芯ラ 提交于 2019-11-30 21:44:21
How can I deploy more than one WP7 app with the same Visual Studio solution? What do I need to change to achieve this? Changing Xap file name and assembly GUID and title does not achieve it. In fact VS overrides the old one with new title but does not deploy a separate app Background: We have a Lite and Pro app and I want to be able to deploy both versions onto the phone. EDIT: Trial API is not an option for us. We have thought about that but decided to not use it. I have created prebuild events, which is based on the current configuration name. This event replaces the app configuration