U
Uma Abhyankar
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:
Hence unless I use something like
it wont work!!
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.
============================================================================
However any value like, Debug, "Debug|Win32" set as values to
VCBUILD_DEFAULT_CFG, gives error when VCBuild is run on the assembly.
Please help me.
Thanks & Regards
Uma
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:
Hence unless I use something like
it wont work!!
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.
============================================================================
However any value like, Debug, "Debug|Win32" set as values to
VCBUILD_DEFAULT_CFG, gives error when VCBuild is run on the assembly.
Please help me.
Thanks & Regards
Uma