I know you can publish a Service Fabric application written in C# using Visual Studio, and I have read this article on using TFS or VSTS to set up continuous integration DevOps builds of a Service Fabric application.
How can I just do this all manually using PowerShell? I know I can do the following using PowerShell from this article on deployment:
- Use Visual Studio to package the project.
- Transfer the package to a remote server.
- Use the PowerShell script examples in the article to deploy the package while I am in the context of the remote server.
Instead, here are two bits I can't seem to figure out which would assist me in doing this from PowerShell:
- Using PowerShell, how can I package my Service Fabric project the same way you can when you are in the context of Visual Studio?
- Using PowerShell, how can I remotely deploy my Service Fabric project the same way you can when you are in the context of Visual Studio?