Give an example of how an AppManifest.xml file looks like.

devquora
devquora

Posted On: Feb 22, 2018

 

Consider the following example:

<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>
</Deploymnt>
</pre>

The essential part of AppManifest.xaml includes the Deployment hub. This centre portrays the administration and encompasses the child AssemblyPart hubs. As ought to be evident the AssemblyPart hubs describe which assemblies (DLLs) are limited inside the .XAP record, and give each one a name. Directly, if one recalls up to as well as can be expected, obviously observe that the Deployment hub has an EntryPointAssembly as well as EntryPointType properties.

The EntryPointAssembly quality describes which gathering portrayed underneath as a child AssemblyPart hub is the principle assembly (DLL) aimed at all the accessible applications. Likewise, the EntryPointType attribute demonstrates the class delimited inside the get together (DLL), described in the EntryPointAssembly property is a major class that will be required to be instantiated to start the association. The Deployment hub furthermore has a RuntimeVersion trademark that decides the type of Silverlight the implication is worked for.

 

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Silverlight Interview Questions

    What is the use of Silverlight?

    Silverlight is an open – source development tool manufactured by Microsoft..

    Silverlight Interview Questions

    Can Silverlight be used along with different browsers and operating systems?

    Yes, Silverlight can be used with different browsers, operating systems and electronic devices...

    Silverlight Interview Questions

    List the different components used in Silverlight

    The four different components used in Silverlight include the following:..