Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Possibly a bug? : More clarification on the error involving animations hosted within a WinForm.

 
 
Old 02-04-2006   #1 (permalink)
Jason


 
 

Possibly a bug? : More clarification on the error involving animations hosted within a WinForm.

I thought I'd start with a clean message for clarity sake.

I have some XAML, specifically taken from a MSDN sample, and am hostinging
it within a UserControl. This user control and the Xaml are compiled against
the 2.0 framwork. However, the form hosting the UserControl is against the
1.1 Framework. The basic XAML runs in XAMLPad, and appears fine when being
hosted in the 1.1 framework. However, animations do not work and get a
run-time error.

This error is: "The Name 'myWidthAnimatedButton' could not be resolved in
the name scope of 'System.Windows.Controls.Button.'" That name is the name
of a button declared earlier in the XAML. (See the SDK documentation if you
want to see the code). Again, this XAML compliles fine in XAMLPad and runs
fine, too.

So, the 2.0 Control hosting the XAML works fine in a standalone 2.0 Project.
Just not in the 1.1 application (It's using a form of reflection to
dynamically load the DLL, I think).

Any ideas on how to address this? Or is this something explicitly not
supported?




My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Mouse Probs only involving word :( Microsoft Office
Vista Network Trouble (possibly going from public to private, possibly something else) Vista General
weird issue involving BSOD when enable main admin account Vista General
Question on design involving some Generics .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46