When Silverlight4 application is build the 'Microsoft.Practices.Unity.Silverlight.dll' assembly is not putting into a separated file zip-file, it is in the XAP-file instead.
To be consistent, here are links to previous questions of the 'How to handle standard assemblies' topic: [http://stackoverflow.com/questions/3329731/silverlight-how-to-handle-standard-assemblies][Silverlight: how to handle standard assemblies] [http://stackoverflow.com/questions/3376143/silverlight-how-to-handle-standard-assemblies-part-2][Silverlight: how to handle standard assemblies (part 2)]
Here is a list of actions done:
- Deleted references on 'Microsoft.Practices.Unity.Silverlight.dll' assembly from Silverlight project and all its libraries;
- Copied this dll into "C:\Project\DLL" folder;
"Microsoft.Practices.Unity.Silverlight.extmap.xml" file was created in the folder with the following content:
< ?xml version="1.0"?>
<manifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <assembly> <name>Microsoft.Practices.Unity.Silverlight</name> <version>2.0.414.0</version> <publickeytoken>31bf3856ad364e35</publickeytoken> <relpath>Microsoft.Practices.Unity.Silverlight.dll</relpath> <extension downloadUri="Microsoft.Practices.Unity.Silverlight.zip" /> </assembly> </manifest>
(version number and public key token get from assembly itself).
- Added reference to the assembly into Silverlight project and 1 Silverlight class library that is used by the project;
- Performed full rebuild of the Silverlight-projects, rebuilded a web-site.
I am expecting file "Microsoft.Practices.Unity.Silverlight.zip" to be appeared in the "ClientBin" folder of the web site... but it doesn't.. And I don't have any idea why..
Probably you know something helpful? If so, please let me know.
Thank you!