Perhaps MSBuild can not publish to an http:// URI? Or that you don't
have permissions to publish to that URI? I would suggest checking the
MSBuild documentation. Perhaps this will help?

 

http://msdn.microsoft.com/en-us/library/ms165431.aspx

 

BOb

 

 

________________________________

From: Suresh D. [mailto:sures...@infinite.com] 
Sent: Thursday, April 16, 2009 11:07 AM
To: Bob Archer
Cc: nant-users@lists.sourceforge.net
Subject: RE: How to publish remotely.

 

Bob,

 

Yes bob. 

 

If I run the nant scripts from my local mechine, it should publish the
remote server. but i have tried to publish on different ways like below
syntax.

 

   <arg value="/p:PublishDir=http://172.16.23.184/F2recovery/"/>  

 

but it is not publishing remotely. 

 

Thanks,

Suresh

 

________________________________

From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Thu 4/16/2009 8:06 PM
To: Suresh D.
Cc: nant-users@lists.sourceforge.net
Subject: RE: How to publish remotely.

So you mean if you change PublishDir= to a remote machine it doesn't
work? If so, what is the error? 

 

Or do you mean when you run your script on another machine it doesn't
work? If so, what is the error?

 

BOb

 

 

________________________________

From: Suresh D. [mailto:sures...@infinite.com] 
Sent: Thursday, April 16, 2009 7:10 AM
To: Bob Archer
Cc: nant-users@lists.sourceforge.net
Subject: Re: How to publish remotely.

 

Bob,

 

Thanks for your reply.

 

Below Nant script i am able to build and publish the .csproj project on
my local mechine.

 

<project name="ProjAdj" default="compile">

 

   <target name="compile">
       <msbuild project="D:\ex\example project.csproj">
              <arg value="/property:Configuration=Release" />
       <arg value="/property:OutDir=D:\ex\output\" />
             <arg
value="/property:PublishVersion=1.0.0.0;ApplicationVersion=1.0.0.0;Minim
umRequiredVersion=1.0.0.0;UpdateRequired=true" />
             <arg value="/t:publish" />
       <arg value="/p:PublishDir=D:\ex\publish\"/>  
       </msbuild>
   </target>
</project>


 

But i am not able to build and publish the .csproj project on remote
mechine.

 

Thanks,

Suresh

        ----- Original Message ----- 

        From: Bob Archer <mailto:bob.arc...@amsi.com>  

        To: Suresh D. <mailto:sures...@infinite.com>  

        Cc: nant-users@lists.sourceforge.net 

        Sent: Thursday, April 16, 2009 2:29 AM

        Subject: RE: How to publish remotely.

         

        You need to give us more information.

         

        What are you doing to "publish"? Are you just copying files? Do
you need to create a vdir? Do you need to put stuff into the GAC? Is
this a web app? 

         

        BOb

         

         

        
________________________________


        From: Suresh D. [mailto:sures...@infinite.com] 
        Sent: Wednesday, April 15, 2009 4:08 PM
        To: Bob Archer
        Cc: nant-users@lists.sourceforge.net
        Subject: RE: How to publish remotely.

         

        I want to publish the .Net application(.csproj) on remote
server. For that i am using Nant scripts. But i am able to Publishing
local environment. But i am un able to publishing remotely. 

         

        Is there any solution to publish remotely with nant script.

         

        Thanks,

        Suresh

         

        
________________________________


        From: Bob Archer [mailto:bob.arc...@amsi.com]
        Sent: Thu 4/16/2009 1:29 AM
        To: Suresh D.
        Subject: RE: How to publish remotely.

        I'm really not sure what you are asking. You should post the
question on the mail list.

         

        Are you wanting to know how to run something on a remote
machine? Is so, I use psexec from sysinternals.com.

         

        bOb

         

         

        
________________________________


        From: Suresh D. [mailto:sures...@infinite.com] 
        Sent: Wednesday, April 15, 2009 3:56 PM
        To: Bob Archer
        Subject: RE: How to publish remotely.

         

        Bob, 

         

        I am also member of nant-us...@lists.sourceforge.net. If you
implement any script on below issue. Please let me know.

         

        Thanks,

        Suresh

         

        
________________________________


        From: Bob Archer [mailto:bob.arc...@amsi.com]
        Sent: Thu 4/16/2009 1:19 AM
        To: Suresh D.
        Subject: RE: How to publish remotely.

        Who is this? Do I know you?

         

        BOb

         

         

        
________________________________


        From: Suresh D. [mailto:sures...@infinite.com] 
        Sent: Wednesday, April 15, 2009 3:47 PM
        To: Bob Archer
        Subject: How to publish remotely.

         

        Bob,

         

        Please help me, i have been working on nant scripts for
publihing (.csproj) project on remtely, But i could not able to get the
solution. 

         

        If you have any solution on this, please reply.

         

        Thanks,

        Suresh 

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to