all groups > dotnet windows forms > february 2004 >
You're in the

dotnet windows forms

group:

Using vbc to compile


Using vbc to compile FatboyCanteen
2/12/2004 8:01:08 PM
dotnet windows forms:
I have serveral library files , eg a.dll, b.dl
and main program hello.v

I compile by using vb

vbc /verbose /debug- /optimize+ /target:winexe /out:hello.exe Hello.vb /r:System.Dll /r:b.dll /r:a.dl

It generated the hello.exe file and work fin
but I move the exe file to other directory, it fail and ask for the location of library

The question is that
How can I generate the exe file without placing the library file to same directory
Thank Yo
Re: Using vbc to compile hirf-spam-me-here NO[at]SPAM gmx.at
2/13/2004 1:59:26 PM
* "=?Utf-8?B?RmF0Ym95Q2FudGVlbg==?=" <anonymous@discussions.microsoft.com> scripsit:
[quoted text, click to view]

Did you try to use relative paths: "... /r:.\..\Foo.dll ..."?

--
Herfried K. Wagner [MVP]
AddThis Social Bookmark Button