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 - Strong name validation fails for ElementHost

 
 
Old 03-07-2006   #1 (permalink)
Kevin Hoffman


 
 

Strong name validation fails for ElementHost

I'm trying to use the Feb CTP of WPF and I've got an element host that
I'm adding to my Windows Form, I've referenced the
WindowsFormsIntegration.dll file in the Reference Assemblies\WPF\v3.0
directory ... but when I run the application, it fails with:

Could not load file or assembly 'WindowsFormsIntegration,
Version=3.0.51116.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
or one of its dependencies. Strong name validation failed. (Exception
from HRESULT: 0x8013141A)

I strong-named both my WinForms app and my WPF control library - but
this thing is definitely failing and I'm not sure why.

Has anyone encountered this problem, and if so - how did you fix it?

Thanks,
Kevin


My System SpecsSystem Spec
Old 03-07-2006   #2 (permalink)
Kevin Hoffman


 
 

Re: Strong name validation fails for ElementHost

That's what I get for reading the documentation. One piece of MSDN
tells you to get the file from the Reference
Assemblies\Microsoft\WPF\v3.0 - thats the one that fails the strong
name.

On the other hand, if you get the WindowsFormsIntegration file from
C:\Program files\visual studio
8\common7\ide\Cider\WindowsFormsIntegration.dll - it works perfectly.

Don't you just love inconsistent documentation? I know its a CTP - but
I can't begin to count the hours I've wasted learning this stuff
because I've been sent in the wrong direction by bad docs.

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Build 5728 key activates but fails validation Vista 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