473,387 Members | 1,283 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,387 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 1875
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.