The website library does have to be in the same folder as the console, but
when you create the reference in your console app, open the property grid
for the reference and you should see a setting called something like "Shadow
copy". Set this to "true" and the website library will be copied to the
location where your console is built to.
"Rabbit63" <q.***@manyworlds.com> wrote in message
news:et**************@TK2MSFTNGP09.phx.gbl...
Hi:
The problem is I have to put the console program in the /bin directory of
the asp.net application; otherwise, I will get a run-time error (there is
not any error while compiling): could not find the file.
Any idea?
Thanks
Q.
Peter Rilling wrote: Sure, but you won't have any website support. Just reference the
assembly as you normally would.
"Rabbit63" <q.***@manyworlds.com> wrote in message
news:Ob**************@TK2MSFTNGP10.phx.gbl...
Hi:
I want to use the classes of my asp.net application from my a console
program. May I do that?
Thanks
Q.