Windows Vista Forums
Vista Forums Home Join Vista Forums Webcasts Windows 7 Forum Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Strong name validation fails for ElementHost

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 03-07-2006   #1 (permalink)
Kevin Hoffman
Guest


 

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
Guest


 

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
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
WPF flicker in ElementHost VictorG Avalon 0 02-11-2008 08:44 PM
Flicker showing WPF in ElementHost Mark Miller Avalon 2 07-20-2007 01:55 PM
displaying a deserialized Page in ElementHost Robert Ludig Avalon 1 03-23-2007 11:01 AM
need aero theme in ElementHost not_a_commie Avalon 1 02-19-2007 11:48 AM
Build 5728 key activates but fails validation =?Utf-8?B?Um9iIEhhcmRtYW4=?= Vista General 3 09-25-2006 08:44 PM


Vistax64.com 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 2005-2008

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 47 48 49 50 51