Re: VS2010 devenv command from NAnt fails

Nikhil Gupta <[email protected]> Fri, 24 May 2013 14:17:15 +0530
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <CAEQcb7GOX3pqz2O=WbnK-MCoEpeP7j9DjTFv6QY3u2-BHR3yrg@mail.gmail.com>
--===============5457182225813408391==
Content-Type: multipart/alternative; boundary=047d7b67605285c8f304dd72d842

--047d7b67605285c8f304dd72d842
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Any specific reason you are using devenv? Try using msbuild.exe instead.
On May 24, 2013 1:48 PM, "Bhavani Kapparmath" <[email protected]=
m>
wrote:

>  Hello All,
>
>
>
> We are facing issue with building VS2010 from NAnt. Below are the details=
:
>
>
>
> =B7         We migrated our project from Visual studio 2005 to Visual
> studio 2010.
>
> =B7         Post migration, we are seeing build issue in the build server
> machine. Details are below.
>
> =B7         Win 7 Professional SP1 versioned OS build machine is setup wi=
th
> Cruise control and NAnt script for automated builds with devenv.
>
> =B7         Building with *VS 2010 causes a number of projects to start b=
ut
> do not finish*.
>
> The only message appears in the log ( which is generated by /log switch o=
f
> devenv command) is :
>
> *----Rebuild All started:Project:DWRAPPER,
> Configuration:BuildWithPortalSVC Win 32-*
>
> *----Rebuild All started:Project:XYZ, Configuration:BuildWithPortalSVC
> Win 32---*
>
> =B7         Count of project failure like above is not the same for every
> build.
>
> =B7         Building the project(solution file) in IDE is fine and also
> from the Command line with devenv.
>
> =B7         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 BuildTwinWithPortalS=
vc
> /out ${BuildLog}"/>
>             </exec>*
>
> We are stuck here now. there is no other error message that helps to find
> out what is happening during build of VS 2010 with NAnt. Why is the build
> failing 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
> intended 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 servi=
ce
> 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_ma=
y
> _______________________________________________
> NAnt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>

--047d7b67605285c8f304dd72d842
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Any specific reason you are using devenv? Try using msbuild.=
exe instead.</p>
<div class=3D"gmail_quote">On May 24, 2013 1:48 PM, &quot;Bhavani Kapparmat=
h&quot; &lt;<a href=3D"mailto:[email protected]">Bhavani.Kappar=
[email protected]</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal">Hello All,</p>
<p class=3D"MsoNormal">=A0</p>
<p class=3D"MsoNormal">We are facing issue with building VS2010 from NAnt. =
Below are the details:</p>
<p class=3D"MsoNormal">=A0</p>
<p style=3D"margin-left:1.0in"><span style=3D"font-size:9.0pt;font-family:S=
ymbol"><span>=B7<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=A0=
=A0=A0=A0=A0=A0=A0=A0
</span></span></span><span style=3D"font-size:9.0pt;font-family:&quot;Verda=
na&quot;,&quot;sans-serif&quot;">We migrated our project from Visual studio=
 2005 to Visual studio 2010.</span></p>
<p style=3D"margin-left:1.0in"><span style=3D"font-size:9.0pt;font-family:S=
ymbol"><span>=B7<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=A0=
=A0=A0=A0=A0=A0=A0=A0
</span></span></span><span style=3D"font-size:9.0pt;font-family:&quot;Verda=
na&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"><span style=3D"font-size:9.0pt;font-family:S=
ymbol"><span>=B7<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=A0=
=A0=A0=A0=A0=A0=A0=A0
</span></span></span><span style=3D"font-size:9.0pt;font-family:&quot;Verda=
na&quot;,&quot;sans-serif&quot;">Win 7 Professional SP1 versioned OS build =
machine is setup with Cruise control and NAnt script for automated builds w=
ith devenv.</span></p>

<p style=3D"margin-left:1.0in"><span style=3D"font-size:9.0pt;font-family:S=
ymbol"><span>=B7<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=A0=
=A0=A0=A0=A0=A0=A0=A0
</span></span></span><span style=3D"font-size:9.0pt;font-family:&quot;Verda=
na&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.0=
pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">The only message=
 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"font=
-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">----Reb=
uild All started:Project:DWRAPPER, 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:.5in"><strong><span style=3D"font=
-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">----Reb=
uild All started:Project:XYZ, Configuration:BuildWithPortalSVC Win 32---</s=
pan></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"><span style=3D"font-size:9.0pt;font-family:S=
ymbol"><span>=B7<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=A0=
=A0=A0=A0=A0=A0=A0=A0
</span></span></span><span style=3D"font-size:9.0pt;font-family:&quot;Verda=
na&quot;,&quot;sans-serif&quot;">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:S=
ymbol"><span>=B7<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=A0=
=A0=A0=A0=A0=A0=A0=A0
</span></span></span><span style=3D"font-size:9.0pt;font-family:&quot;Verda=
na&quot;,&quot;sans-serif&quot;">Building the project(solution file)=A0in I=
DE 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:S=
ymbol"><span>=B7<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=A0=
=A0=A0=A0=A0=A0=A0=A0
</span></span></span><span style=3D"font-size:9.0pt;font-family:&quot;Verda=
na&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;">=A0&lt;e=
xec program=3D&quot;C:\Program Files\Microsoft Visual Studio 10.0\Common7\I=
DE\devenv&quot; verbose =3D &quot;true&quot;&gt;</span></strong><b><span st=
yle=3D"font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;"><br>

<strong><span style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0 &lt;arg line=3D&quot;${Solutio=
nFile} /rebuild BuildTwinWithPortalSvc /out ${BuildLog}&quot;/&gt;</span></=
strong><br>
<strong><span style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;/exec&gt;</span></strong></span><=
/b></p>
<p style=3D"margin-left:.5in"><span style=3D"font-size:9.0pt;font-family:&q=
uot;Verdana&quot;,&quot;sans-serif&quot;">We are stuck here now. there is n=
o other error message that helps to find out what is happening during build=
 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">=A0</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 6624 =
3452</span></i></p>
<p class=3D"MsoNormal"><span style=3D"color:#1f497d">=A0</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">(=A0 )=A0 Larsen &amp;=
 Toubro Limited=A0 -=A0 General Business
</span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1f497d">(X) Larsen &amp;Toubro=
=A0 Limited=A0 -=A0=A0 Internal Use
</span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1f497d">(=A0 )=A0 Larsen &amp;=
Toubro=A0 Limited=A0 -=A0 Confidential</span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1f497d">(=A0 )=A0 Larsen &amp;=
 Toubro Limited=A0 -=A0 Proprietary</span></p>
<p class=3D"MsoNormal">=A0</p>
</div>
<p><span style><strong>Larsen &amp; Toubro Limited </strong></span><br>
<br>
<strong><a href=3D"http://www.larsentoubro.com" target=3D"_blank">www.larse=
ntoubro.com</a></strong></p>
<p><span style>This Email may contain confidential or privileged informatio=
n for the intended recipient (s). If you are not the intended recipient, pl=
ease do not use or disseminate the information, notify the sender and delet=
e it from your system.</span></p>

</div>

<br>-----------------------------------------------------------------------=
-------<br>
Try New Relic Now &amp; We&#39;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, &amp; 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><br>
<br></blockquote></div>

--047d7b67605285c8f304dd72d842--


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

--===============5457182225813408391==--