473,508 Members | 2,382 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3191
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
1635
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
1318
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
1867
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
403
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
16375
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
1695
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
8011
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
2054
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
3094
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
7133
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
7336
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
7405
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...
1
7066
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
435
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.