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"> </p>
<p class=3D"MsoNormal">We are facing issue with building VS2010 from NAnt. =
Below are the details:</p>
<p class=3D"MsoNormal"> </p>
<p style=3D"margin-left:1.0in; text-indent:-.25in"><span style=3D"font-size=
:9.0pt; font-family:Symbol"><span style=3D"">·<span style=3D"font:7.=
0pt "Times New Roman""> =
</span></span></span><span style=3D"font-size:9.0pt; font-family:"Verd=
ana","sans-serif"">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"">·<span style=3D"font:7.=
0pt "Times New Roman""> =
</span></span></span><span style=3D"font-size:9.0pt; font-family:"Verd=
ana","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; text-indent:-.25in"><span style=3D"font-size=
:9.0pt; font-family:Symbol"><span style=3D"">·<span style=3D"font:7.=
0pt "Times New Roman""> =
</span></span></span><span style=3D"font-size:9.0pt; font-family:"Verd=
ana","sans-serif"">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"">·<span style=3D"font:7.=
0pt "Times New Roman""> =
</span></span></span><span style=3D"font-size:9.0pt; font-family:"Verd=
ana","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><span style=3D"font-size:9.0pt; font-family:"Verdana=
","sans-serif""></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:XYZ, Configuration:BuildWithPortalSVC Win 32---<=
/span></strong><span style=3D"font-size:9.0pt; font-family:"Verdana&qu=
ot;,"sans-serif""></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"">·<span style=3D"font:7.=
0pt "Times New Roman""> =
</span></span></span><span style=3D"font-size:9.0pt; font-family:"Verd=
ana","sans-serif"">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"">·<span style=3D"font:7.=
0pt "Times New Roman""> =
</span></span></span><span style=3D"font-size:9.0pt; font-family:"Verd=
ana","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; text-indent:-.25in"><span style=3D"font-size=
:9.0pt; font-family:Symbol"><span style=3D"">·<span style=3D"font:7.=
0pt "Times New Roman""> =
</span></span></span><span style=3D"font-size:9.0pt; font-family:"Verd=
ana","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">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"> </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 # +91 080 6=
624 3452</span></i></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"> </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">( ) Larsen=
& Toubro Limited - General Business
</span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">(X) Larsen &Toubro=
Limited - Internal Use
</span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">( ) Larsen=
&Toubro Limited - Confidential</span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">( ) Larsen=
& Toubro Limited - Proprietary</span></p>
<p class=3D"MsoNormal"> </p>
</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_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==--