.NET FAQs Unleashed!
 
    
    

What is the significance of the AppManifest.xaml file?

The AppManifest.xaml file is essentially comprised of the information about the .xap file such as the relevant .dll files. See the sample AppManifest.xaml file below:

 

<Deployment

    xmlns="http://schemas.microsoft.com/client/2007/deployment"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    EntryPointAssembly="SilverlightApplication1"

    EntryPointType="SilverlightApplication1.App"

    RuntimeVersion="2.0.30226.2">

  <Deployment.Parts>

    <AssemblyPart x:Name="SilverlightApplication1" Source="SilverlightApplication1.dll" />

    <AssemblyPart x:Name="System.Windows.Controls" Source="System.Windows.Controls.dll" />

    <AssemblyPart x:Name="System.Windows.Controls.Extended" Source="System.Windows.Controls.Extended.dll" />

  </Deployment.Parts>

</Deployment>

 

The AssemblyPart node specifies the assemblies inside the .xap file. The starting node has the EntryPointAssembly and EntryPointType attribute. The EntryPointAssembly attribute defines the main assembly of the application. Further, note that the EntryPointType attribute specifies the Class inside the assembly. The Deployment node has a RuntimeVersion attribute that specifies the version of Silverlight used to build the application.

 

Silverlight without .NET   Silverlight in Full Screen Mode   Silverlight on Desktop   Silverlight Default Page Setting   Ajax VS. Java Applet   Button in XAML   Video files support by Silverlight   Deep Zoom in Silverlight   Displaying text in Silverlight   Deep Zoom Composer   Moonlight   RIA   What is Silverlight   WPF VS. Silverlight   .XAP file in Silverlight   AppManifest.xaml file   ClientBin Folder   Silverlight Runtime   Silverlight supporting languages   Silverlight Layout Controls   Silverlight Development Tools  

More Interview Questions...