473,396 Members | 2,151 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,396 software developers and data experts.

Making Visual Studio use the common /bin folder in Brinkster

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

Nov 16 '05 #1
3 1699
You might want to create a master project which is at the /webroot level.
THen, you should be able to create children who can build their code into
that bin directory.. I think..
Otherwise, you might want to look into Nant for building. Its very useful.

--
Girish Bharadwaj
http://msmvps.com/gbvb
"Daniel" <da******@gmail.com> wrote in message
news:10*********************@k26g2000oda.googlegro ups.com...
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

Nov 16 '05 #2
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
Nov 16 '05 #3
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


Nov 16 '05 #4

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

Similar topics

6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
9
by: Arnd Boettcher | last post by:
How can I invoke the Visual studio C++ compiler by command line? Any advices are welcome.
5
by: Patrick Olurotimi Ige | last post by:
Hi, I have VStudio.Net 2003 installed but can i install Visual Web Developer also on the same PC. My current .Net Frameork version is 1.1. Will the Visual Web Developer install ASP.NET 2.0? And...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.