I think you need to do something like what is mentioned in this
stackoverflow post;
http://stackoverflow.com/questions/762539/how-do-i-write-a-build-batch-script-that-runs-vcvars32-bat-and-then-continues-w

You need to execute the vcvars32.bat script (and it's entirely
possible that the name has changed) but I had to deal with this in a
build system I put together about 7 years ago before I started using
Ant or Jenkins.

To find out the exact script... find the shortcut in the start menu
which starts the Visual Studio CLI... If you right click it take a
look at the properties the run/command entry should  execute the
correct batch script. If I remember correctly that's how it worked. I
don't do windows development very often anymore.

Ben

On Thu, Nov 29, 2012 at 11:53 PM, Vineet Hada <hadavin...@gmail.com> wrote:
> Because there are some environment variables which are set while using vs
> command line and not available in windows command line.
>
> On Nov 30, 2012 5:10 AM, "bearrito" <j.barrett.straus...@gmail.com> wrote:
>>
>> Why would you ever want to do that?
>>
>> On Thursday, November 29, 2012 10:27:29 PM UTC-5, Vineet Hada wrote:
>>>
>>> Hi,
>>>
>>> Is there a way in jenkins to run a build in visual studio command line
>>> rather then windows command line?
>>>
>>> Thanks & regards,
>>> Vineet

Reply via email to