How to run .bat file on server after web deploy publish
Asked Answered
W

1

7

I am using Web Deploy for publishing an ASP.NET MVCwebsite in Visual Studio 2010.
Is there any way to run a .bat file on server after this publish automatically?

Wirephoto answered 30/8, 2012 at 11:31 Comment(0)
R
2

See: Post Publish Events

You could create a Windows Service that runs on your IIS box and uses the FileSystemWatcher to monitor changes to your web root path and when it detects a file change run a batch file.

Retirement answered 28/10, 2012 at 22:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.