You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 13, 2022. It is now read-only.
***If no RuntimeIdentifier is provided a[Framework-dependent deployment](https://docs.microsoft.com/en-us/dotnet/core/deploying/) will be created otherwise a[Self-contained deployment](https://docs.microsoft.com/en-us/dotnet/core/deploying/) will**
69
69
***The command neds to be excute in the same folder as the csproj**
70
70
71
+
If your project happens to target multiple runtimes, i.e.`win-x64` and`linux-arm`, then sshdeploy does not necessarily know which binaries to deploy. Also, you might want to control that i.e. only the`linux-arm` build should be automatically deployed. In this case, you can change the post build event and add an additional condition to the target (only run on builds for linux), and also pass the desired runtime identifier to the actual deployment call as follows:
72
+
73
+
```xml
74
+
<TargetCondition="$(BuildingInsideSshDeploy) == '' and $(RuntimeIdentifier) == 'linux-arm'"Name="PostBuild"AfterTargets="PostBuildEvent">