Add JELLYFIN_WEB_DIR env and update publish settings
- Add JELLYFIN_WEB_DIR environment variable to launch profiles and test project for consistent web directory configuration. - Conditionally add AssemblyMetadata for ASPNETCORE_ENVIRONMENT and JELLYFIN_WEB_DIR in DEBUG builds. - Update FolderProfile.pubxml to delete existing files on publish and set additional properties (TargetFramework, ProjectGuid, etc.). - Bump Jellyfin.CodeAnalysis assembly version and update related binaries. - Refresh publish history in FolderProfile.pubxml.user.
This commit is contained in:
@@ -26,3 +26,8 @@ using System.Runtime.InteropServices;
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
[assembly: InternalsVisibleTo("Jellyfin.Server.Tests")]
|
||||
|
||||
#if DEBUG
|
||||
[assembly: AssemblyMetadata("ASPNETCORE_ENVIRONMENT", "Development")]
|
||||
[assembly: AssemblyMetadata("JELLYFIN_WEB_DIR", "path/to/your/web/directory")]
|
||||
#endif
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<DeleteExistingFiles>false</DeleteExistingFiles>
|
||||
<DeleteExistingFiles>true</DeleteExistingFiles>
|
||||
<ExcludeApp_Data>false</ExcludeApp_Data>
|
||||
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
|
||||
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
|
||||
@@ -11,5 +11,9 @@
|
||||
<PublishUrl>E:\Program Files\Jellyfin</PublishUrl>
|
||||
<WebPublishMethod>FileSystem</WebPublishMethod>
|
||||
<_TargetId>Folder</_TargetId>
|
||||
<SiteUrlToLaunchAfterPublish />
|
||||
<TargetFramework>net11.0</TargetFramework>
|
||||
<ProjectGuid>07e39f42-a2c6-4b32-af8c-725f957a73ff</ProjectGuid>
|
||||
<SelfContained>false</SelfContained>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -3,7 +3,7 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<_PublishTargetUrl>E:\Program Files\Jellyfin</_PublishTargetUrl>
|
||||
<History>True|2026-02-22T21:05:05.3412117Z||;True|2026-02-22T15:59:39.7645693-05:00||;</History>
|
||||
<History>True|2026-02-22T21:29:37.5643134Z||;True|2026-02-22T16:05:05.3412117-05:00||;True|2026-02-22T15:59:39.7645693-05:00||;</History>
|
||||
<LastFailureDetails />
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -5,13 +5,15 @@
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "http://localhost:8096",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"JELLYFIN_WEB_DIR": "E:/Projects/jellyfin-web"
|
||||
}
|
||||
},
|
||||
"Jellyfin.Server (nowebclient)": {
|
||||
"commandName": "Project",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"JELLYFIN_WEB_DIR": "E:/Projects/jellyfin-web"
|
||||
},
|
||||
"commandLineArgs": "--nowebclient"
|
||||
},
|
||||
@@ -21,7 +23,8 @@
|
||||
"launchUrl": "api-docs/swagger",
|
||||
"applicationUrl": "http://localhost:8096",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"JELLYFIN_WEB_DIR": "E:/Projects/jellyfin-web"
|
||||
},
|
||||
"commandLineArgs": "--nowebclient"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user