Dependency not shown when used from XAML only

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

Dependency not shown when used from XAML only

Postby dybalabj » Mon Mar 03, 2014 6:39 pm

Hello,

I have a dependency that is not showing up in the list in my SmartAssembly project (Kent.Boogaart.Converters.dll, can be downloaded from http://wpfconverters.codeplex.com/releases/view/104331).

If I use this dependency in code-behind (see this thread), then the dependency shows up. But if I only use the dependency in my XAML, then it's not showing in the list.

I am running SmartAssembly 6.8.0.121
dybalabj
 
Posts: 16
Joined: Mon Oct 06, 2008 5:08 pm

Postby jessica.ramos » Tue Mar 04, 2014 11:25 pm

Hi there,

Because SmartAssembly will only pick up on dependencies that are referenced in the main assembly's metadata, it will only detect dependencies that are directly referenced and called on by the code behind. (I did a quick check and it doesn't look like using an assembly from the xaml will add any reference to it in the metadata :/ )
Jessica Ramos
Technical Support
Red Gate Software Ltd.
jessica.ramos
 
Posts: 235
Joined: Mon Apr 23, 2012 1:13 pm


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests