CSLA 3.8.2 - System.Windows.Interactivity.dll "CopyLocal" set to True, not False

CSLA 3.8.2 - System.Windows.Interactivity.dll "CopyLocal" set to True, not False

Old forum URL: forums.lhotka.net/forums/t/8545.aspx


wmkew posted on Wednesday, February 17, 2010

Hello,

I found a minor glitch in the CSLA 3.8.2 project file:  the assembly reference to System.Windows.Interactivity.dll has its CopyLocal property set to True, whereas every other assembly reference's CopyLocal value is False.

Whitney

rxelizondo replied on Wednesday, February 17, 2010

The problem is that the .Net framework does not ship with the System.Windows.Interactivity.dll file (is not in the GAC).

So having the System.Windows.Interactivity.dll file with CopyLocal set to true is nice becuase when you are ready to create you Click-Once or Setup.exe deployment, you can get all the files that you need from your Release folder, this includes the System.Windows.Interactivity.dll file. If you don't distribute that file then you application may fail if you are using code from the CSLA that relies on that dll.

RockfordLhotka replied on Wednesday, February 17, 2010

As cool as the Blend 3 Interactivity feature is, I am beginning to suspect it doesn't have a long future.

The reason I say this, is that there's no support for the concept in the VS10 XAML designer. None. So the only way to use event triggers and trigger actions is to manually type the XAML Sad

I've been playing with alternatives that are designer-friendly, and have at least the prototype of something that could replace both InvokeMethod and Execute:

http://www.lhotka.net/weblog/ApplyingMVVMInTheVS10XAMLDesigner.aspx

I guess time will tell what solution ends up becoming a standard, but if the VS10 designer sets the bar for XAML development (and I suspect it will) then the Interactivity functionality is probably not part of the story, at least for the next couple years.

winseng replied on Friday, June 03, 2011

register to GAC and set copy local to false

gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\Microsoft.Expression.Controls.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\Microsoft.Expression.Drawing.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\Microsoft.Expression.Effects.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\Microsoft.Expression.Interactions.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\de\Microsoft.Expression.Interactions.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\en\Microsoft.Expression.Interactions.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\es\Microsoft.Expression.Interactions.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\fr\Microsoft.Expression.Interactions.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\it\Microsoft.Expression.Interactions.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\ja\Microsoft.Expression.Interactions.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\ko\Microsoft.Expression.Interactions.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\zh-Hans\Microsoft.Expression.Interactions.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\zh-Hant\Microsoft.Expression.Interactions.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\Microsoft.Expression.Prototyping.Interactivity.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\de\Microsoft.Expression.Prototyping.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\en\Microsoft.Expression.Prototyping.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\es\Microsoft.Expression.Prototyping.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\fr\Microsoft.Expression.Prototyping.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\it\Microsoft.Expression.Prototyping.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\ja\Microsoft.Expression.Prototyping.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\ko\Microsoft.Expression.Prototyping.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\zh-Hans\Microsoft.Expression.Prototyping.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\zh-Hant\Microsoft.Expression.Prototyping.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\Microsoft.Expression.Prototyping.SketchControls.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\System.Windows.Interactivity.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\de\System.Windows.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\en\System.Windows.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\es\System.Windows.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\fr\System.Windows.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\it\System.Windows.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\ja\System.Windows.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\ko\System.Windows.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\zh-Hans\System.Windows.Interactivity.resources.dll"
gacutil -if "C:\Program Files\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\zh-Hant\System.Windows.Interactivity.resources.dll"
pause

 

 

Copyright (c) Marimer LLC