My reading of Stephen's email was that he wanted to load the XAP within 
ASP.NET, thus he's on the full framework.

As for the castrated version of the framework, whether it includes 
System.IO.Packaging or not, System.IO.Packaging is still the official framework 
support for dealing with raw packages.


--
Tatham Oddie
au mob: +61 414 275 989, us cell: +1 213 280 3556, skype: tathamoddie
If you're printing this email, you're doing it wrong. This is a computer, not a 
typewriter.

From: [email protected] 
[mailto:[email protected]] On Behalf Of Scott Barnes
Sent: Thursday, 10 March 2011 10:11 PM
To: ozSilverlight
Subject: Re: Load Xap in aspx page

Well the System.IO.Packaging wasn't available in the earlier Silverlight 
versions ( i think it was in 1.1 but then got nurfed in 2.0 or it may have been 
planned..i have a terrible memory) so i wouldn't necessarily declare it the 
"official" approach to the below. That being side since Silverlight 3/4+ 
there's been some house cleaning etc so i wouldn't also say it's not possible 
that its now become the official :)

I'm really not helping am i :) lol

---
Regards,
Scott Barnes
http://www.riagenic.com

On Thu, Mar 10, 2011 at 8:30 PM, Tatham Oddie 
<[email protected]<mailto:[email protected]>> wrote:
Isn't a XAP just a package?

Thus, System.IO.Packaging is the official API for dealing with it. Same as the 
new Word format, NuGet packages, etc.

It'll take a stream in, etc.


--
Tatham Oddie
au mob: +61 414 275 989, us cell: +1 213 280 3556, skype: tathamoddie
If you're printing this email, you're doing it wrong. This is a computer, not a 
typewriter.

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Stephen Price
Sent: Thursday, 10 March 2011 7:08 PM
To: ozSilverlight
Subject: Load Xap in aspx page

Hey all,


I want to open up a xap file and get the AssemblyVersion from a dll in the xap.

Can't seem to find any examples of anyone done this, so I'm flailing about 
trying to find how to open a xap file. I think I may have to resort to treating 
it like a zip file (maybe using #ZipLib)

any other ideas? All the cool xap loading stuff in Silverlight is rather absent 
from Asp.net (possibly a good thing)

cheers,
Stephen

_______________________________________________
ozsilverlight mailing list
[email protected]<mailto:[email protected]>
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to