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

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_**********@toadstool.u> wrote in message
news:Oy**************@TK2MSFTNGP09.phx.gbl...

"Uma Abhyankar" <au**@persistent.co.in> wrote in message
news:OE**************@TK2MSFTNGP15.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 2034

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_**********@toadstool.u> wrote in message
news:Oy**************@TK2MSFTNGP09.phx.gbl...

"Uma Abhyankar" <au**@persistent.co.in> wrote in message
news:OE**************@TK2MSFTNGP15.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
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....
5
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...
2
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...
0
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...
1
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...
2
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...
2
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...
0
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...
0
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.