Select to view content in your preferred language

Toolbox Items

707
3
02-24-2010 04:49 PM
TedCronin
MVP Alum
Now, I might of did something wrong, but shouldn't the WPF controls get placed in the WPF components tab in the Choose Toolbox dialog, currently they do not.  The SL components are there as I would expect but not WPF.  I am using VS 2010.
0 Kudos
3 Replies
RexHansen
Esri Contributor
The path to the WPF assemblies is missing in the reg key added by the setup.  Here's a look at what is required (note, this is the registry on a 64-bit os - remove "Wow6432" from the path if on a 32-bit platform):

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v3.5\AssemblyFoldersEx\ESRI WPF API]
@="C:\\Program Files (x86)\\ESRI SDKs\\WPF\\v2.0\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v3.5\AssemblyFoldersEx\ESRI WPF API\Toolbox]
"TabName"="ESRI WPF API"

Make sure you have these entries in your registry. 

Also, you will need to target the .NET 3.5 framework in your WPF application to see the ESRI WPF API tag in the VS2010 toolbox. 

This will be corrected in the next release of 2.0.  Let me know if you still encounter issues.
0 Kudos
BartHound
Emerging Contributor
Cool, thanks Rex.
0 Kudos
TedCronin
MVP Alum
Cool, Thanks Rex.
0 Kudos