Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - add a reference

Reply
 
Old 09-05-2009   #1 (permalink)
Georg


 
 

add a reference

Hi,
in a vb2003/5 application i cannot add a reference to mine application . I
allways get an error "a reference to 'D:\path_of_the_dll' to be added is not
possible. Please make sure that the file is accessible, and that is a valide
assembly or COm component"

how can i fix this ?

thx, georg



My System SpecsSystem Spec
Old 09-05-2009   #2 (permalink)
Family Tree Mike


 
 

Re: add a reference

Georg wrote:
Quote:

> Hi,
> in a vb2003/5 application i cannot add a reference to mine application . I
> allways get an error "a reference to 'D:\path_of_the_dll' to be added is not
> possible. Please make sure that the file is accessible, and that is a valide
> assembly or COm component"
>
> how can i fix this ?
>
> thx, georg
>
>
What version of vb.net did you use to build "d:\path_of_the_dll"?

--
Mike
My System SpecsSystem Spec
Old 09-05-2009   #3 (permalink)
Georg


 
 

Re: add a reference

hi,

i have this problem in a visual basic 2005 version. I also tried this on a
pc where visual studio 2008 is installed, but the same error shows up.
regards, Georg

"Family Tree Mike" <FamilyTreeMike@xxxxxx> schreef in bericht
news:u6qYsumLKHA.2408@xxxxxx
Quote:

> Georg wrote:
Quote:

>> Hi,
>> in a vb2003/5 application i cannot add a reference to mine application .
>> I allways get an error "a reference to 'D:\path_of_the_dll' to be added
>> is not possible. Please make sure that the file is accessible, and that
>> is a valide assembly or COm component"
>>
>> how can i fix this ?
>>
>> thx, georg
>
> What version of vb.net did you use to build "d:\path_of_the_dll"?
>
> --
> Mike

My System SpecsSystem Spec
Old 09-05-2009   #4 (permalink)
Family Tree Mike


 
 

Re: add a reference

Georg wrote:
Quote:

> hi,
>
> i have this problem in a visual basic 2005 version. I also tried this on a
> pc where visual studio 2008 is installed, but the same error shows up.
> regards, Georg
>
>
So the dll and the executable to reference the dll are all being built
with the same version of VB.Net? That seems very odd.

Have you tried putting both projects into one solution, then adding the
reference as a project, rather than navigating to the dll itself?

--
Mike
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
>>web reference .NET General
To Reference Interop.XXX.dll or XXX.dll .NET General
Best Reference PowerShell
Best reference for .NET for use with PS PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46