Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Mon, 22 May 2006 13:55:32 +0530,    group: microsoft.public.dotnet.faqs        back       


Assembly not appearing in the Add Reference Dialog box for .NET CF ...   
Hi Every one,

I am working on deployment of a library. When the library installs on a
user's machine, I want that the installed assemblies should get listed in
the "Add Reference" (AddRef) dialog box of the user's Visual Studio .NET.

I tried to make some entries into registry so that the assemblies can be
shown in the "AddRef" dialog. I succeeded in showing them for VS 2005 and VS
2003 for .NET project types.

The problem is:
When a user starts Visual Studio .NET 2003 and opt to create/open a device
project (PDA / Win CE / Pocket PC). When the project opens and user open the
Add Reference dialog box, my assemblies are not listed there.

Visual Studio       Application Type     Assembly appearing in
Release                (.NET /Device)        Add Reference Dialog?
============================================
    2003                  .NET                             Yes
    2003                  Pocket PC                    NO      :-(
    2005                  .NET                             Yes
    2005                  Pocket PC                    Yes

I tried to place my assembly path entries in:
   (1)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v1.0.5000\PocketP
C\AssemblyFoldersEx
   (2)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v1.0.5000\Windows
CE\AssemblyFoldersEx
   (3)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v1.0.5000.0\Pocke
tPC\AssemblyFoldersEX
   (4)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v1.0.5000.0\Windo
wsCE\AssemblyFoldersEX
   (5)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\AssemblyFolders

It works for all the rest 3, but didn't worked for Visual Studio 2003
(Device Projects).

When I copied my assemblies to C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\  (which is specified in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\sdkInstallRoot),
then my assemblies are visible in the AddRef dialog box.

Is there any way, tell Visual Studio 2003 that pick my assemblies from
<PATH>, instead of copying them to sdkInstallRoot ?

Thanks,


*(Vipul)() ;

===============
VIPUL  PATHAK
India.
date: Mon, 22 May 2006 13:55:32 +0530   author:   Vipul Pathak

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us