Add CF Component to "Add References" Dialog?

  • Thread starter Thread starter Jon Person
  • Start date Start date
J

Jon Person

According to this Microsoft Knowledge Base article:

http://support.microsoft.com/default.aspx?scid=kb;en-us;306149

You have to add a registry entry to get a reusable assembly to show up in
the "Add Reference" dialog box. This works great with the Desktop
Framework, yet I'm unable to get this working with the Compact Framework
version of my component. The only alternative I can see at the moment is to
place my DLL at the following path during installation:

C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE

What is this preferable way to get your own Compact Framework component into
the "Add Reference" dialog?

Thanks very much,


Jon Person
StormSource Software
http://www.gpsdotnet.com
GPS Tools for Software Developers
 
All the third-party addon libraries I have seen place their dlls in the
folder you have listed (just remember to retrieve the folder from the
registry, don't hard-code it)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\sdkInstallRoot

Then append the version and platform - for v1.0 this is \v1.0.5000\Windows
CE\

Peter
 
Thanks very much, Peter, I appreciate the help!


Peter Foot said:
All the third-party addon libraries I have seen place their dlls in the
folder you have listed (just remember to retrieve the folder from the
registry, don't hard-code it)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\sdkInstallRoot

Then append the version and platform - for v1.0 this is \v1.0.5000\Windows
CE\

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org
 
Back
Top