Re: [NAnt-users] VS2010 devenv command from NAnt fails

2013-05-24 Thread Nikhil Gupta
Any specific reason you are using devenv? Try using msbuild.exe instead.
On May 24, 2013 1:48 PM, Bhavani Kapparmath bhavani.kapparm...@lnties.com
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
 machine. Details are below.

 · Win 7 Professional SP1 versioned OS build machine is setup with
 Cruise 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 32---*

 · Count of project failure like above is not the same for every
 build.

 · 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=C:\Program Files\Microsoft Visual Studio
 10.0\Common7\IDE\devenv verbose = true**
arg line=${SolutionFile} /rebuild BuildTwinWithPortalSvc
 /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 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
 NAnt-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-users


--
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
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] VS2010 devenv command from NAnt fails

2013-05-24 Thread Nikhil Gupta
This looks correct. You can also use msbuild task from nantcontrib, if you
are using that.

Unfortunately,  I've never had a deployment project with in so have no clue
on that. Bevan's clue might help.
On May 24, 2013 3:13 PM, Bhavani Kapparmath bhavani.kapparm...@lnties.com
wrote:

  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=MSBuildPath
 value=C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe/

 target name=build-twin description=Build TWin targets

   exec program=${MSBuildPath}

 arg line=${SolutionFile} /t:rebuild
 /p:Configuration=${TWinConfiguration} /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:nikhil...@gmail.com]
 *Sent:* Friday, May 24, 2013 2:17 PM
 *To:* Bhavani Kapparmath
 *Cc:* nant-users@lists.sourceforge.net
 *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 
 bhavani.kapparm...@lnties.com 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
 machine. Details are below.

 · Win 7 Professional SP1 versioned OS build machine is setup with
 Cruise 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 32---*

 · Count of project failure like above is not the same for every
 build.

 · 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=C:\Program Files\Microsoft Visual Studio
 10.0\Common7\IDE\devenv verbose = true**
arg line=${SolutionFile} /rebuild BuildTwinWithPortalSvc
 /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 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
 NAnt-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-users

 *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 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

Re: [NAnt-users] Changesets included in the current build?

2011-05-11 Thread Nikhil Gupta
You can use tf.exe get command which will update the workspace to latest.

Along side, log everything in an xml while running nant using --xmllogger.
In the end you may grep the log file to get the list of changes.

Hope this helps.
Nikhil
http://taxingsalaried.blogspot.com



On Thu, May 12, 2011 at 12:42 AM, Bob Archer bob.arc...@amsi.com wrote:

 I expect the easiest way would be to use a command line tfs client via the
 EXEC nant tag.



 *From:* Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com]
 *Sent:* Wednesday, May 11, 2011 10:50 AM
 *To:* nant-users@lists.sourceforge.net
 *Subject:* [NAnt-users] Changesets included in the current build?



 Can anyone tell me if there is a way to retrieve the changesets from tfs
 for the current build using Nant, or the nant references in a C# script?

 Thanks


 --
 Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 NAnt-users mailing list
 NAnt-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-users


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] [solution] Skipping [Release]

2006-12-11 Thread Nikhil Gupta

Hi Bob,

I'm also facing a similar problem. My project skips some files and then
raises an error saying Solution Configuration Release is not present for
thisthe skipped one project.

I checked the scenario you mentioned, and the DLL that is being skipped is
with the later date than the others in the project.

Could you give me some idea, how to resolve this?

Thanks
Nikhil


On 12/8/06, Bob Archer [EMAIL PROTECTED] wrote:


 Are you deleting all the OBJ/Bin folders/files of those projects first?
If there is an existing DLL/EXE with a later date than all of the source
then the project/solution will be skipped.



BOb




 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Sabahat Adil
*Sent:* Friday, December 08, 2006 4:35 AM
*To:* nant-users@lists.sourceforge.net
*Subject:* [NAnt-users] [solution] Skipping [Release]



Hi

I have a project 'Testweb'.In this one
more project i add i.e 'Web'and i add
one project reference.My nant script is
skiping the release of Testweb and web
project.In Release location bin folder
is missing.Please help.
---
Part Of Output
build:



 [solution] Starting solution build.
 [solution] Skipping 'testweb' [Release] ...
 [solution] Skipping 'web' [Release] ...


My Build script is ad follows:



?xml version=1.0?
project name=testweb default=production basedir=..
descriptionTestWeb NANT build script/description
property name=build.server.dir value=... /
property name=src.dir value=testweb/
target name=build
solution configuration=Release
outputdir=C:/Data/Projects/Devl/TestWeb/Release/bin



solutionfile=${src.dir}\testweb.sln
webmap
map url=http://localhost/testweb/testweb.vbproj; path=${src.dir
}\testweb.vbproj/
map url=http://localhost/web/web.vbproj;
path=C:\inetpub\data\web\web.vbproj/
/webmap
assemblyfolders
include name=${build.server.dir} /
/assemblyfolders
/solution
/target
target name=produce description=Copy production files
 !-- Copy build results to Production folder --
copy todir=C:/Data/Projects/Devl/TestWeb/Release
 fileset basedir=${src.dir}
  includes name=**.aspx /
  includes name=**.ascx /
  includes name=**.config /
  includes name=**.gif /
  includes name=**.jpg /
  includes name=**.mdb /
  includes name=**.css /



/fileset
 /copy
/target



target name=upload
exec program=c:\data\projects\devl\testweb\src\testweb\ftp1.bat/



   failonerror=false/



/target
target name=production depends=build,produce,upload
 description=Build MyProject and copy production files
 !-- Target just refers to corresponding tasks --
/target
/project



Regards
Sabahat



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users






--
Nikhil
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] build fails: Solution configuration 'Release' does notexist for project 'Core.Data

2006-12-07 Thread Nikhil Gupta

Hi Gert,

I think I'm using the same version you mentioned. nant 0.85. anyways, what
kind of a repro were you talking about?

Thanks
Nikhil


On 12/6/06, Gert Driesen [EMAIL PROTECTED] wrote:



- Original Message -
From: Nikhil Gupta [EMAIL PROTECTED]
To: Gert Driesen [EMAIL PROTECTED]
Sent: Wednesday, December 06, 2006 2:14 PM
Subject: Re: [NAnt-users] build fails: Solution configuration 'Release'
does
notexist for project 'Core.Data


 i'm using nant 0.85- rc4

It should work fine in that release, but can you try 0.85 release anyway ?

If not, can you send me a (small) repro ?

Gert





--
Nikhil
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] build fails: Solution configuration 'Release' does not exist for project 'Core.Data

2006-12-06 Thread Nikhil Gupta

Hi There,

I'm making build scripts using NAnt. The .sln file has a reference to other
.proj files. Now, when I try to complile this, Build Fails with the
following error:

*Solution configuration 'Release' does not exist for project 'Core.Data*
I tried to look into the project named Core.Data, and the Release mode
exists. Do you have any idea what the reason might be? and what the possible
solution can be?

--Thanks,
Nikhil
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users