|
-
Jun 18th, 2003, 03:59 PM
#1
Thread Starter
New Member
Recognise a .Net dll
Hi All,
I"m now passing from VB6 to VB.NET and met with a disturbing problem:
i have created a class library and built it to a dll file.
i have created a windows application and added a reference to that dll.
So far everything works fine.
When i took this all package to another computer, the build failed since it didnt find the dll file.
I guess that when i add a reference, it saves the absolute path.
This is a .Net dll and not COM so i cant do a simple register to windows.
How do i register the .Net dll or how do i make it recognised in the other computer? (how to make it's location relative and not absolute? It didnt work even when they all were in the same folder).
Thanks in advance,
Eran
-
Jun 18th, 2003, 07:44 PM
#2
Sleep mode
Use Assembly Registration Tool like this :
regasm yourdll.dll
-
Jun 19th, 2003, 07:06 AM
#3
Fanatic Member
You shouldn't have to register it if it is just a simple .NET dll and exe. Are you building an installer or just using XCopy? You should just be able to copy the DLL AND the EXE to the target machine and run the exe.
If you are actually trying to build (compile) the project on another computer, you can just add the reference again so that the path is correct, or set up the same directory structure as the source machine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|