Add CF Component to "Add References" Dialog?

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
 
P

Peter Foot [MVP]

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
 
J

Jon Person

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top