Re: VS2010 devenv command from NAnt fails
Bhavani Kapparmath <[email protected]> Fri, 24 May 2013 09:43:42 +0000
| Newsgroups | gmane.comp.windows.dotnet.nant.user |
|---|---|
| Message-ID | <B80E2D4464540B40AFDA4B236D9E3B7A0FA99092@POCITMSEXMB01.LntUniverse.com> |
--===============2081682336070743403==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_B80E2D4464540B40AFDA4B236D9E3B7A0FA99092POCITMSEXMB01Ln_"
--_000_B80E2D4464540B40AFDA4B236D9E3B7A0FA99092POCITMSEXMB01Ln_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi Nikil,
Thank you for the quick response.
I cannot use MSBuild because, we have one setup project.
As an other note :
Is this below command fine to execute MSBuild within nant build script?
<property name=3D"MSBuildPath" value=3D"C:\WINDOWS\Microsoft.NET\Framework\=
v4.0.30319\MSBuild.exe"/>
<target name=3D"build-twin" description=3D"Build TWin targets">
<exec program=3D"${MSBuildPath}">
<arg line=3D"${SolutionFile} /t:rebuild /p:Configuration=3D${TW=
inConfiguration} /fl" />
</exec>
</target>
Kind regards,
Bhavani Kapparmath.
Tel # +91 080 6624 3452
The information contained in this email has been classified:
( ) Larsen & Toubro Limited - General Business
(X) Larsen &Toubro Limited - Internal Use
( ) Larsen &Toubro Limited - Confidential
( ) Larsen & Toubro Limited - Proprietary
From: Nikhil Gupta [mailto:[email protected]]
Sent: Friday, May 24, 2013 2:17 PM
To: Bhavani Kapparmath
Cc: [email protected]
Subject: Re: [NAnt-users] VS2010 devenv command from NAnt fails
Any specific reason you are using devenv? Try using msbuild.exe instead.
On May 24, 2013 1:48 PM, "Bhavani Kapparmath" <[email protected]=
m<mailto:[email protected]>> wrote:
Hello All,
We are facing issue with building VS2010 from NAnt. Below are the details:
* We migrated our project from Visual studio 2005 to Visual studio =
2010.
* Post migration, we are seeing build issue in the build server mac=
hine. Details are below.
* Win 7 Professional SP1 versioned OS build machine is setup with C=
ruise control and NAnt script for automated builds with devenv.
* Building with VS 2010 causes a number of projects to start but do=
not finish.
The only message appears in the log ( which is generated by /log switch of =
devenv command) is :
----Rebuild All started:Project:DWRAPPER, Configuration:BuildWithPortalSVC =
Win 32-
----Rebuild All started:Project:XYZ, Configuration:BuildWithPortalSVC Win 3=
2---
* Count of project failure like above is not the same for every bui=
ld.
* Building the project(solution file) in IDE is fine and also from =
the Command line with devenv.
* Here is the command in Nant.
<exec program=3D"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE=
\devenv" verbose =3D "true">
<arg line=3D"${SolutionFile} /rebuild BuildTwinWithPortalSvc=
/out ${BuildLog}"/>
</exec>
We are stuck here now. there is no other error message that helps to find o=
ut what is happening during build of VS 2010 with NAnt. Why is the build fa=
iling with the above error message?
I am using NAnt 0.92. Also tried with nant-0.91-alpha2. Same results.
Seems in Win XP machine the issue is not seen.
Should I attached log file in the mail? Please let me know.
Kind regards,
Bhavani Kapparmath.
Tel # +91 080 6624 3452
The information contained in this email has been classified:
( ) Larsen & Toubro Limited - General Business
(X) Larsen &Toubro Limited - Internal Use
( ) Larsen &Toubro Limited - Confidential
( ) Larsen & Toubro Limited - Proprietary
Larsen & Toubro Limited
www.larsentoubro.com<http://www.larsentoubro.com>
This Email may contain confidential or privileged information for the inten=
ded recipient (s). If you are not the intended recipient, please do not use=
or disseminate the information, notify the sender and delete it from your =
system.
---------------------------------------------------------------------------=
---
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
NAnt-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/nant-users
Larsen & Toubro Limited
www.larsentoubro.com
This Email may contain confidential or privileged information for the inten=
ded recipient (s). If you are not the intended recipient, please do not use=
or disseminate the information, notify the sender and delete it from your =
system.
--_000_B80E2D4464540B40AFDA4B236D9E3B7A0FA99092POCITMSEXMB01Ln_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
@font-face
{font-family:Verdana}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
p
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif"}
span.EmailStyle19
{font-family:"Calibri","sans-serif";
color:#1F497D}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style>
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D">Hi Nikil,</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D"> </span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D">Thank you for the quick=
response.</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D"> </span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D">I cannot use MSBuild be=
cause, we have one setup project.</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D">As an other note :</spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D"> </span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D">Is this below command f=
ine to execute MSBuild within nant build script?</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D"> </span></p>
<p class=3D"MsoNormal" style=3D"margin-left:1.0in"><span style=3D"font-size=
:11.0pt; font-family:"Calibri","sans-serif"; color:#1F4=
97D"><property name=3D"MSBuildPath" value=3D"C:\WINDOWS\M=
icrosoft.NET\Framework\v4.0.30319\MSBuild.exe"/></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:1.0in"><span style=3D"font-size=
:11.0pt; font-family:"Calibri","sans-serif"; color:#1F4=
97D"><target name=3D"build-twin" description=3D"Build TWi=
n targets"></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:1.0in"><span style=3D"font-size=
:11.0pt; font-family:"Calibri","sans-serif"; color:#1F4=
97D"> <exec progra=
m=3D"${MSBuildPath}"></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:1.0in"><span style=3D"font-size=
:11.0pt; font-family:"Calibri","sans-serif"; color:#1F4=
97D"> <=
;arg line=3D"${SolutionFile} /t:rebuild /p:Configuration=3D${TWinConfi=
guration} /fl" /></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:1.0in"><span style=3D"font-size=
:11.0pt; font-family:"Calibri","sans-serif"; color:#1F4=
97D"> </exec></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:1.0in"><span style=3D"font-size=
:11.0pt; font-family:"Calibri","sans-serif"; color:#1F4=
97D"></target></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D"> </span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D"> </span></p>
<p class=3D"MsoNormal"><i><u><span style=3D"font-size:11.0pt; font-family:&=
quot;Calibri","sans-serif"; color:#1F497D">Kind regards,</sp=
an></u></i><span style=3D"font-size:11.0pt; font-family:"Calibri"=
,"sans-serif"; color:#1F497D"></span></p>
<p class=3D"MsoNormal"><i><span style=3D"font-size:11.0pt; font-family:&quo=
t;Calibri","sans-serif"; color:#1F497D">Bhavani Kapparmath.<=
/span></i><span style=3D"font-size:11.0pt; font-family:"Calibri",=
"sans-serif"; color:#1F497D"></span></p>
<p class=3D"MsoNormal"><i><span style=3D"font-size:11.0pt; font-family:&quo=
t;Calibri","sans-serif"; color:#1F497D">Tel # +91 080 66=
24 3452</span></i><span style=3D"font-size:11.0pt; font-family:"Calibr=
i","sans-serif"; color:#1F497D"></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D"> </span><span styl=
e=3D"font-size:11.0pt; font-family:"Calibri","sans-serif&quo=
t;; color:#1F497D"></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D">The information contain=
ed in this email has been classified:
</span><span style=3D"font-size:11.0pt; font-family:"Calibri",&qu=
ot;sans-serif"; color:#1F497D"></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D">( ) Larsen =
& Toubro Limited - General Business
</span><span style=3D"font-size:11.0pt; font-family:"Calibri",&qu=
ot;sans-serif"; color:#1F497D"></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D">(X) Larsen &Toubro&=
nbsp; Limited - Internal Use
</span><span style=3D"font-size:11.0pt; font-family:"Calibri",&qu=
ot;sans-serif"; color:#1F497D"></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D">( ) Larsen =
&Toubro Limited - Confidential</span><span style=3D"f=
ont-size:11.0pt; font-family:"Calibri","sans-serif"; co=
lor:#1F497D"></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D">( ) Larsen =
& Toubro Limited - Proprietary</span><span style=3D"font-si=
ze:11.0pt; font-family:"Calibri","sans-serif"; color:#1=
F497D"></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C=
alibri","sans-serif"; color:#1F497D"> </span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt; font-family:&quo=
t;Tahoma","sans-serif"">From:</span></b><span style=3D"font-=
size:10.0pt; font-family:"Tahoma","sans-serif""> Nikhil=
Gupta [mailto:[email protected]]
<br>
<b>Sent:</b> Friday, May 24, 2013 2:17 PM<br>
<b>To:</b> Bhavani Kapparmath<br>
<b>Cc:</b> [email protected]<br>
<b>Subject:</b> Re: [NAnt-users] VS2010 devenv command from NAnt fails</spa=
n></p>
<p class=3D"MsoNormal"> </p>
<p>Any specific reason you are using devenv? Try using msbuild.exe instead.=
</p>
<div>
<p class=3D"MsoNormal">On May 24, 2013 1:48 PM, "Bhavani Kapparmath&qu=
ot; <<a href=3D"mailto:[email protected]">Bhavani.Kapparmath=
@lnties.com</a>> wrote:</p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"">Hello All,</p>
<p class=3D"MsoNormal" style=3D""> </p>
<p class=3D"MsoNormal" style=3D"">We are facing issue with building VS2010 =
from NAnt. Below are the details:</p>
<p class=3D"MsoNormal" style=3D""> </p>
<p style=3D"margin-left:1.0in"><span style=3D"font-size:9.0pt; font-family:=
Symbol">·</span><span style=3D"font-size:7.0pt"> &n=
bsp;
</span><span style=3D"font-size:9.0pt; font-family:"Verdana",&quo=
t;sans-serif"">We migrated our project from Visual studio 2005 to Visu=
al studio 2010.</span></p>
<p style=3D"margin-left:1.0in"><span style=3D"font-size:9.0pt; font-family:=
Symbol">·</span><span style=3D"font-size:7.0pt"> &n=
bsp;
</span><span style=3D"font-size:9.0pt; font-family:"Verdana",&quo=
t;sans-serif"">Post migration, we are seeing build issue in the build =
server machine. Details are below.</span></p>
<p style=3D"margin-left:1.0in"><span style=3D"font-size:9.0pt; font-family:=
Symbol">·</span><span style=3D"font-size:7.0pt"> &n=
bsp;
</span><span style=3D"font-size:9.0pt; font-family:"Verdana",&quo=
t;sans-serif"">Win 7 Professional SP1 versioned OS build machine is se=
tup with Cruise control and NAnt script for automated builds with devenv.</=
span></p>
<p style=3D"margin-left:1.0in"><span style=3D"font-size:9.0pt; font-family:=
Symbol">·</span><span style=3D"font-size:7.0pt"> &n=
bsp;
</span><span style=3D"font-size:9.0pt; font-family:"Verdana",&quo=
t;sans-serif"">Building with
<strong><span style=3D"font-family:"Verdana","sans-serif&quo=
t;">VS 2010 causes a number of projects to start but do not finish</span></=
strong>.</span></p>
<p style=3D"margin-left:.5in; text-indent:.5in"><span style=3D"font-size:9.=
0pt; font-family:"Verdana","sans-serif"">The only messa=
ge appears in the log ( which is generated by /log switch of devenv command=
) is :</span></p>
<p style=3D"margin-left:1.0in; text-indent:.5in"><strong><span style=3D"fon=
t-size:9.0pt; font-family:"Verdana","sans-serif"">----R=
ebuild All started:Project:DWRAPPER, Configuration:BuildWithPortalSVC Win 3=
2-</span></strong></p>
<p style=3D"margin-left:1.0in; text-indent:.5in"><strong><span style=3D"fon=
t-size:9.0pt; font-family:"Verdana","sans-serif"">----R=
ebuild All started:Project:XYZ, Configuration:BuildWithPortalSVC Win 32---<=
/span></strong></p>
<p style=3D"margin-left:1.0in"><span style=3D"font-size:9.0pt; font-family:=
Symbol">·</span><span style=3D"font-size:7.0pt"> &n=
bsp;
</span><span style=3D"font-size:9.0pt; font-family:"Verdana",&quo=
t;sans-serif"">Count of project failure like above is not the same for=
every build.</span></p>
<p style=3D"margin-left:1.0in"><span style=3D"font-size:9.0pt; font-family:=
Symbol">·</span><span style=3D"font-size:7.0pt"> &n=
bsp;
</span><span style=3D"font-size:9.0pt; font-family:"Verdana",&quo=
t;sans-serif"">Building the project(solution file) in IDE is fine=
and also from the Command line with devenv.</span></p>
<p style=3D"margin-left:1.0in"><span style=3D"font-size:9.0pt; font-family:=
Symbol">·</span><span style=3D"font-size:7.0pt"> &n=
bsp;
</span><span style=3D"font-size:9.0pt; font-family:"Verdana",&quo=
t;sans-serif"">Here is the command in Nant.</span></p>
<p style=3D"margin-left:.5in; text-indent:.5in"><strong><span style=3D"font=
-size:9.0pt; font-family:"Verdana","sans-serif""> =
<exec program=3D"C:\Program Files\Microsoft Visual Studio 10.0\Comm=
on7\IDE\devenv" verbose =3D "true"></span></strong><b><sp=
an style=3D"font-size:9.0pt; font-family:"Verdana","sans-ser=
if""><br>
<strong><span style=3D"font-family:"Verdana","sans-serif&quo=
t;"> &nbs=
p; <arg line=3D"${SolutionFile} /rebuild BuildTwinWithPortalS=
vc /out ${BuildLog}"/></span></strong><br>
<strong><span style=3D"font-family:"Verdana","sans-serif&quo=
t;"> <=
/exec></span></strong></span></b></p>
<p style=3D"margin-left:.5in"><span style=3D"font-size:9.0pt; font-family:&=
quot;Verdana","sans-serif"">We are stuck here now. there is =
no other error message that helps to find out what is happening during buil=
d of VS 2010 with NAnt. Why is the build failing with the
above error message?</span></p>
<p class=3D"MsoNormal" style=3D"">I am using NAnt 0.92. Also tried with nan=
t-0.91-alpha2. Same results.</p>
<p class=3D"MsoNormal" style=3D"">Seems in Win XP machine the issue is not =
seen.</p>
<p class=3D"MsoNormal" style=3D""> </p>
<p class=3D"MsoNormal" style=3D"">Should I attached log file in the mail? P=
lease let me know.</p>
<p class=3D"MsoNormal" style=3D""><i><u><span style=3D"color:#1F497D">Kind =
regards,</span></u></i></p>
<p class=3D"MsoNormal" style=3D""><i><span style=3D"color:#1F497D">Bhavani =
Kapparmath.</span></i></p>
<p class=3D"MsoNormal" style=3D""><i><span style=3D"color:#1F497D">Tel # &#=
43;91 080 6624 3452</span></i></p>
<p class=3D"MsoNormal" style=3D""><span style=3D"color:#1F497D"> </spa=
n></p>
<p class=3D"MsoNormal" style=3D""><span style=3D"color:#1F497D">The informa=
tion contained in this email has been classified:
</span></p>
<p class=3D"MsoNormal" style=3D""><span style=3D"color:#1F497D">( )&n=
bsp; Larsen & Toubro Limited - General Business
</span></p>
<p class=3D"MsoNormal" style=3D""><span style=3D"color:#1F497D">(X) Larsen =
&Toubro Limited - Internal Use
</span></p>
<p class=3D"MsoNormal" style=3D""><span style=3D"color:#1F497D">( )&n=
bsp; Larsen &Toubro Limited - Confidential</span></p>
<p class=3D"MsoNormal" style=3D""><span style=3D"color:#1F497D">( )&n=
bsp; Larsen & Toubro Limited - Proprietary</span></p>
<p class=3D"MsoNormal" style=3D""> </p>
</div>
<p><strong>Larsen & Toubro Limited </strong><br>
<br>
<strong><a href=3D"http://www.larsentoubro.com" target=3D"_blank">www.larse=
ntoubro.com</a></strong></p>
<p>This Email may contain confidential or privileged information for the in=
tended recipient (s). If you are not the intended recipient, please do not =
use or disseminate the information, notify the sender and delete it from yo=
ur system.</p>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
---------------------------------------------------------------------------=
---<br>
Try New Relic Now & We'll Send You this Cool Shirt<br>
New Relic is the only SaaS-based application performance monitoring service=
<br>
that delivers powerful full stack analytics. Optimize and monitor your<br>
browser, app, & servers with just a few lines of code. Try New Relic<br=
>
and get this awesome Nerd Life shirt! <a href=3D"http://p.sf.net/sfu/newrel=
ic_d2d_may" target=3D"_blank">
http://p.sf.net/sfu/newrelic_d2d_may</a><br>
_______________________________________________<br>
NAnt-users mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
forge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/nant-users" target=
=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nant-users</a></p>
</div>
</div>
<p><span style=3D"color:#000000"><strong>Larsen & Toubro Limited </stro=
ng></span><br>
<br>
<strong><a href=3D"www.larsentoubro.com" target=3D"_blank">www.larsentoubro=
.com</a></strong></p>
<p><span style=3D"color:#000000">This Email may contain confidential or pri=
vileged information for the intended recipient (s). If you are not the inte=
nded recipient, please do not use or disseminate the information, notify th=
e sender and delete it from your system.</span></p>
</body>
</html>
--_000_B80E2D4464540B40AFDA4B236D9E3B7A0FA99092POCITMSEXMB01Ln_--
--===============2081682336070743403==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
--===============2081682336070743403==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users
--===============2081682336070743403==--