Another option is to package the working environment application by creating a solution in release mode (for example). This section can be added to the file .sfprojto achieve the goal:
<Target Name="ReleaseAfterBuild" AfterTargets="AfterBuild" Condition=" '$(Configuration)' == 'Release' ">
<MSBuild Projects="$(ProjectPath)" Targets="Package" />
</Target>
source
share