473,386 Members | 1,720 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,386 software developers and data experts.

Confused about build directories -- defaults different in C# and Visual Basic.NET

nfr
Default build directories seem to be somewhat different between C# and
Visual Basic.NET. Both have "Debug" and "Release" directories under "obj".
However, Visual Studio.NET defaults to a single "bin" directory whereas C#
appears to duplicate the "Debug"/"Release" pattern under bin.

This is creating problems for me in regards to browsed "References" added to
a project. With C# I need to pick one, which is going to be bin/Debug during
development, and then change it to bin/Release when compiling the entire
solution as a Release version.

It seems that having a single bin directory with no subfolders for
Debug/Release would be more flexible.

Am I wrong?
Jul 19 '05 #1
2 3176
If you would like to build to the same directory in C#, you can change the output path project property in the project properties dialog's build page (you will need
tro change in for both configurations).

Hope this helps;
-Ed

--
Ed Smith, VBQA Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "nfr" <nf*@nospam.com>
Subject: Confused about build directories -- defaults different in C# and Visual Basic.NET
Date: Tue, 15 Jul 2003 09:52:29 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#1**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: adsl-216-101-221-60.dsl.lsan03.pacbell.net 216.101.221.60
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:101227
X-Tomcat-NG: microsoft.public.dotnet.general

Default build directories seem to be somewhat different between C# and
Visual Basic.NET. Both have "Debug" and "Release" directories under "obj".
However, Visual Studio.NET defaults to a single "bin" directory whereas C#
appears to duplicate the "Debug"/"Release" pattern under bin.

This is creating problems for me in regards to browsed "References" added to
a project. With C# I need to pick one, which is going to be bin/Debug during
development, and then change it to bin/Release when compiling the entire
solution as a Release version.

It seems that having a single bin directory with no subfolders for
Debug/Release would be more flexible.

Am I wrong?

Jul 19 '05 #2
nfr
"Ed Smith[msft]" <ed*****@online.microsoft.com> wrote in message
news:Rg**************@cpmsftngxa06.phx.gbl...
If you would like to build to the same directory in C#, you can change the output path project property in the project properties dialog's build page
(you will need tro change in for both configurations).


I realize that, but two things:

1. I'd rather change the default on this so that when I create a new project
I don't need to remember to go in and modify the bin build directories.
2. The pros/cons of one vs. the other insofar as C# and VB handle it
differently. My inclination is to think the VB approach makes more sense,
but would like to know if there are issues I haven't considered that
contributed to the difference.
Jul 19 '05 #3

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

Similar topics

9
by: deko | last post by:
I'm confused about what I can use C# and VS.NET for. I have both Visual Studio 6.0 and Visual Studio .NET - which one do I use? If I want to build a basic VB app, I assume I can use the VB 6...
1
by: NMA | last post by:
I have a Visual Studio 6 project that was building correctly. I took a day off of that project to install .NET 03 for another project, then returned to my VS6 project the next day. Without any...
14
by: Giovanni Bajo | last post by:
Hello, python24.dll is much bigger than python23.dll. This was discussed already on the newsgroup, see the thread starting here:...
2
by: nfr | last post by:
Default build directories seem to be somewhat different between C# and Visual Basic.NET. Both have "Debug" and "Release" directories under "obj". However, Visual Studio.NET defaults to a single...
12
by: Dr. Zharkov | last post by:
Hello. Inform, please, on what site it is possible to find materials on construction of the three-dimensional graphic of function z=f(x,y) with the help of Visual Basic .NET and GDI+? Beforehand...
12
by: David Murmann | last post by:
hi all! i just built revision 41809 under winxp using a rather uncommon setup (at least i think so). since i have no visual studio here, i only used freely available tools: cygwin to get the...
5
by: maggie.nguyen | last post by:
Hi, I use Visual Studios 2005. In my project file, I include the library in linker: "Additional Library Directories: ..\..\boost\lib" I have these libs in the boost\lib directory: ...
7
by: Leszek L. | last post by:
Hello, I am new to this group; if my question is OT then please excuse me and tell me where to go. I am using MS Visual C++ with some of its graphics libraries. Now the compiler tells me that...
3
by: =?Utf-8?B?Rmxhc2hwcm8=?= | last post by:
i have googled this question but cannot find an answer. i'm running windows vista and i'm using Visual Basic Express 2008. i know the build event button SHOULD be in under the compile tag but i...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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...

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.