Whatever I put in the output path, is automatically changed back to
bin/ I've tried setting it to various things, including relative and
absolute addresses, but none work. I've tried: /bin/ /webroot/bin/
.../bin/ c:/sites/SingleX/myname/webroot/bin/ and nothing works.
Maybe doing a post build process would do it, however remember that I'm
working remotely, so copying a file from the server to the server might
not be that easy. At least it doesn't seem to be possible (ftp copy)
from a .bat file, maybe a .vbs or something. If you have any ideas on
how to do that, I'd appreciate it. Also Ho do I add a post build step?
Daniel
Tom Porterfield wrote:
Daniel wrote: Hello, I'm using Brinkster Professional for web hosting. And they
give me a common bin folder, that all projects should use, however
Visual Studio compiles the assemblies to the application specific bin
folder.
Is there any way to specify the path that I want it to use? I'm
developing the application directly on the server.
For example:
Lets say my application is called MyApp, so it is put in
/webroot/MyApp, and the MyApp.dll goes in
/webroot/MyApp/bin/MyApp.dll. So every time I want to build the application, I have to copy the
MyApp.dll to /webroot/bin/MyApp.dll. So I want to tell Visual
Studio to place the file in /webroot/bin, instead of having to do it manually
every time.
Thanks,
Daniel
Right click on the project in VS.NET and select Properties. Under
Configuration Properties select Build and change the output path
accordingly.
Or add a post build step to the project that copies the file to the
correct directory.
--
Tom Porterfield