• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1660
  • Last Modified:

How to automate publish on website on build - command line post build

hi there,

how to I publish (as in right click on project / click publish) automated.

How can i publish with a command line on the post-build command line area in Visual Studio?

thanks
0
Valimai
Asked:
Valimai
  • 3
  • 2
1 Solution
 
surajgupthaCommented:
Well you could just xcopy your files to the website if it is already setup. If you are going to deploy it on the web or you FTP it, authntication might be an issue. Why wouldnt you want to use the publish option?
0
 
ValimaiAuthor Commented:
Nope, i want to do as I have stated in my original question.

When i publish my control library it is published to a location. When i build two other projects they copy the publish control library in to their projects. The only automation missing is the publish.

How do i publish using command line automatically on build please??
0
 
ValimaiAuthor Commented:
also, xcopy is not publish
0
Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

 
davecorunCommented:
I would definitely look at a tool like NAnt (http://nant.sourceforge.net/) or Cruise Control.NET (http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET)

I'm using CruiseControl.NET on a project right now for this very task.
0
 
ValimaiAuthor Commented:
thanks all, but found the solution here.
http://www.dotnetcurry.com/ShowArticle.aspx?ID=74&AspxAutoDetectCookieSupport=1

(refund pls)
0
 
davecorunCommented:
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now