473,246 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

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\.NETCompactF ramework\v1.0.5000\PocketP
C\AssemblyFoldersEx
(2)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactF ramework\v1.0.5000\Windows
CE\AssemblyFoldersEx
(3)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactF ramework\v1.0.5000.0\Pocke
tPC\AssemblyFoldersEX
(4)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactF ramework\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\.NETCompactF ramework\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.

May 22 '06 #1
1 1870
VS2003 doesn't use the AssemblyFoldersEx registry key for device projects
which is used on VS2005, the only solution is to copy your assemblies to the
CompactFrameworkSDK folder for VS2003 as you have already tried.

Peter

--
Peter Foot
Windows Embedded MVP
www.peterfoot.net | www.inthehand.com

"Vipul Pathak" <vp*****@impetus.co.in> wrote in message
news:uX**************@TK2MSFTNGP02.phx.gbl...
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\.NETCompactF ramework\v1.0.5000\PocketP
C\AssemblyFoldersEx
(2)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactF ramework\v1.0.5000\Windows
CE\AssemblyFoldersEx
(3)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactF ramework\v1.0.5000.0\Pocke
tPC\AssemblyFoldersEX
(4)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactF ramework\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\.NETCompactF ramework\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.

May 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bill | last post by:
I created a shared assemble and dropped it into Windows\assembly. Browsing this directory shows that it is in there and the properties looks as expected. However, when I attempt to add this as a...
5
by: Portland Pete | last post by:
I just installed Office 2K3 Pro (except for Outlook, Publisher, and PowerPoint) on the same computer with Office 2K. With macro security set to Medium, I get the infamous "unsafe expressions are...
1
by: Frank Rizzo | last post by:
I've added the assembly to the Global Assembly Cache, but it is not in the "Add References" dialog. What could be the possible problems that would prevent an assembly that's in the GAC from...
2
by: Walid Koleilat | last post by:
I have created an assembly and assigned a strong name to it. However I want to reference it from another application and i want its name to appear in the add reference dialog box, I think I should...
3
by: Neo | last post by:
Hi, I added an assembly to GAC and would like to reference it.However, it wasn't listed in the "Add Reference" window. I still had to locate it from file. Could someone tell how to let the...
2
by: Sathyaish | last post by:
I created a shared assembly, let's call it sh.dll, and put it in the GAC, having done all the formality of generating a strong name and installing it in the Crypto Service Provider (CSP). I am...
3
by: Maxwell2006 | last post by:
Hi, I am using Visual Studio 2005. I have added a DLL into GAC. I can confirm that by going to C:\WINDOWS\assembly and see the assembly name.
4
by: Sagaert Johan | last post by:
Hi I used an installer to install my assembly dll into the GAC , with the graphical Gac Tool i see it is installed in the global assembly cache. When in the IDE i add a reference, then the...
2
by: =?Utf-8?B?ZmFpcnl2b2ljZQ==?= | last post by:
i create a project and sign it with strong name then i build it into an assembly as a dll file. after these i use "gacutil /i assembly.dll" command in command line to install the assembly and it...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.