Alpha 1.1 Refresh breaking changes - Silverlight.js
Last post 08-17-2007 5:05 PM by jackbond. 9 replies.
Sort Posts:
07-28-2007 1:59 AM
Alpha 1.1 Refresh breaking changes - Silverlight.js

I'm trying to fix the breaking changes that were caused by the Alpha 1.1 Refresh release, but am running into a wall.

I downloaded the new 1.1 SDK and changed my app to use the new Silverlight.js file, but it looks like they have the wrong one in there. 
The header in .js file looks like this 

///////////////////////////////////////////////////////////////////////////////
//
// Silverlight.js version 1.0
//
// This file is provided by Microsoft as a helper file for websites that
// incorporate Silverlight Objects. This file is provided under the Silverlight
// SDK 1.0 license available at http://go.microsoft.com/fwlink/?linkid=94240.
// You may not use or distribute this file or the code in this file except as
// expressly permitted under that license.
//
// Copyright (c) 2007 Microsoft Corporation. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////

And when i run it, it redirects the user to the install page for the 1.0 RC instead of the 1.1 Alpha.  Does anyone know where I can get the real 1.1 silverlight.js. 




James Hollister
Ascending Integration Inc.
www.AscendingIntegration.com

Silverlight Demo - Khet Online
www.AscendingIntegratin.com/KhetDemo

jameshollister

Loading...
Joined on 05-25-2007
Las Vegas
Posts 3
07-28-2007 12:04 PM
Re: Alpha 1.1 Refresh breaking changes - Silverlight.js

In case anyone else is having the same problem, we were able to find a real copy of the 1.1 Silverlight.js file on the Silverlight Airlines demo.

We've implemented all of the changes caused by the Alpha Refresh and you can find the javascript file at our Khet Demo Game:

http://ascendingintegration.com/khet/scripts/silverlight.js




James Hollister
Ascending Integration Inc.
www.AscendingIntegration.com

Silverlight Demo - Khet Online
www.AscendingIntegratin.com/KhetDemo

jameshollister

Loading...
Joined on 05-25-2007
Las Vegas
Posts 3
07-29-2007 12:30 PM
Re: Alpha 1.1 Refresh breaking changes - Silverlight.js

Excellent, thanks! That's exactly what I needed

Pete

If your question was answered, please mark the response as the answer.

Silverlight.net Moderator
MVP: Visual Developer - Client Application Development
POKE 53280,0 - My Blog

Psychlist1972

Loading...
Joined on 10-12-2004
Maryland, USA
Posts 801
08-08-2007 6:56 PM
Re: Alpha 1.1 Refresh breaking changes - Silverlight.js

jameshollister:

I tried replacing my silverlight.js file with this one but it's still directing users to the 1.0 RC download. Is there anything else that needs to be changed?

levere

Loading...
Joined on 07-18-2007
Posts 2
08-08-2007 9:29 PM
Re: Alpha 1.1 Refresh breaking changes - Silverlight.js

Is it possible that your browser is caching the Silverlight.js file? You might want to try forcing a refresh, ctrl-f5 in IE, dunno what it is in other browsers.

jackbond

Loading...
Joined on 03-21-2007
Posts 418
08-09-2007 12:56 PM
Re: Alpha 1.1 Refresh breaking changes - Silverlight.js

I tried that as I too thought that might have been the problem. I even cleared the browser cache just in case but still no luck. The page still displays the RC link instead of the Alpha link...

levere

Loading...
Joined on 07-18-2007
Posts 2
08-17-2007 7:10 AM
Re: Alpha 1.1 Refresh breaking changes - Silverlight.js
Hey guys, i've found a way how to get the new Aolpha 1.1. working. Not only the Silverlight.js file has to be adjusted, but also the CreateSilverlight.js file.

I took the Silverlight.js file from above and formatted it a little bit. Maybe it'll now be easier to detect possible errors in it.

I've tested my Silverlight example in Firefox, IE and Opera. IE and Firefox played it fine and in Opera the image with the link to the Alpha 1.1 download page shows up.

Here's the code:
http://2ouruniverse.piranho.com/Silverlight.js
http://2ouruniverse.piranho.com/createSilverlight.js

Cheers
Loonababe

Loading...
Joined on 08-17-2007
Posts 5
08-17-2007 12:14 PM
Re: Alpha 1.1 Refresh breaking changes - Silverlight.js

You shouldn't need to be tinkering with the Silverlight.js file, that's practically part of the Silverlight framework.

jackbond

Loading...
Joined on 03-21-2007
Posts 418
08-17-2007 4:42 PM
Re: Alpha 1.1 Refresh breaking changes - Silverlight.js

Normally I would agree, except they provided the wrong Silverlight.js file with the 1.1 Alpha Refresh SDK bits. The SDK silverlight.js simply doesn't work.

In my version (in my replacement add-in template), I replaced the whole Silverlight.js with one that a person on the forums here found in one of the other MSFT 1.1 examples.

Pete

If your question was answered, please mark the response as the answer.

Silverlight.net Moderator
MVP: Visual Developer - Client Application Development
POKE 53280,0 - My Blog

Psychlist1972

Loading...
Joined on 10-12-2004
Maryland, USA
Posts 801
08-17-2007 5:05 PM
Re: Alpha 1.1 Refresh breaking changes - Silverlight.js

Psychlist1972:
Normally I would agree, except they provided the wrong Silverlight.js file with the 1.1 Alpha Refresh SDK bits. The SDK silverlight.js simply doesn't work.

Sorry, I should have elaborated a bit more. You definitely need to get the Silverlight.js for the refresh from somewhere other than the SDK. That said, tinkering with the correct Silverlight.js is probably just asking for trouble down the road.

jackbond

Loading...
Joined on 03-21-2007
Posts 418
Page view counter