Reference to System.Windows.Browser in WP7.1 app

kal_ahmedkal_ahmed Posts: 11
edited May 2, 2012 8:28AM in SmartAssembly
Hi,

I just got started with the demo version of SmartAssembly yesterday and I have hit a problem when processing an assembly targeted at the Windows Phone 7.1 profile of Silverlight. The assembly I'm processing is a class library which is intended for our customers to use to access our APIs (i.e. it is a DLL)

The assembly processes through SmartAssembly without generating any error messages, but then when I try and use the processed assembly in a sample application the compilation generates the warning:
The primary reference "BrightstarDB.Mobile" could not be resolved because it has an indirect dependency on the framework assembly "System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" which could not be resolved in the currently targeted framework. "Silverlight,Version=v4.0,Profile=WindowsPhone71". To resolve this problem, either remove the reference "BrightstarDB.Mobile" or retarget your application to a framework version which contains "System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e".

I don't get this problem with the unprocessed assembly. I looked in the .saproj file and noticed that there is a reference to System.Windows.Browser in the .saproj file. However, just deleting this line didn't help.

My suspicion is that it is something to do with the error reporting in SmartAssembly. I turned that off, but it seems that the .saproj file still contains references to the templates and to some additional SmartAssembly DLLs. I didn't want to start hacking out all the SmartAssemby references from .saproj file without really knowing what they are all doing.

So two questions:

1) Is this reference being generated by SmartAssembly ?

2) How do I stop it ? :)

Cheers

Kal

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Kal,
    To sum up, you are protecting a DLL assembly using SmartAssembly, then referencing that assembly in another application, and when you compile that application, you get this error? So it is the Visual Studio compiler showing this error? Or have you integrated SmartAssembly into Visual Studio and the build is calling SmartAssembly, and smartassembly is reporting this error?
  • Hi Brian,
    To sum up, you are protecting a DLL assembly using SmartAssembly, then referencing that assembly in another application, and when you compile that application, you get this error?

    Yes, exactly. The error is showing in Visual Studio. As I don't get this error with the unobfuscated DLL I'm certain that I don't have any reference to the System.Windows.Browser assembly in my code and I'm fairly sure that there aren't any references in the other dependencies, but I do see a bunch of additional assembly references in the .saproj file with SmartAssembly-specific names, so I wonder if that has something to do with it ?

    Cheers

    Kal
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Kal,
    Here is a list of things that won't work on WP7, at least where XNA is concerned (hopefully this is up-to-date):
    http://www.red-gate.com/products/dotnet ... e-grid.pdf

    I'd assume that if the assembly name appears in the saproj, then it's not an internal dependency and it's something that the assembly you are protecting relies on, allegedly. This doesn't mean it's directly referenced, it could be a child-of-a-dependency...

    I suppose you could use .NET Reflector and put the assembly analyzer add-in on it to try to build up a graph of all the dependencies of the assembly.
  • Hi Brian,

    I'm really only looking to obfuscate at the moment. I left error reporting turned off and I don't even have the option to enable feature reporting in the GUI. I'm not attempting to embed any of the dependencies and I've tried both with the dependencies all merged and without any dependencies merged and get the same error either way.

    I've browsed the assembly dependencies in both .NET Reflector and dotNetPeek and I haven't found a reference to System.Windows.Browser either in my assembly or any of the dependencies - and all the dependencies reference .NET assemblies from the WindowsPhone71 profile of Silverlight 4, so I'm pretty sure there is no way they possibly could reference System.Windows.Browser as its not part of the WindowsPhone71 profile.

    Any pointers ? Below is the content of my .saproj file, perhaps this helps ?
    Note that in the GUI I have definitely turned off Automated Error Reporting, even though the template is there in the .saproj.
    <SmartAssemblyProject ProjectId="{ed48a69a-28a4-4169-8233-4756e8fd5e7d}" Version="2.0">
        <MainAssemblyFileName>.\InstallerTmp\Unobfuscated\SDK\WP71\BrightstarDB.Mobile.dll</MainAssemblyFileName>
        <Configuration Name="Release">
            <Options>
                <ExceptionReporting Template="res:{SmartExceptions}.Silverlight.dll" />
                <FeatureUsageReporting Template="res:SmartUsageWithUIConsentFirstRun1033.dll" />
                <StringsEncoding Compress="1" Encode="1" />
                <StrongNameSigning />
                <OtherOptimizations />
                <Obfuscation FieldsNameMangling="2" NameMangling="3" />
                <OtherProtections />
                <Debugging />
            </Options>
            <ApplicationName />
            <Destination DestinationFileName=".\InstallerTmp\SDK\WP71\BrightstarDB.Mobile.dll" />
            <Assemblies>
                <Assembly AssemblyName="BrightstarDB.Mobile, Culture=neutral, PublicKeyToken=null">
                    <Merging>
                        <ResourcesCompression />
                        <MemberRefsProxy />
                        <Pruning />
                        <Obfuscation Obfuscate="1">
                            <Exclusion />
                        </Obfuscation>
                        <ControlFlow Obfuscate="1" ObfuscationLevel="2" />
                    </Merging>
                    <Embedding />
                </Assembly>
                <Assembly AssemblyName="relinq, Culture=neutral, PublicKeyToken=null">
                    <Merging />
                    <Embedding />
                </Assembly>
                <Assembly AssemblyName="dotNetRDF, Culture=neutral, PublicKeyToken=null">
                    <Merging />
                    <Embedding />
                </Assembly>
                <Assembly AssemblyName="Newtonsoft.Json, Culture=neutral, PublicKeyToken=null">
                    <Merging />
                    <Embedding />
                </Assembly>
                <Assembly AssemblyName="HtmlAgilityPack.WindowsPhone, Culture=neutral, PublicKeyToken=null">
                    <Merging />
                    <Embedding />
                </Assembly>
                <Assembly AssemblyName="System.Threading.Tasks, Culture=neutral, PublicKeyToken=null">
                    <Merging />
                    <Embedding />
                </Assembly>
                <Assembly AssemblyName="Polenter.SharpSerializer.Silverlight, Culture=neutral, PublicKeyToken=8f4f20011571ee5f">
                    <Merging />
                    <Embedding />
                </Assembly>
                <Assembly AssemblyName="mscorlib, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Core, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Xml, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Net, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Windows, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Xml.Linq, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Runtime.Serialization, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="PoweredBySmartAssembly, Culture=neutral, PublicKeyToken=7f465a1c156d4d57">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="DoNotDistribute, Culture=neutral, PublicKeyToken=7f465a1c156d4d57">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="SmartAssembly.StringsEncoding, Culture=neutral, PublicKeyToken=7f465a1c156d4d57">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="SmartAssembly.Zip, Culture=neutral, PublicKeyToken=7f465a1c156d4d57">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="SmartAssembly.LicenseSilverlight, Culture=neutral, PublicKeyToken=null">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Windows.Browser, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.ServiceModel.Web, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="SmartAssembly.LicenseSilverlight, Culture=neutral, PublicKeyToken=7f465a1c156d4d57">
                    <Merging />
                </Assembly>
            </Assemblies>
        </Configuration>
    </SmartAssemblyProject>
    

    Cheers

    Kal
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    I wish I could help, Kal, but every Silverlight sample I have on my computer has a reference to System.Windows.Browser in it already before SmartAssembly. Can you please send the unprotected assembly to support@red-gate.com, quoting F0059434 in the subject?
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Ok, I think I have it. Create a new Silverlight class library, hack out all of the Windows namespace by hand, compile it, and run SmartAssembly. It creates those two references for the assembly output and I don't know why. I'll try to get an answer from the development team.
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    In the meantime, can you please explain how you get into this situation?

    I can, for instance, reference the DLL and use it in a Silverlight application. However, I still need System.Windows and System.Windows.Browser to have any UI at all in a Silverlight app. Maybe the methodology for Windows Phone is a bit different and I'm sorry to say I don't know a lot about phone development, this is why I am tackling it as a Silverlight problem.
  • Hi Brian,

    Thanks for looking into this for me!

    The main difference is my application is a Windows Phone application - and applications hosted in the browser are not supported (see http://msdn.microsoft.com/en-us/library ... 95%29.aspx - Unsupported Features). The entire System.Windows.Browser namespace is not available on Windows Phone (you can see this in the SDK docs when you check the version information - see http://msdn.microsoft.com/en-us/library ... 95%29.aspx - Using the Reference Documentation).

    So I would expect everything to be fine with a "regular" Silverlight app, but not with a Windows Phone app.

    I'm wondering if one or more of the SmartAssembly.* assemblies are actually regular Silverlight. I am currently using an eval version, and so I wonder if you have some Silverlight GUI that pops up when the app runs and if it is this that pulls in the System.Windows.Browser reference. Of course, I could be barking up totally the wrong tree, but might be worth checking with the dev guys.

    Cheers

    Kal
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Kal,

    Sorry for the diversion - Okay, I have Phone SDK and a smaple app form Microsoft (Tic-Tac-Toe) and used SmartAssembly on it. This does not add the reference to System.Windows.Browser.

    So back to the drawing board!!!

    I'll try to work out some way to figure out where this dependency is coming from and let you know.
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    I guess you could send us the SmartAssembly log - it will at least ensure all dependencies are loading from the WP7 profile folder:
    • Go to %programfiles%\red gate\smartassembly 6 and edit SmartAssembly.exe.config
    • Uncomment the bits to enable logging and save the file
    • Launch SmartAssembly
    • Go to %userprofile%\appdata\local\red gate\smartassembly 6
    • open SmartAssembly.log
  • Hi Brian,

    Sorry for the delay in replying - I've been on-site for one of our customers all day today. However, I've no managed to reproduce this problem with the simplest possible configuration:

    1) Fire up VS2010 and create a new solution - choose Visual C# > Silverlight for Windows Phone > Windows Phone Class Library. Note that there is no reference to System.Windows.Browser from this project.

    2) Build the clean solution

    3) Create a new project in SmartAssembly to obfuscate the library. I didn't change any of the default settings, just selected the DLL and output location and then hit build.

    4) Close SmartAssembly and save the .saproj file when prompted.

    This is the .saproj file content:
    <SmartAssemblyProject ProjectId="{81561a6c-a882-4307-857d-ea27b28cb666}" Version="2.0">
        <MainAssemblyFileName>.\PhoneClassLibrary1\Bin\Debug\PhoneClassLibrary1.dll</MainAssemblyFileName>
        <Configuration Name="Release">
            <Options>
                <ExceptionReporting Template="res:{SmartExceptions}.Silverlight.dll" />
                <FeatureUsageReporting Template="res:SmartUsageWithUIConsentFirstRun1033.dll" />
                <StringsEncoding />
                <StrongNameSigning />
                <OtherOptimizations />
                <Obfuscation FieldsNameMangling="2" NameMangling="3" />
                <OtherProtections />
                <Debugging />
            </Options>
            <ApplicationName />
            <Destination DestinationFileName=".\PhoneClassLibrary1\Bin\Obfuscated\PhoneClassLibrary1.dll" />
            <Assemblies>
                <Assembly AssemblyName="PhoneClassLibrary1, Culture=neutral, PublicKeyToken=null">
                    <Merging>
                        <ResourcesCompression />
                        <MemberRefsProxy />
                        <Pruning />
                        <Obfuscation />
                        <ControlFlow />
                    </Merging>
                    <Embedding />
                </Assembly>
                <Assembly AssemblyName="mscorlib, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="PoweredBySmartAssembly, Culture=neutral, PublicKeyToken=7f465a1c156d4d57">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="DoNotDistribute, Culture=neutral, PublicKeyToken=7f465a1c156d4d57">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="SmartAssembly.LicenseSilverlight, Culture=neutral, PublicKeyToken=null">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Windows.Browser, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Windows, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Core, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Net, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.ServiceModel.Web, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Runtime.Serialization, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="System.Xml, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
                    <Merging />
                </Assembly>
                <Assembly AssemblyName="SmartAssembly.LicenseSilverlight, Culture=neutral, PublicKeyToken=7f465a1c156d4d57">
                    <Merging />
                </Assembly>
            </Assemblies>
        </Configuration>
    </SmartAssemblyProject>
    

    Note that System.Windows.Browser is included in the list of assemblies for some reason.

    This is the logging output from SmartAssembly:


    [code]2012-04-24 19:09:30,801 INFO SmartAssembly.Program: Initializing
    2012-04-24 19:09:33,464 INFO SmartAssembly.Project: Opening project file C:\Users\Kal\Documents\Visual Studio 2010\Projects\PhoneClassLibrary1\PhoneClassLibrary1.saproj
    2012-04-24 19:09:33,972 INFO SmartAssembly.Project: Opening project file D:\Projects\brightstar\working\installer\BrightstarDB.Mobile.saproj
    2012-04-24 19:09:37,284 INFO SmartAssembly.Project: Opening project file C:\Users\Kal\Documents\Visual Studio 2010\Projects\PhoneClassLibrary1\PhoneClassLibrary1.saproj
    2012-04-24 19:09:37,288 INFO SmartAssembly.Project: Opening project file D:\Projects\brightstar\working\installer\BrightstarDB.Mobile.saproj
    2012-04-24 19:09:39,606 INFO SmartAssembly.Project: Opening project file C:\Users\Kal\Documents\Visual Studio 2010\Projects\PhoneClassLibrary1\PhoneClassLibrary1.saproj
    2012-04-24 19:09:40,072 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {PhoneClassLibrary1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null} to C:\Users\Kal\Documents\Visual Studio 2010\Projects\PhoneClassLibrary1\PhoneClassLibrary1\Bin\Debug\PhoneClassLibrary1.dll
    2012-04-24 19:09:40,079 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,194 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,195 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,200 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,201 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,202 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,205 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,206 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,207 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,225 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,230 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,231 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,232 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,236 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,238 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,240 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,244 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,245 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,246 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,247 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.Browser.dll
    2012-04-24 19:09:40,254 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.Browser.dll
    2012-04-24 19:09:40,255 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.Browser.dll
    2012-04-24 19:09:40,256 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,266 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,267 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,268 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,269 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,270 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll
    2012-04-24 19:09:40,332 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll
    2012-04-24 19:09:40,333 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll
    2012-04-24 19:09:40,334 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,335 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,336 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:40,348 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:40,349 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:40,350 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,351 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,352 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,375 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,376 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,377 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,378 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,380 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:40,392 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:40,393 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:40,394 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,395 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,396 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,397 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:40,414 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:40,415 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:40,416 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,417 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,418 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:40,419 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,420 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,421 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:40,422 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.ServiceModel.Web.dll
    2012-04-24 19:09:40,427 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.ServiceModel.Web.dll
    2012-04-24 19:09:40,428 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.ServiceModel.Web.dll
    2012-04-24 19:09:40,430 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,431 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,432 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:40,433 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:40,434 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:40,438 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,439 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,440 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,441 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,442 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,443 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.Browser.dll
    2012-04-24 19:09:40,444 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.Browser.dll
    2012-04-24 19:09:40,445 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,446 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,447 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,448 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,449 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll
    2012-04-24 19:09:40,450 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll
    2012-04-24 19:09:40,451 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,452 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,453 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:40,454 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:40,455 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,456 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,457 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,459 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,460 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,461 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,462 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:40,463 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:40,464 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,465 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,466 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,467 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:40,468 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:40,469 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,470 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,471 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:40,472 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,473 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,474 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:40,475 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.ServiceModel.Web.dll
    2012-04-24 19:09:40,476 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.ServiceModel.Web.dll
    2012-04-24 19:09:40,477 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,478 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,480 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:40,481 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:40,482 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:40,483 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:40,484 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.Browser.dll
    2012-04-24 19:09:40,485 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:40,486 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll
    2012-04-24 19:09:40,487 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:40,488 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:40,489 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:40,490 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:40,491 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.ServiceModel.Web.dll
    2012-04-24 19:09:43,717 INFO SmartAssembly.ProcessingProject: Building assembly C:\Users\Kal\Documents\Visual Studio 2010\Projects\PhoneClassLibrary1\PhoneClassLibrary1\Bin\Debug\PhoneClassLibrary1.dll to C:\Users\Kal\Documents\Visual Studio 2010\Projects\PhoneClassLibrary1\PhoneClassLibrary1\Bin\Obfuscated\PhoneClassLibrary1.dll
    2012-04-24 19:09:43,725 INFO SmartAssembly.ProcessingProject: Starting
    2012-04-24 19:09:43,729 INFO SmartAssembly.ProcessingProject: Analysing
    2012-04-24 19:09:43,752 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {PhoneClassLibrary1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null} to C:\Users\Kal\Documents\Visual Studio 2010\Projects\PhoneClassLibrary1\PhoneClassLibrary1\Bin\Debug\PhoneClassLibrary1.dll
    2012-04-24 19:09:43,753 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,811 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,812 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,814 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,815 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,816 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,819 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,820 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,821 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,822 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,823 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,824 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,825 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,826 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,827 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,828 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,831 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,832 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,833 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,834 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.Browser.dll
    2012-04-24 19:09:43,841 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.Browser.dll
    2012-04-24 19:09:43,842 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.Browser.dll
    2012-04-24 19:09:43,843 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:43,852 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:43,853 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:43,855 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,856 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,857 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll
    2012-04-24 19:09:43,904 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll
    2012-04-24 19:09:43,905 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll
    2012-04-24 19:09:43,906 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:43,908 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,909 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:43,920 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:43,921 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:43,922 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,923 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:43,924 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:43,953 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:43,954 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:43,955 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,956 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:43,958 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:43,969 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:43,970 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:43,971 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,972 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:43,974 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:43,975 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:43,992 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:43,993 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Runtime.Serialization.dll
    2012-04-24 19:09:43,994 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:43,995 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:43,996 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll
    2012-04-24 19:09:43,997 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:43,998 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll
    2012-04-24 19:09:43,999 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll
    2012-04-24 19:09:44,000 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.ServiceModel.Web.dll
    2012-04-24 19:09:44,005 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.ServiceModel.Web.dll
    2012-04-24 19:09:44,006 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.ServiceModel.Web.dll
    2012-04-24 19:09:44,007 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll
    2012-04-24 19:09:44,008 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll
    2012-04-24 19:09:44,009 DEBUG SmartAssembly.AssemblyReader: Resolved
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    It does look as if SA is convinced your assembly is Silverlight rather than WP7. For instance, on a windows phone assembly, you should see this in the log:
    2012-04-24 10:02:56,412 DEBUG SmartAssembly.AssemblyReader: Resolved assembly {mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e} to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone71\mscorlib.dll
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    If SmartAssembly detects the Version String of the first reference to mscorlib in your assembly as "Silverlight,Version=v4.0,Profile=WindowsPhone", then it will be treated as a Windows Phone assembly. So possibly you have multiple references to mscorlib or there is a problem with your compiler...
  • Hi Brian,

    As I said in my last post, I am now just trying to obfuscate a completely empty new Windows Phone 7.1 class library project. So, there is *no* custom code in it, *no* assembly references other than the ones added by Visual Studio. VS shows that the mscorlib reference is to the Windows Phone 7.1 profile mscorlib.dll reference.

    I tried editing the .saproj to remove all the references added by SA except for mscorelib, for which I then set a MandatoryPath property to point to the WindowsPhone71 mscorlib. After the build, SA has modified the .saproj file again - the MandatoryPath remains in the .saproj file after the build, but the additional reference to System.Web.Browser is back in there.

    Are you saying that you cannot reproduce this problem with the steps I outlined in my previous post ? If not, do you have any idea at all why this behaviour might appear on my machines (plural, I have tried on two different development machines), but doesn't appear in your setup ?

    Cheers

    Kal
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Kal,

    Sorry, no I can't reproduce. And just to clarify, the references we are talking about are in the actual assembly after build, not the .csproj. This is why I suggested your compiler may be to blame. You have to open the assembly in something like .NET Reflector and check the references after build.
  • Hi Brian

    I checked with dotPeek and for the unobfuscated assembly it shows one reference to:

    mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e

    When I expand that reference, I get the mscorlib assembly with the WindowsPhone71 profile.

    For the obfuscated assembly, it references the same mscorlib but also System.Windows.Browser (System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)

    Can you give me a pointer on what compiler settings might be causing this problem - I'm happy to try things out, but I am very confused as to why this is happening at all with an empty, unmodified project and I'm not sure where to start with poking around at compiler settings.

    Cheers

    Kal
  • Further to my last message, this is the output from msbuild when compiling the assembly:

    CoreCompile:
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,
    1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE;SILVERLIGHT;W
    INDOWS_PHONE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsof
    t\Framework\Silverlight\v4.0\Profile\WindowsPhone71\mscorlib.dll" /reference:
    "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight v4.0\Profile\WindowsPhone71\mscorlib.extensions.dll" /reference:"C:\Program F
    iles (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile WindowsPhone71\System.Core.dll" /reference:"C:\Program Files (x86)\Reference
    Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone71\system
    .dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Frame
    work\Silverlight\v4.0\Profile\WindowsPhone71\System.Net.dll" /reference:"C:\P
    rogram Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0 Profile\WindowsPhone71\System.Windows.dll" /reference:"C:\Program Files (x86)
    \Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPho
    ne71\System.Xml.dll" /debug+ /debug:full /optimize- /out:obj\Debug\PhoneClass
    Library1.dll /target:library Class1.cs Properties\AssemblyInfo.cs "C:\Users\K
    al\AppData\Local\Temp\Silverlight,Version=v4.0,Profile=WindowsPhone71.Assembl
    yAttributes.cs"


    All references are definitely only to the WindowsPhone71 profile of Silverlight.
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Yes, but can you please look at the references in the assembly after build???
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Or can you send the assembly in?
  • Hi

    Sorry - it got a bit out of order, but if you look at the post preceding that last one, I did use dotNetPeek on the assembly both before obfuscation with SA and after obfuscation and noted the differences.

    What email address should I use for sending in the assembly ?

    Cheers

    Kal
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    support@red-gate.com and please quote F0059434 in the subject line.
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    If you protect a phone app with an evaluation version of SmartAssembly, it adds the reference to System.Windows.Browser. I did not have this problem because I had a valid serial number for it.
  • Hi Brian,

    Thanks for the response. If this issue can be fixed by using a licensed copy of SmartAssembly, then that is definitely good news. It is a shame that we can't test the use of the assembly ourselves with the evaluation version, but if we have an assurance from Redgate that we will be able to obfuscate our WP 7.1 assembly and let our customers use it in their projects without this Silverlight dependency, then I am happy to proceed and get the licenses we need.

    Many thanks for your assistance!

    Cheers

    Kal
Sign In or Register to comment.