Silverlight App(s) won't run on Windows 8 preview RSS - silverlight

I tried an app I wrote that works on Win7 boxes. Using the Win8 Preview, IE just asks to rerun Silverlight Install. Same thing happens on the PlanetX demo game from the Silverlight site. Is there a trick to get the Win8 Preview to run it or is it true Silverlight is getting killed off for HTML5/Script (yuckkk!!##$) If this is not true then MS needs to speak up LOUDLY. Writers are all over the Web with a Silverlight is dead/legacy story. Somebody please tell me now so I can cut my losses if I need to.
.

You can run Silverlight apps just fine on the Windows 8 preview. The Metro version of IE supports no plug-ins - not Silverlight, not Flash, not anything else. Just drop into the desktop (for example, click the Windows Explorer icon) and launch the non-metro version of IE. Silverlight will work fine. You can even install out of browser (OOB) applications and a launch tile will appear for them on the Metro start page.

Related

WPF .exe application file is not working in Windows 8 surface Tablet

Am new to WPF .Previously was worked with Windows 8 /Windows phone application developer. I created a List application using ListBox in WPF. Since i wanted to test the application on a touch device i tried to run it's .exe file on my Windows 8 Surface tablet. I could not run my application.
Can't I run WPF application on Windows 8 tablet? Currently am working & running it using a Windows 8 PC , Where it runs. Please provide any information regarding this.
Or how we can create my application's package so that we could run it on Windows 8 surface tablet ?
For the Surface Pro tablets, you should still be able to run WPF. However, the standard tablets will only run Store Apps.

How to run samples. Visual Studio 2010

This might be a dumb question but I've been developing for a while and I still can't figure this out. Sometimes when I download samples for WP7 applications it shades out the "run application". I can build it and it succeeds but I can't run it. Anyone know how I can run these samples?
The sample I'm looking at is the "Farseer Physics Engine 3.3.1 Samples XNA" at http://farseerphysics.codeplex.com/releases/view/64108.
The WP7 project hasn't been set as the default one. In the Solution Explorer, right-click on Samples XNA WP7 and click Set as Startup Project. You should then be able to deploy.
Edit - If you find that you can't deploy because you get:
The application could not be launched for debugging. Verify that the
application is installed on the target device.
go to Properties...Configuration Settings and make sure Build and Deploy are both checked
In the device dropdown is Windows Phone Emulator or Windows Phone Device selected?
Sometimes with samples that dropdown will have neither selected and therefore can not run until one is selected.

debug an xbap on firefox?

I am starting to write an xbap (wpf web app).
I create a new project and run it and Firefox fails (it just keeps trying to open it with "Windows Presentation Foundation Host).
I know that Firefox and Microsoft don't really see eye to eye, but surely there is a way to do this now days?
Saw this post that shows a hack of copying out a DLL from a Windows XP machine. But my users will not do that (I don't even want to do that!)
Does this mean I have to abandon Firefox as my default browser until I am done developing my xbap?
NOTE: I am using Windows 7 and Visual Studio 2010 Ultimate and Firefox 3.6.12
I don't know what exactly your problem is, but here is a Scott Hanselman blog post detailing a WPF application deployed as an XBAP (not XBAB) using VS 2008 with .NET 3.5. It doesn't say anything about WPF 4 (and the .NET 4 runtime, the post is from 2008) or what version of Firefox he was playing with but I hope this demonstrates it is possible and gives you a starting point for more detailed investigations.
Edit - Well, I should have dug a little deeper. It appears that Windows 7 won't support XBAPs in FireFox. There is a Firefox Add-on to Support XBAPs and Loose XAML that is installed with the .NET 3.5 runtime but it is not included in Windows 7 and this link suggests it can't be installed on Windows 7.
You could run IE Tab Plus (Firefox plug-in) and get it to default to IE when you open something from the localhost.

Does not recognize Silverlight 4.0 Install

I am running Win 7 64-bit. I a running IE 9 beta (9.0.7930.16406 )I upgraded to Silverlight 4.0 and for some reason now it does not recognize that I have it installed when I go to Silverlight required web sites.
In my control panel – it clearly states that I have 4.0 installed. I uninstalled and reinstalled this as well. However when I go to sites that require silverlight it does not recognize that have Silverlight installed. And of course when I try to click on install Silverlight I get the following error: "The same version of silverlight is installed"
Interesting information – I was able to create another account on my computer and get things working. So this is something tied to my login ID. And yes I am admin on this box.
Any ideas?
Are you launching the 32-bit or the 64-bit Internet Explorer process? Silverlight only works in 32-bit browsers.

Silverlight app hosted in browser control prompting

I have a Silverlight application that I can run from Internet Explorer 8.
When I attempt to host it in a Winforms browser control as described here: Silverlight Hosted in Winforms it display a web page that says "To view this content, please install" and has a "Click now to install" button.
Unfortunately, SL4 is already installed. However I did try to follow the instructions. But was prompted, of course, that SL4 was already installed on my system.
I seems that at one spot IE/Silverlight cannot see that Silverlight runtime is installed, but at anoter spot it can see it. This has become a significant roadblock.
The client OS is Win 7 64-bit. I have no idea if other versions of OS are exhibiting the same problem.
Silverlight (the plugin) is 32-bit only. You can not run it from a 64-bit application.
If you can [easily] force the application to run in a 32-bit context, then you're in luck -- change the "target" of the VS project from "Machine Independent" to "x86".
The above situation describes exactly what I ran into when trying to run SL (32-bit) in a Windows Sidebar Gadget (default 64-bit on Windows 7 64-bit); this is somewhat interesting, it implies that all (or at least almost all of) the components behind IE are 64-bit ready. The "holdup" and why IE normally only runs in 32-bit is that it's a chick-and-egg problem with all the plugins, BHOs, and ActiveX components used. However, the (IE) Browser Host will happily run as 64-bit.

Resources