What should you do?

You are developing a Silverlight 4 application named Contoso.Accounts.Ui. The application uses a Silverlight library named Contoso.Ui.Common. You use application library caching to reduce the size of the XAP file by deploying Contoso.Ui.Common as a separate zip file. You create the following XML file.

<xml version=”1.0″ >
<manifest xmlns:xsi=”http://www.w3.org/2001/XMLSchemainstance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
<assembly>
<name>Contoso.UI.Common</name>
<version>1.0.0.0</version>
<publickeytoken>5ca45a28299b8a35</publickeytoken>
<relpath>Contoso.UI.Common.dll</relpath>
<extension downloadUri=”Contoso.UI.Common.zip” />
</assembly>
</manifest>

You need to ensure that the Contoso.Ui.Common library will be packaged as a separate zip file.
What should you do?

You are developing a Silverlight 4 application named Contoso.Accounts.Ui. The application uses a Silverlight library named Contoso.Ui.Common. You use application library caching to reduce the size of the XAP file by deploying Contoso.Ui.Common as a separate zip file. You create the following XML file.

<xml version=”1.0″ >
<manifest xmlns:xsi=”http://www.w3.org/2001/XMLSchemainstance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
<assembly>
<name>Contoso.UI.Common</name>
<version>1.0.0.0</version>
<publickeytoken>5ca45a28299b8a35</publickeytoken>
<relpath>Contoso.UI.Common.dll</relpath>
<extension downloadUri=”Contoso.UI.Common.zip” />
</assembly>
</manifest>

You need to ensure that the Contoso.Ui.Common library will be packaged as a separate zip file.
What should you do?

A.
Save the XML file as Contoso.Ui.Common.extmap.xml to the Bin folder of the Contoso.Accounts.Ui project.

B.
Save the XML file as Contoso.Accounts.Ui.extmap.xml to the Bin folder of the Contoso.Accounts.Ui project.

C.
Save the XML file as Contoso.Ui.Common.extmap.xml to the Contoso.Ui.Common project. Set the Build Action for the file as Embedded Resource.

D.
Save the XML file as Contoso.Accounts.Ui.extmap.xml to the Contoso.Ui.Common project. Set the Build Action for the file as Embedded Resource.



Leave a Reply 0

Your email address will not be published. Required fields are marked *