xap

Making the Silverlight XAP file expire from browser cache programmatically

时间秒杀一切 提交于 2019-12-17 15:36:25
问题 How to do I prevent a Silverlight XAP file being cached by the web browser? The reason I want to do this is during development I don't want to manually clear the browser cache, I'm looking for a programmatic approach server side. 回答1: Using IIS management add a custom header Cache-Control with the value no-cache . That'll cause the browser to check that any cached version of the XAP is the latest before using it. 回答2: Add a query parameter to the URL for the XAP in the element on the HTML

How to install and run SIlverlight application through AppleScript?

倖福魔咒の 提交于 2019-12-12 01:23:14
问题 I have a Silverlight application ("file1.xap" - not ".app" it is ".xap"). How do I install and run it using AppleScript on MAC OS X? 回答1: Besides the fact that your applet probably won't have permissions to install anything on Mac OS X 10.7 and later, you should be able to just copy the application package from any location to the applications folder: tell application "Finder" copy file "Your Application Name.app" of disk "Your Application Name" to the application folder of the startup disk

Silverlight + Galasoft MVVM Light + MEF loading XAP

一笑奈何 提交于 2019-12-11 02:21:42
问题 I have an application wich has some "modules" so to speak. Each user has permissions to see each module, some don't see all some see all. I want to load XAP files and load those view models(with views) in my application. How do I do that with Galasoft MVVM light and DeploymentCatalogService? Reference: http://mvvmlight.codeplex.com/ http://codebetter.com/glennblock/2010/03/08/building-hello-mef-part-iv-deploymentcatalog/ Is it even posible or am I wasting my time here? How to initialize this

WP8 - This package is using an app name that hasn't been reserved for this app

别等时光非礼了梦想. 提交于 2019-12-10 17:18:45
问题 I am submitting Windows Phone 8 app to app store, when I click on Review And Submit I get the Error : This package is using an app name that hasn't been reserved for this app In my WPAppManifest.xml file : Display Name is : GS Value // just an example Here GS has full form as Global Service, if I use this name in app list screen the text cuts so I have made it as GS Value. And when I am submitting the app I have reserved the name as Global Service : Value . So my Display name in WPAppManifest

Testing .xap on windows phone 8, without registration

淺唱寂寞╮ 提交于 2019-12-10 16:40:04
问题 I have got a .xap file, i mailed it and opened it in my windows phone 8. It gives me company app error. Also i tried it with deployment in visual studio, it runs fine with emulator but problem with device(zune software not installed) whereas i have installed it and it is not detecting the device. My question is that can we test an application without any company registration on windows phone device, just for testing purpose. I have got an microsoft account. 回答1: You can deploy the XAP, but

Xap packaging failed. Object reference not set to an instance of an object

安稳与你 提交于 2019-12-08 14:26:04
问题 I'm getting this error message on my PC when I try to build my Windows Phone app: Xap packaging failed. Object reference not set to an instance of an object I'm using Dropbox. On my laptop, It works perfectly fine and I can debug etc...On my PC however, I can't. I tried many things such as: Delete obj/Debug Folder Check for files which are missing on the Solution Explorer So far, nothing has helped. Any idea how I can fix this? 回答1: You should check, in every folder of your project, for

Access resx in application from Silverlight class library

我是研究僧i 提交于 2019-12-08 11:10:50
问题 Resource files in Silverlight can be accessed using the code below: ResourceManager rm = new ResourceManager("MyLibraryNamespace.MyFolder.MyResources", Assembly.GetExecutingAssembly()); However in my application this piece of code is not in the application itself, but in a Silverlight class library and the app has reference to it; changing the namespace to the "MyAppNamespace" just generates error. How can I reach the resources in the xap file from the Silverlight class library? 回答1: There is

How to optimize the size of silverlight XAP file by removing common files?

*爱你&永不变心* 提交于 2019-12-08 05:59:38
问题 I have bunch of common thrid party dlls that I use in multiple silver light projects. Each produce its own XAP files with same copy of the thrid party dlls. I would like to know, is it possibl to seperate the common thrid party dlls out and load only if the local cache dll is different from the common dll used by some other XAP that was previously loaded? In other words, what I was thinking is, first time when I enter a new silverlight page, it would load the application XAp and the Common

Windows Phone 8 Error - Installation of the application failed

别说谁变了你拦得住时间么 提交于 2019-12-07 08:02: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

“Can't install company app” on Windows Phone 8

本秂侑毒 提交于 2019-12-07 05:12:24
问题 I've developed a company app for Windows Phone 8, and have gone through all the recommended steps to set it up for installation. I have a Symantec code-signing certificate, and I have generated my Application Enrollment Token and my signed XAP, which I am hosting in a public folder on OneDrive. I generated the XAP using the BuildMDILXap.ps1 script, which ran without errors. I haven't bothered with a company hub app, since we're only distributing a single app. The AET loads OK on the phone,