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

devquora
devquora

Posted On: Jul 10, 2024

 

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 by Microsoft used for creating and deploying interactive user experiences, media, and internet applications for web and mobile. This powerful tool enhanc..

    Silverlight Interview Questions

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

    Silverlight is an open-source development tool by Microsoft used for creating and deploying interactive user experiences, media, and internet applications for web and mobile. It works seamlessly acros..

    Silverlight Interview Questions

    List the different components used in Silverlight

    Silverlight is an open-source development tool by Microsoft used for creating and deploying interactive user experiences, media, and internet applications for web and mobile. It works across browsers,..