473,395 Members | 1,412 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,395 software developers and data experts.

Help! Can not find assembly file at runtime.

Hi my friends,

I created a dotnet class library and saved it at :

F:\Test\c++\ex32a\debug\ex32a.dll.

I created a client program to use this class library. My client file is
loacated at :
F:\Test\c++\ex32b\debug\ex32b.exe.

I tryed
#Using <F:\Test\c++\ex32a\debug\ex32a.dll>
#Using <..\ex32a\debug\ex32a.dll>
#Using "F:\Test\c++\ex32a\debug\ex32a.dll"

I can compile it and link correctly. But when I run it. There is an error
message : Can not find assembley file ex32a.dll or its dependency.

I set up "Resolve #using references" , still don't work.

I copied ex32a.dll to F:\Test\c++\ex32b\debug\. It works.
What's wrong with it?

That's ahead.

Regards,

Larry


Nov 16 '05 #1
1 3551
Put the file in the directory together with its caller, or give it a strong
name and put it in the Global Assembly Cache (GAC). The path you pass to the
compiler is only used at compile time, it is not used for probing for the
assembly at runtime by Fusion (the OS loading path for assemblies).

Ronald Laeremans
Visual C++ team

"Larry" <lc****@andec.ca> wrote in message
news:vn************@corp.supernews.com...
Hi my friends,

I created a dotnet class library and saved it at :

F:\Test\c++\ex32a\debug\ex32a.dll.

I created a client program to use this class library. My client file is
loacated at :
F:\Test\c++\ex32b\debug\ex32b.exe.

I tryed
#Using <F:\Test\c++\ex32a\debug\ex32a.dll>
#Using <..\ex32a\debug\ex32a.dll>
#Using "F:\Test\c++\ex32a\debug\ex32a.dll"

I can compile it and link correctly. But when I run it. There is an error
message : Can not find assembley file ex32a.dll or its dependency.

I set up "Resolve #using references" , still don't work.

I copied ex32a.dll to F:\Test\c++\ex32b\debug\. It works.
What's wrong with it?

That's ahead.

Regards,

Larry


Nov 16 '05 #2

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

Similar topics

6
by: Edward King | last post by:
Hi! I am trying to achieve the following: I have a number of help pages (in the format help_nn.php where nn=helpid). I want to be able to open a particular help page by calling the function...
4
by: mattigiat | last post by:
Sorry for being such a newbie in this respect, but here's my question: I have Visual Studio, with VB6 ent., with msdn help installed. Is there any way to downgrade to just using the VB5 help, on...
4
by: Sarir Khamsi | last post by:
Is there a way to get help the way you get it from the Python interpreter (eg, 'help(dir)' gives help on the 'dir' command) in the module cmd.Cmd? I know how to add commands and help text to...
6
by: d.warnermurray | last post by:
I am doing a project for school that involves creating help files for a html authoring tool. If you could help me with answers to some questions it would really help. 1. What tasks do you expect...
5
by: Craig Keightley | last post by:
Please help, i have attached my page which worksin IE but i cannnot get the drop down menu to fucntion in firefox. Any one have any ideas why? Many Thanks Craig ...
27
by: Bruce Dodds | last post by:
I recently started using Access 2003 for the first time. I wanted to pass on some comments about the Help system to Access MVPs who frequent this board. I'm doing this in the hope that some of...
3
by: stuart_white_ | last post by:
I've just upgraded from Python 2.3.3 to Python 2.4.2, and, although the new version of Python seems to be running correctly, I can't seem access the help from the interpreter. On Python 2.3.3...
9
by: JJ | last post by:
Do you all use HTML help workshop to create your help system. I am finding it quite clumsy to use. Mayeb because I am not used to using it. Do any of you use any other techniques to create help...
8
by: Mark | last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my home computer has an abbreviated help screen not 2% of the help on my laptop. All the settings look the same on both...
1
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' 'UPGRADE_WARNING: Couldn't resolve...
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.