Creating a manifest for the managed JavaScript Silverlight application

With the XAML file in place, you should create an XML file named AppManifest.xml. Although this file is created automatically by Chiron, Chiron does not automatically add all of the assembly libraries you need.

Listing 11.10 shows an example of an AppManifest.xml file for a managed JavaScript Silverlight application. This manifest file includes the standard Silverlight assemblies, the assemblies for managed JavaScript, and the assemblies to implement the Silverlight 2 controls.

.ION

LISTING 11.10

Example AppManifest.xml File for a Managed JavaScript Silverlight Application

<Deployment xmlns="http://schemas.microsoft.com/client/2 0 07/deployment" xmlns:x="http://schemas.microsoft.com/winfx/2 00 6/xaml" RuntimeVersion="2.0.3 0226.00"

EntryPointAssembly="Microsoft.Scripting.Silverlight"

EntryPointType="Microsoft.Scripting.Silverlight.DynamicApplication"> <AssemblyPart Name="Microsoft.Scripting.Silverlight" Source="Microsoft.Scripting.Silverlight.dll" /> <AssemblyPart Source="Microsoft.Scripting.dll" /> <AssemblyPart Source="Microsoft.JScript.Compiler.dll" /> <AssemblyPart Source="Microsoft.JScript.Runtime.dll" /> <AssemblyPart Name="System.Windows.Controls" Source="System.Windows.Controls.dll" /> <AssemblyPart Name="System.Windows.Controls.Extended" Source="System.Windows.Controls.Extended.dll" /> </Deployment.Parts> </Deployment>

0 0

Post a comment

  • Receive news updates via email from this site