473,657 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VCBuild issues in MSBuild still present in Beta2 too!!

Hello All,
I was facing an issue with VCBuild on Beta1. Today after shifting to .NET
Beta2, it looks like the issue is still not resolved :-(

I have to invoke VCBuild through MSBuild on command prompt. I have
following issue:

Issue:
--------
MSBuild can invoke VCBuild internally. However it invokes VCBuild without
passing any config options. Only the target, Rebuild or clean options are
passed. The Debug or Release options are not, hence always both
configurations are built for any assembly.
For instance a command like:

prompt> msbuild abc.sln /t:rebuild /p:config=debug
will internally invoke
prompt> vcbuild abc.sln /rebuild

would build both release and Debug. We do not want that!!

Note: We do not have any project to project references in the vcproj. Also
we want to use MSBuild for building all our projects...

Could someone help...Please.. .

Regards
Uma

"Peter van der Goes" <p_**********@t oadstool.u> wrote in message
news:Oy******** ******@TK2MSFTN GP09.phx.gbl...

"Uma Abhyankar" <au**@persisten t.co.in> wrote in message
news:OE******** ******@TK2MSFTN GP15.phx.gbl...
Hello,

I am using .NET Beta1 Visual Studio.

I have to invoke VCBuild through MSBuild on command prompt. I have
following
issues:

Issue1:
--------
MSBuild invokes VCBuild internally. However it invokes VCBuild without
passing any config options. Only the target, Rebuild or clean options are
passed. The Debug or Release options are not, hence always both
configurations are built for any assembly.
For instance a command like:
msbuild abc.sln /t:rebuild /p:config=debug

will internally invoke
vcbuild abc.sln /rebuild


would build both release and Debug. We do not want that!!
Issue2:
--------
There is a note written in VCBuild /help as follows:
Default Behavior:

=============== =============== =============== =============== =============== =
==

If no project is specified, and there is only a single .vcproj file in
the

directory, that project will be built.

If no configuration is specified, and the VCBUILD_DEFAULT _CFG environment

variable is set, the configuration it specifies will be built. If it is
not

set, then all configurations will be built.

The default action is to build the specified configurations without
cleaning.
Options will also be read from the VCBUILD_DEFAULT _OPTIONS environment
variable.

=============== =============== =============== =============== =============== =
Even this does not work, when msbuild invokes Please help me.

Thanks & Regards

Uma

If you are referring to Visual Studio 2005, you're using an obsolete beta.
I'd suggest the you download Beta 2, then see if your issues have been
addressed.

http://lab.msdn.microsoft.com/vs2005/

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.


Jul 21 '05 #1
1 2066

After seeing some vcbuild issues online, I've been prototyping a tool that
could convert vcproj files to msbuild files.
Additionally, I've begun creating cl and link msbuild tasks so vcbuild
wouldn't be necessary for simple circumstances.
I'm currently trying to assess how interested people would be in such a
tool. If you are interested, please let me know.
--
DDCPX - Helping Developer Division create positive customer experiences
throughout the product life cycle.
http://blogs.msdn.com/clichten

"Uma Abhyankar" wrote:
Hello All,
I was facing an issue with VCBuild on Beta1. Today after shifting to .NET
Beta2, it looks like the issue is still not resolved :-(

I have to invoke VCBuild through MSBuild on command prompt. I have
following issue:

Issue:
--------
MSBuild can invoke VCBuild internally. However it invokes VCBuild without
passing any config options. Only the target, Rebuild or clean options are
passed. The Debug or Release options are not, hence always both
configurations are built for any assembly.
For instance a command like:

prompt> msbuild abc.sln /t:rebuild /p:config=debug
will internally invoke
prompt> vcbuild abc.sln /rebuild

would build both release and Debug. We do not want that!!

Note: We do not have any project to project references in the vcproj. Also
we want to use MSBuild for building all our projects...

Could someone help...Please.. .

Regards
Uma

"Peter van der Goes" <p_**********@t oadstool.u> wrote in message
news:Oy******** ******@TK2MSFTN GP09.phx.gbl...

"Uma Abhyankar" <au**@persisten t.co.in> wrote in message
news:OE******** ******@TK2MSFTN GP15.phx.gbl...
Hello,

I am using .NET Beta1 Visual Studio.

I have to invoke VCBuild through MSBuild on command prompt. I have
following
issues:

Issue1:
--------
MSBuild invokes VCBuild internally. However it invokes VCBuild without
passing any config options. Only the target, Rebuild or clean options are
passed. The Debug or Release options are not, hence always both
configurations are built for any assembly.
For instance a command like:

> msbuild abc.sln /t:rebuild /p:config=debug
will internally invoke
> vcbuild abc.sln /rebuild

would build both release and Debug. We do not want that!!
Issue2:
--------
There is a note written in VCBuild /help as follows:
Default Behavior:

=============== =============== =============== =============== =============== =
==

If no project is specified, and there is only a single .vcproj file in
the

directory, that project will be built.

If no configuration is specified, and the VCBUILD_DEFAULT _CFG environment

variable is set, the configuration it specifies will be built. If it is
not

set, then all configurations will be built.

The default action is to build the specified configurations without
cleaning.
Options will also be read from the VCBUILD_DEFAULT _OPTIONS environment
variable.

=============== =============== =============== =============== =============== =
Even this does not work, when msbuild invokes Please help me.

Thanks & Regards

Uma

If you are referring to Visual Studio 2005, you're using an obsolete beta.
I'd suggest the you download Beta 2, then see if your issues have been
addressed.

http://lab.msdn.microsoft.com/vs2005/

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.


Jul 21 '05 #2

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

Similar topics

2
5827
by: Uma Abhyankar | last post by:
Hello, I am using .NET Beta1 Visual Studio. I have to invoke VCBuild through MSBuild on command prompt. I have following issues: Issue1: -------- MSBuild invokes VCBuild internally. However it invokes VCBuild without
5
1713
by: lkrubner | last post by:
Go to this page: http://www.publicpen.com/designer/mcControlPanel.php?arrangement=createweblogsForm.php You'll need to login, use these: username: designer password: designer123 This is a demo site where we are debugging our software, please feel
2
1890
by: mxtaylor | last post by:
I'm having a problem with IE 6.0 and using post. I have a screen with ton of checkboxes and hidden variables and when I click submit I get an error 'Page cannot be displayed'. This error only occurs after I've selected so many checkboxes. I'm run other screens with less hidden data and fewer checkboxes overall and it works. I've tested this in Netscape, FireFox with no problems but IE 6.0 displays page cannot be displayed. I've...
0
2023
by: Craig Lichtenstein | last post by:
As I’ve been reading about msbuild, I’ve noticed articles that mention msbuild’s incapability to natively read .vcproj files. In short, executing msbuild blah.vcproj causes msbuild to invoke vcbuild to perform the actual ..vcproj processing. I’ve been working on a tool that converts .vcproj files to msbuild formatted files so, with the appropriate C++ tasks (including cl and link tasks), a user could build his code on the command...
1
354
by: Uma Abhyankar | last post by:
Hello All, I was facing an issue with VCBuild on Beta1. Today after shifting to .NET Beta2, it looks like the issue is still not resolved :-( I have to invoke VCBuild through MSBuild on command prompt. I have following issue: Issue: -------- MSBuild can invoke VCBuild internally. However it invokes VCBuild without
2
1599
by: minorguy | last post by:
I have a general question about MSBuild (which I know little about so far) and I hope this is the right newsgroup. I can read the reference documentation about MSBuild, but it's not really telling me what I want to know. Perhaps someone can point me in the right direction. We have several projects, mostly C++, that we develop with Visual Studio 2005. I would like to automate this process. All of the targets, executables and DLLs, need to...
2
3006
by: jpetrang | last post by:
Can you tell me if the vcbuild $ALL is the same as the msdev ALL? If so, how do I use it? I have a VS 6.0 command "msdev ProjectName.dsw /make ALL /clean" which, I believe, builds all the .dsp configurations in the .dsw file. I'm trying to figure out how to accomplish the same thing using vcbuild. However, putting in $ALL, ALL, "$ALL" and any other variation I can think of do not work. Help? What is the proper syntax? I have already...
0
1039
by: jeanne.petrangelo | last post by:
I'm encountering something I don't expect at all. I have a solution made of multiple projects which I am trying to migrate from VS6 to VS2005. The original uses nmake and msdev, so I'm trying to replace msdev with vcbuild. I've found the following odd behavior: Let's say I have a directory tree that looks like this: ...\aa\bb\ containing project.sln and project.vcproj
0
1049
by: Machhindra | last post by:
Hi, I want to write a VS 2005 add-in, which will build all the vc solutions in my source tree. Similar to "auto_Build" addin in previous versions of the studio. One way is to use batch file with VCBuild.exe with some ini file containing paths of solutions. BUT I need to seperate out the error and warning count in a text file, so that by looking at that file , i can determine the status of each solution build quickly. Can anybody...
0
8411
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8323
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8838
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8739
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8513
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2740
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.