[PR #6427] [MERGED] Disable UseAppHost in portable deployment #10952

Closed
opened 2026-02-07 06:29:46 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/6427
Author: @winterqt
Created: 8/15/2021
Status: Merged
Merged: 8/15/2021
Merged by: @joshuaboniface

Base: masterHead: patch-1


📝 Commits (1)

  • 890e997 Disable UseAppHost in portable deployment

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 deployment/build.portable (+1 -1)

📄 Description

Changes
This disables UseAppHost in portable deployments, which builds an unnecessary x86_64-linux binary, which does not work without the .NET Core runtime.

Per Microsoft:

You can create an executable for a specific platform by passing the -r --self-contained false parameters to the dotnet publish command. When the -r parameter is omitted, an executable is created for your current platform. Any NuGet packages that have platform-specific dependencies for the targeted platform are copied to the publish folder. If you don't need a platfrom-specific executable, you can specify False in the project file.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/6427 **Author:** [@winterqt](https://github.com/winterqt) **Created:** 8/15/2021 **Status:** ✅ Merged **Merged:** 8/15/2021 **Merged by:** [@joshuaboniface](https://github.com/joshuaboniface) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`890e997`](https://github.com/jellyfin/jellyfin/commit/890e99725e9222550750d4742557d77e55acb0ee) Disable UseAppHost in portable deployment ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `deployment/build.portable` (+1 -1) </details> ### 📄 Description **Changes** This disables `UseAppHost` in portable deployments, which builds an unnecessary `x86_64-linux` binary, which does not work without the .NET Core runtime. [Per Microsoft](https://docs.microsoft.com/en-us/dotnet/core/deploying/#publish-framework-dependent): > You can create an executable for a specific platform by passing the -r <RID> --self-contained false parameters to the dotnet publish command. When the -r parameter is omitted, an executable is created for your current platform. Any NuGet packages that have platform-specific dependencies for the targeted platform are copied to the publish folder. If you don't need a platfrom-specific executable, you can specify <UseAppHost>False</UseAppHost> in the project file. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:29:46 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10952