views:

19

answers:

0

Hello,

I am using the System.Windows.Media.Effects.DropShadowEffect that has been available since .net 3.0 sp2 and .net 3.5 sp1.

Now I'm getting errors from systems that have only .net 3.0 and .net 4.0 - they get:

TypeLoadExcpeption

Could not load type 'System.Windows.Media.Effects.DropShadowEffect' from assembly 'PresentationCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

That DLL exists on the system and is referenced by the app.

The app targets 3.0 but targeting 3.5 causes the same error.

Targeting 4.0 solves the problem, but I cannot do that yet with a lot of clients running on 3.5 and some one 3.0.

Shouldn't .net4 be backwards compatible and allow me to use the DropShadowEffect?

Thanx!