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. 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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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.
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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,...
|
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,...
|
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...
|
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...
| |