473,406 Members | 2,467 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,406 software developers and data experts.

Path to Dll's

Hi All
Normally when I want a component dll to be visible, I copy the .dll to the
..Net framework folder, and the component becomes visible in the Visual
Studio 'Add reference' / 'Add Item' lists.
Isn't it possible to add another folder to this search path, so dll's
contained in e.g. c:\DotNetComponents will be visible in Visual Studio
without having to browse for them?
Thanks in advance

Allan
Jul 21 '05 #1
2 1348
Hi Allan,

There is a registry folder under HKEY_LOCAL_MACHINE or
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\ 7.1\AssemblyFolders that
lists all folders (7.1 - vs.net 2003, 7.0-vs.net 2002).
You might add your own folder there.

HTH,
--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Allan Bredahl" <a@bredahl.org> wrote in message
news:Oh****************@TK2MSFTNGP11.phx.gbl...
Hi All
Normally when I want a component dll to be visible, I copy the .dll to the
.Net framework folder, and the component becomes visible in the Visual
Studio 'Add reference' / 'Add Item' lists.
Isn't it possible to add another folder to this search path, so dll's
contained in e.g. c:\DotNetComponents will be visible in Visual Studio
without having to browse for them?
Thanks in advance

Allan

Jul 21 '05 #2
Thanks a lot
That worked just great.

Allthough my reg key was

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\AssemblyFolders]
Allan

"Miha Markic [MVP C#]" <miha at rthand com> skrev i en meddelelse
news:eT**************@TK2MSFTNGP09.phx.gbl...
Hi Allan,

There is a registry folder under HKEY_LOCAL_MACHINE or
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\ 7.1\AssemblyFolders that
lists all folders (7.1 - vs.net 2003, 7.0-vs.net 2002).
You might add your own folder there.

HTH,
--
Miha Markic [MVP C#] - RightHand .NET consulting & software development

Jul 21 '05 #3

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

Similar topics

4
by: Matt Sawyer | last post by:
I am attempting to use an API (CxApiOem.dll) that has a large number of defines and complicated structs. It's just too much hassle to attempt to use DLLImport to make the desired API calls. ...
2
by: Luis Arvayo | last post by:
I am compiling and executing c# code at runtime and I need to define in CompilerParameters.ReferencedAssemblies one of my own assemblies together with the standard System.dll u others. Example:...
0
by: emu | last post by:
Hi All, I have an unmanaged C++ application that references a mixed mode image DLL (mixed managed and unmanaged). Under .NET 1.1 we could trust the dll (the mixed mode dll) by running the...
6
by: HONOREDANCESTOR | last post by:
Suppose I have a dll which might be installed in the directory c: \MyClass\. I want to be able to find the path of this dll from within the dll. In other words, I want a function that can return...
0
by: ink0 | last post by:
Hello, I have a problem: in my flash there is external swf . I have movieclip (background) into library and I want to load it to the swf. mc has path: and background symbol has path: . I tried...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.