I have a asp.net MVC project which I currently deploy through Visual Studio (Build->Publish). I'm aware that I can access this deployment process through command line, but is there any way I can do it through a C# console application?
Thank you in advance.
If you have a reason to use a C# application, I would write a batch file that does the work and invoke it with the C# application.
See this post: How To: Execute command line in C#, get STD OUT results
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.