How to create a deployment package for Service Fabric that includes all artifacts necessary to run the designed workflows at run-time?
See Question&Answers more detail:osHow to create a deployment package for Service Fabric that includes all artifacts necessary to run the designed workflows at run-time?
See Question&Answers more detail:osAnother option is to package a service fabric application by building a solution in release mode (for example). This section can be added to the .sfproj
file to achieve the goal:
<Target Name="ReleaseAfterBuild" AfterTargets="AfterBuild" Condition=" '$(Configuration)' == 'Release' ">
<MSBuild Projects="$(ProjectPath)" Targets="Package" />
</Target>