Hello, I'm working on dynamic generation of XAP files from XAML and Python code.<br>The normal way is to pack them all in a single XAP file. The problem here is that this files easily become a few MB and this is not reasonably when you've -- say 10 -- of these silverlight controls on a webpage.<br>
My current Manifest file looks like this:<br><br><Deployment<br> xmlns="<a href="http://schemas.microsoft.com/client/2007/deployment">http://schemas.microsoft.com/client/2007/deployment</a>"<br>
xmlns:x="<a href="http://schemas.microsoft.com/winfx/2006/xaml">http://schemas.microsoft.com/winfx/2006/xaml</a>"<br> RuntimeVersion="%(version)s"<br> EntryPointAssembly="Microsoft.Scripting.Silverlight"<br>
EntryPointType="Microsoft.Scripting.Silverlight.DynamicApplication"><br> <Deployment.Parts><br> <AssemblyPart Source="Microsoft.Scripting.dll" /><br>
<AssemblyPart Source="IronPython.dll" /><br> <AssemblyPart Source="IronPython.Modules.dll" /><br> <AssemblyPart Source="Microsoft.Scripting.Core.dll" /><br>
<AssemblyPart Name="Microsoft.Scripting.Silverlight" Source="Microsoft.Scripting.Silverlight.dll" /><br> </Deployment.Parts><br></Deployment><br><br>And when I don't include the dll files in the XAP container, Silverlight tries to download them from the server, it's URL path relative to the current page.<br>
<br>Is it possible to set an absolute path where the Silverlight client can download the DLL files?<br>And from the IronPython perspective, does it any harm to keep these DLLs out of the XAP?<br><br>Thanks,<br>Jonathan<br>