Closed WhitWaldo closed 1 year ago
Hello,
If you want to build the SF pkg via command prompt or PowerShell instead of using Visual studio then try the following.
First need to install some tools:
Then do the following to restore, build and package SF app.
To create sfpkg try the following: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-package-apps#create-an-sfpkg To create CI/CD pipeline for SF app using Azure DevOps try the following: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-app-with-cicd-vsts
Let me know if you have any issues with the above steps or have any questions.
I hope the steps above helped. Closing this issue for now since have not heard back with a response.
Hello,
Ideally, I'd like to mirror the source in my own repo and deploy updates via CI/CD, but I'm having no luck setting up such a deployment locally, let alone in DevOps. I followed the instructions for building it myself:
I see that /out/bin/Debug-x64 is populated with folders for the various projects and services, but the format doesn't resemble what I'm used to seeing if I right click an sfproj project in Visual Studio and select package. I expect to see an output directory (typically in
/<SfProjectName>/pkg/<buildTarget>
) populated with directories for each service (e.g. "MyServicePkg/") and the ApplicationManifest.xml, but I don't see this produced anywhere.Three questions then: 1) How can I change the directory to which this is outputting the packaged app? 2) How do I change the target (e.g. to Release)? 3) How do I get this to build such that I can extract the directory and produce my own sfpkg file?
Thanks!