VS2010 devenv command from NAnt fails

Bhavani Kapparmath <[email protected]> Fri, 24 May 2013 08:15:26 +0000
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <B80E2D4464540B40AFDA4B236D9E3B7A0FA99039@POCITMSEXMB01.LntUniverse.com>
--===============3388896987161809365==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_B80E2D4464540B40AFDA4B236D9E3B7A0FA99039POCITMSEXMB01Ln_"

--_000_B80E2D4464540B40AFDA4B236D9E3B7A0FA99039POCITMSEXMB01Ln_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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

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_B80E2D4464540B40AFDA4B236D9E3B7A0FA99039POCITMSEXMB01Ln_
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:Wingdings}
@font-face
	{font-family:Wingdings}
@font-face
	{font-family:Calibri}
@font-face
	{font-family:Verdana}
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline}
p
	{margin-top:0in;
	margin-right:0in;
	margin-bottom:12.0pt;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif"}
span.EmailStyle17
	{font-family:"Calibri","sans-serif";
	color:windowtext}
.MsoChpDefault
	{font-family:"Calibri","sans-serif"}
@page WordSection1
	{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
	{}
ol
	{margin-bottom:0in}
ul
	{margin-bottom:0in}
-->
</style>
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello All,</p>
<p class=3D"MsoNormal">&nbsp;</p>
<p class=3D"MsoNormal">We are facing issue with building VS2010 from NAnt. =
Below are the details:</p>
<p class=3D"MsoNormal">&nbsp;</p>
<p style=3D"margin-left:1.0in; text-indent:-.25in"><span style=3D"font-size=
:9.0pt; font-family:Symbol"><span style=3D"">&middot;<span style=3D"font:7.=
0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;
</span></span></span><span style=3D"font-size:9.0pt; font-family:&quot;Verd=
ana&quot;,&quot;sans-serif&quot;">We migrated our project from Visual studi=
o 2005 to Visual studio 2010.</span></p>
<p style=3D"margin-left:1.0in; text-indent:-.25in"><span style=3D"font-size=
:9.0pt; font-family:Symbol"><span style=3D"">&middot;<span style=3D"font:7.=
0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;
</span></span></span><span style=3D"font-size:9.0pt; font-family:&quot;Verd=
ana&quot;,&quot;sans-serif&quot;">Post migration, we are seeing build issue=
 in the build server machine. Details are below.</span></p>
<p style=3D"margin-left:1.0in; text-indent:-.25in"><span style=3D"font-size=
:9.0pt; font-family:Symbol"><span style=3D"">&middot;<span style=3D"font:7.=
0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;
</span></span></span><span style=3D"font-size:9.0pt; font-family:&quot;Verd=
ana&quot;,&quot;sans-serif&quot;">Win 7 Professional SP1 versioned OS build=
 machine is setup with Cruise control and NAnt script for automated builds =
with devenv.</span></p>
<p style=3D"margin-left:1.0in; text-indent:-.25in"><span style=3D"font-size=
:9.0pt; font-family:Symbol"><span style=3D"">&middot;<span style=3D"font:7.=
0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;
</span></span></span><span style=3D"font-size:9.0pt; font-family:&quot;Verd=
ana&quot;,&quot;sans-serif&quot;">Building with
<strong><span style=3D"font-family:&quot;Verdana&quot;,&quot;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:&quot;Verdana&quot;,&quot;sans-serif&quot;">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:&quot;Verdana&quot;,&quot;sans-serif&quot;">----R=
ebuild All started:Project:DWRAPPER, Configuration:BuildWithPortalSVC Win 3=
2-</span></strong><span style=3D"font-size:9.0pt; font-family:&quot;Verdana=
&quot;,&quot;sans-serif&quot;"></span></p>
<p style=3D"margin-left:1.0in; text-indent:.5in"><strong><span style=3D"fon=
t-size:9.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">----R=
ebuild All started:Project:XYZ, Configuration:BuildWithPortalSVC Win 32---<=
/span></strong><span style=3D"font-size:9.0pt; font-family:&quot;Verdana&qu=
ot;,&quot;sans-serif&quot;"></span></p>
<p style=3D"margin-left:1.0in; text-indent:-.25in"><span style=3D"font-size=
:9.0pt; font-family:Symbol"><span style=3D"">&middot;<span style=3D"font:7.=
0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;
</span></span></span><span style=3D"font-size:9.0pt; font-family:&quot;Verd=
ana&quot;,&quot;sans-serif&quot;">Count of project failure like above is no=
t the same for every build.</span></p>
<p style=3D"margin-left:1.0in; text-indent:-.25in"><span style=3D"font-size=
:9.0pt; font-family:Symbol"><span style=3D"">&middot;<span style=3D"font:7.=
0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;
</span></span></span><span style=3D"font-size:9.0pt; font-family:&quot;Verd=
ana&quot;,&quot;sans-serif&quot;">Building the project(solution file)&nbsp;=
in IDE is fine and also from the Command line with devenv.</span></p>
<p style=3D"margin-left:1.0in; text-indent:-.25in"><span style=3D"font-size=
:9.0pt; font-family:Symbol"><span style=3D"">&middot;<span style=3D"font:7.=
0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;
</span></span></span><span style=3D"font-size:9.0pt; font-family:&quot;Verd=
ana&quot;,&quot;sans-serif&quot;">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:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;=
&lt;exec program=3D&quot;C:\Program Files\Microsoft Visual Studio 10.0\Comm=
on7\IDE\devenv&quot; verbose =3D &quot;true&quot;&gt;</span></strong><b><sp=
an style=3D"font-size:9.0pt; font-family:&quot;Verdana&quot;,&quot;sans-ser=
if&quot;"><br>
<strong><span style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbs=
p;&nbsp; &lt;arg line=3D&quot;${SolutionFile} /rebuild BuildTwinWithPortalS=
vc /out ${BuildLog}&quot;/&gt;</span></strong><br>
<strong><span style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;=
/exec&gt;</span></strong></span></b></p>
<p style=3D"margin-left:.5in"><span style=3D"font-size:9.0pt; font-family:&=
quot;Verdana&quot;,&quot;sans-serif&quot;">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">I am using NAnt 0.92. Also tried with nant-0.91-alph=
a2. Same results.</p>
<p class=3D"MsoNormal">Seems in Win XP machine the issue is not seen.</p>
<p class=3D"MsoNormal">&nbsp;</p>
<p class=3D"MsoNormal">Should I attached log file in the mail? Please let m=
e know.</p>
<p class=3D"MsoNormal"><i><u><span style=3D"color:#1F497D">Kind regards,</s=
pan></u></i></p>
<p class=3D"MsoNormal"><i><span style=3D"color:#1F497D">Bhavani Kapparmath.=
</span></i></p>
<p class=3D"MsoNormal"><i><span style=3D"color:#1F497D">Tel # &#43;91 080 6=
624 3452</span></i></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;</span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">The information contai=
ned in this email has been classified:
</span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">(&nbsp; )&nbsp; Larsen=
 &amp; Toubro Limited&nbsp; -&nbsp; General Business
</span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">(X) Larsen &amp;Toubro=
&nbsp; Limited&nbsp; -&nbsp;&nbsp; Internal Use
</span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">(&nbsp; )&nbsp; Larsen=
 &amp;Toubro&nbsp; Limited&nbsp; -&nbsp; Confidential</span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">(&nbsp; )&nbsp; Larsen=
 &amp; Toubro Limited&nbsp; -&nbsp; Proprietary</span></p>
<p class=3D"MsoNormal">&nbsp;</p>
</div>
<p><span style=3D"color:#000000"><strong>Larsen &amp; 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_B80E2D4464540B40AFDA4B236D9E3B7A0FA99039POCITMSEXMB01Ln_--


--===============3388896987161809365==
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
--===============3388896987161809365==
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

--===============3388896987161809365==--