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: ComVisible(false)]
|
||||||
|
|
||||||
[assembly: InternalsVisibleTo("Jellyfin.Server.Tests")]
|
[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. -->
|
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<DeleteExistingFiles>false</DeleteExistingFiles>
|
<DeleteExistingFiles>true</DeleteExistingFiles>
|
||||||
<ExcludeApp_Data>false</ExcludeApp_Data>
|
<ExcludeApp_Data>false</ExcludeApp_Data>
|
||||||
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
|
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
|
||||||
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
|
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
|
||||||
@@ -11,5 +11,9 @@
|
|||||||
<PublishUrl>E:\Program Files\Jellyfin</PublishUrl>
|
<PublishUrl>E:\Program Files\Jellyfin</PublishUrl>
|
||||||
<WebPublishMethod>FileSystem</WebPublishMethod>
|
<WebPublishMethod>FileSystem</WebPublishMethod>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
|
<SiteUrlToLaunchAfterPublish />
|
||||||
|
<TargetFramework>net11.0</TargetFramework>
|
||||||
|
<ProjectGuid>07e39f42-a2c6-4b32-af8c-725f957a73ff</ProjectGuid>
|
||||||
|
<SelfContained>false</SelfContained>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_PublishTargetUrl>E:\Program Files\Jellyfin</_PublishTargetUrl>
|
<_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 />
|
<LastFailureDetails />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -5,13 +5,15 @@
|
|||||||
"launchBrowser": true,
|
"launchBrowser": true,
|
||||||
"applicationUrl": "http://localhost:8096",
|
"applicationUrl": "http://localhost:8096",
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||||
|
"JELLYFIN_WEB_DIR": "E:/Projects/jellyfin-web"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Jellyfin.Server (nowebclient)": {
|
"Jellyfin.Server (nowebclient)": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||||
|
"JELLYFIN_WEB_DIR": "E:/Projects/jellyfin-web"
|
||||||
},
|
},
|
||||||
"commandLineArgs": "--nowebclient"
|
"commandLineArgs": "--nowebclient"
|
||||||
},
|
},
|
||||||
@@ -21,7 +23,8 @@
|
|||||||
"launchUrl": "api-docs/swagger",
|
"launchUrl": "api-docs/swagger",
|
||||||
"applicationUrl": "http://localhost:8096",
|
"applicationUrl": "http://localhost:8096",
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||||
|
"JELLYFIN_WEB_DIR": "E:/Projects/jellyfin-web"
|
||||||
},
|
},
|
||||||
"commandLineArgs": "--nowebclient"
|
"commandLineArgs": "--nowebclient"
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
+1
-1
@@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Jellyfin.CodeAnalysis")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Jellyfin.CodeAnalysis")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d1e6fbc12266490c91a8cc32d9f9eb43f6c961b7")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f8b7c62f9e1f477916308d6395db212ca1fca410")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Jellyfin.CodeAnalysis")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Jellyfin.CodeAnalysis")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Jellyfin.CodeAnalysis")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Jellyfin.CodeAnalysis")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
02669f7b2e5b29053e97c2c10b763f5f61e0ca0906507b64fdb62c6386f0f64f
|
79af6817c2e15e73182d4e4594eab8c486fd3066d87d7dd560325ec905918c97
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
+4
@@ -6,6 +6,10 @@
|
|||||||
<TargetFramework>net11.0</TargetFramework>
|
<TargetFramework>net11.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<JELLYFIN_WEB_DIR>E:/Projects/jellyfin-web</JELLYFIN_WEB_DIR>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Test Data\**\*.*">
|
<None Include="Test Data\**\*.*">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
|||||||
Reference in New Issue
Block a user