[NAnt-users] VS2010 devenv command from NAnt fails

2013-05-24 Thread Bhavani Kapparmath
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

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

2013-05-24 Thread bevan . arps
Two suggestions. Firstly, are you executing devenv.com or devenv.exe ? When I have needed to use the last resort of executing VS directly, using devenv.com has been far more reliable than devenv.exe. Secondly, have you considered using MSBuild? Unless you’re doing something not supported by

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

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

2013-05-24 Thread Bhavani Kapparmath
Hi Bevan, Thank you for the quick response. I was using just devenv. Later changed to devenv.exe. Same failure results. You want me to try devenv.com? We are not using MSbuild, since we have one setup project(deployment project). Kind regards, Bhavani Kapparmath. Tel # +91 080 6624 3452 The

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

2013-05-24 Thread Bhavani Kapparmath
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

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,

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

2013-05-24 Thread Bhavani Kapparmath
Hi Bevan, Looks like devenv.com resolved thee issue. Befor i posted this issue, i used this devenv.com as a last try to resolv the issue. Your reply on the same confirmed it more n gave me more confidence on the fix. What i m not sure is devenv failed always, but devenv.com resolved. Any idea

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

2013-05-24 Thread bevan . arps
Devenv.Com is designed for use for batch automation; Devenv.Exe is how the interactive IDE is launched. From MSDN: The devenv.com utility provides for the delivery of output through standard system streams, such as stdout and stderr, and determines the appropriate I/O redirection when it