When I debug my website\silverlight, it will always serve me the latest silverlight app I'm working on. but when I use the built-in web deploy. it won't deploy the latest silverlight xap.
How to force visual studio web deploy to publish the latest xap
333 Views Asked by Slime recipe At
1
There are 1 best solutions below
Related Questions in VISUAL-STUDIO
- NuGet - Given a type name or a DLL, how can I find the NuGet package?
- Exception thrown at 0x0131EB06 Visual Studio
- Visual Studio 2015 Cordova Plugin Add Fail
- Cannot find InvalidCastException in C# Application
- generating C# code file during Visual Studio build
- Can I deploy multiple instances of my application on the same windows phone?
- Close the Solution Explorer window
- How to generate entity framework code-first migrations without using the package manager console?
- Implementing callback function for dialog-based application
- VB.net: How to make original variable value fulfill 2 statements?
- DLL being marked as DELETEPENDING
- String tokenizing in Visual Studio C++
- How to use "Multicharts Studies" in Visual Studio 2013?
- Programs Will Not Run In Visual Studio
- VB.Net: Display total when check boxes are checked
Related Questions in SILVERLIGHT
- How to Integrate Snapdeal affiliate api in asp.net application
- How to convert a List<string> to an IEnumerable<ServiceReference.datatable> C# Silverlight WCF RIA Services LINQ to SQL
- Silverlight doesn't have a Uri.IsLoopback property
- Silverlight Nested Custom Controls results in StackOverflowException
- Bootstrap dropdown menu hiding behind Silverlight application embedded using iframe
- Binding BitmapImage to Image on ListBox doesn't work
- Could not load type 'Telerik.Windows.Documents.Packaging.DeflaterOutputStream'
- Insert a blank row into a Datagrid with dynamic columns
- String to Double Conversion (Comma to dot issue)
- Embedded resource image is adding a white dot to my image
- do you have any solution to reduce the build time?
- Style vs inline property setting in silverlight with a custom control
- How Does the Silverlight Client Talk to the Server in a 3 Tier Lightswitch Application?
- Problems to retrieve Image from SQL Server in Silverlight
- Bind DataGrid to List<Dictionary<string,string>>
Related Questions in WEBDEPLOY
- ASP-MVC Code-first migrations checkbox not active
- Visual Studio web deploy of ASP MVC app
- WebDeploy from TFS using Build Definitions to IIS site containing files changed by users
- Can WebDeploy Backup on Application Level Not the Whole Site?
- How to create/export a publishing profile within IIS to import in Visual Studio?
- format of the initialization string does not conform to specification starting at index 0 (MVC)
- How to deploy a WCF service library with teamcity
- Deploy code with phing
- Blank page on Zend Framework 2 app deploy
- Code does not work in published version
- Publishing to Azure Virtual Machine with Web Deploy
- Web deploy error - "Child object 'environmentVariables' cannot be added to object 'add'. The 'add' provider may not support this deployment."
- How to force visual studio web deploy to publish the latest xap
- How do I restore passwords associated with Publish Profiles?
- Visual Studio 2012 web deploy InvalidParameter: index
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I've been fighting with this annoyance for days now. and here is the workaround I found:
Although this is not much related to the topic, it's a good start point when you face such problem. Make sure your clients download the latest version by marking the xap file path with a query string:
<param name="source" value="@Url.Content("~/ClientBin/YourSilverlightApp.xap")[email protected]" />Print the assembly version of your silverlight somewhere on the UI so you can actually confirm it is the latest you had in your debug environment.
Delete the xap from your website folder and your website project ClientBin folder.
Rebuild the website and it should create a new xap in your website project.
Now you can publish the entire website or just the xap itself and it should be the latest version.