fix(build): restore full-installer engine/injector csproj
SK-local's cimgui de-duplication deleted the plain cimgui.dll that Build-Installer.ps1 requires in Runtime\ and plugins import by name; the DesktopLog reference is no longer used by the engine or injector. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
5166594e49
commit
f47d2cf1ad
3 changed files with 27 additions and 25 deletions
|
|
@ -33,6 +33,9 @@
|
||||||
in the release workflow. All restored to full-installer's working versions.
|
in the release workflow. All restored to full-installer's working versions.
|
||||||
- `Build-Release-All.ps1` now forwards only parameters `Build-Installer.ps1` declares
|
- `Build-Release-All.ps1` now forwards only parameters `Build-Installer.ps1` declares
|
||||||
(`-Version`, `-RynthSuiteRoot`, `-IsccPath`).
|
(`-Version`, `-RynthSuiteRoot`, `-IsccPath`).
|
||||||
|
- Engine / Injector `.csproj` restored to full-installer: SK's cimgui de-duplication deleted the plain
|
||||||
|
`cimgui.dll` that `Build-Installer.ps1` requires in `Runtime\` (and that plugins import by name), and
|
||||||
|
the DesktopLog reference was no longer used there. The launcher keeps DesktopLog (host diagnostics).
|
||||||
|
|
||||||
## Added
|
## Added
|
||||||
- **ub-Rythai 3.1.10** as an optional experimental installer component
|
- **ub-Rythai 3.1.10** as an optional experimental installer component
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,6 @@
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\RynthCore.DesktopLog\RynthCore.DesktopLog.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="ImGui.NET" Version="1.91.6.1" />
|
<PackageReference Include="ImGui.NET" Version="1.91.6.1" />
|
||||||
<PackageReference Include="Avalonia" Version="11.2.3" />
|
<PackageReference Include="Avalonia" Version="11.2.3" />
|
||||||
|
|
@ -55,10 +51,6 @@
|
||||||
|
|
||||||
<!-- Prevent trimmer from removing ImGui.NET's DllImport methods -->
|
<!-- Prevent trimmer from removing ImGui.NET's DllImport methods -->
|
||||||
<!-- Root Avalonia assemblies so the AOT trimmer keeps them intact -->
|
<!-- Root Avalonia assemblies so the AOT trimmer keeps them intact -->
|
||||||
<ItemGroup>
|
|
||||||
<TrimmerRootAssembly Include="RynthCore.DesktopLog" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<TrimmerRootAssembly Include="ImGui.NET" />
|
<TrimmerRootAssembly Include="ImGui.NET" />
|
||||||
<TrimmerRootAssembly Include="Avalonia" />
|
<TrimmerRootAssembly Include="Avalonia" />
|
||||||
|
|
@ -78,19 +70,38 @@
|
||||||
<BundledSupportDll Include="Native\minhook.x86.dll" />
|
<BundledSupportDll Include="Native\minhook.x86.dll" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Single ImGui native beside the engine: EntryPoint tries Runtime\RynthCore.cimgui.dll first (see EntryPoint.GetImGuiNativeCandidates). -->
|
|
||||||
<Target Name="CopyBundledNativeDlls" AfterTargets="Build">
|
<Target Name="CopyBundledNativeDlls" AfterTargets="Build">
|
||||||
|
<Copy
|
||||||
|
SourceFiles="@(BundledNativeDll)"
|
||||||
|
DestinationFiles="@(BundledNativeDll->'$(OutputPath)Native\%(Filename)%(Extension)')"
|
||||||
|
SkipUnchangedFiles="true" />
|
||||||
|
<Copy
|
||||||
|
SourceFiles="@(BundledNativeDll)"
|
||||||
|
DestinationFiles="@(BundledNativeDll->'$(OutputPath)Native\RynthCore.%(Filename)%(Extension)')"
|
||||||
|
SkipUnchangedFiles="true" />
|
||||||
|
<Copy
|
||||||
|
SourceFiles="@(BundledNativeDll)"
|
||||||
|
DestinationFiles="@(BundledNativeDll->'$(OutputPath)%(Filename)%(Extension)')"
|
||||||
|
SkipUnchangedFiles="true" />
|
||||||
<Copy
|
<Copy
|
||||||
SourceFiles="@(BundledNativeDll)"
|
SourceFiles="@(BundledNativeDll)"
|
||||||
DestinationFiles="@(BundledNativeDll->'$(OutputPath)RynthCore.%(Filename)%(Extension)')"
|
DestinationFiles="@(BundledNativeDll->'$(OutputPath)RynthCore.%(Filename)%(Extension)')"
|
||||||
SkipUnchangedFiles="true" />
|
SkipUnchangedFiles="true" />
|
||||||
<!-- ImGui.NET / publish may still emit plain cimgui.dll or Native\ copies; keep one prefixed name next to the engine. -->
|
|
||||||
<Delete Files="$(OutputPath)cimgui.dll" Condition="Exists('$(OutputPath)cimgui.dll')" />
|
|
||||||
<Delete Files="$(OutputPath)Native\cimgui.dll" Condition="Exists('$(OutputPath)Native\cimgui.dll')" />
|
|
||||||
<Delete Files="$(OutputPath)Native\RynthCore.cimgui.dll" Condition="Exists('$(OutputPath)Native\RynthCore.cimgui.dll')" />
|
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="CopyBundledNativeDllsToPublish" AfterTargets="Publish" Condition="'$(PublishDir)' != ''">
|
<Target Name="CopyBundledNativeDllsToPublish" AfterTargets="Publish" Condition="'$(PublishDir)' != ''">
|
||||||
|
<Copy
|
||||||
|
SourceFiles="@(BundledNativeDll)"
|
||||||
|
DestinationFiles="@(BundledNativeDll->'$(PublishDir)Native\%(Filename)%(Extension)')"
|
||||||
|
SkipUnchangedFiles="true" />
|
||||||
|
<Copy
|
||||||
|
SourceFiles="@(BundledNativeDll)"
|
||||||
|
DestinationFiles="@(BundledNativeDll->'$(PublishDir)Native\RynthCore.%(Filename)%(Extension)')"
|
||||||
|
SkipUnchangedFiles="true" />
|
||||||
|
<Copy
|
||||||
|
SourceFiles="@(BundledNativeDll)"
|
||||||
|
DestinationFiles="@(BundledNativeDll->'$(PublishDir)%(Filename)%(Extension)')"
|
||||||
|
SkipUnchangedFiles="true" />
|
||||||
<Copy
|
<Copy
|
||||||
SourceFiles="@(BundledNativeDll)"
|
SourceFiles="@(BundledNativeDll)"
|
||||||
DestinationFiles="@(BundledNativeDll->'$(PublishDir)RynthCore.%(Filename)%(Extension)')"
|
DestinationFiles="@(BundledNativeDll->'$(PublishDir)RynthCore.%(Filename)%(Extension)')"
|
||||||
|
|
@ -101,13 +112,6 @@
|
||||||
SkipUnchangedFiles="true" />
|
SkipUnchangedFiles="true" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<!-- Run after the full publish graph so package/ILC drops of cimgui.dll are removed last. -->
|
|
||||||
<Target Name="DedupePublishedCimguiCopies" AfterTargets="Publish" Condition="'$(PublishDir)' != ''">
|
|
||||||
<Delete Files="$(PublishDir)cimgui.dll" Condition="Exists('$(PublishDir)cimgui.dll')" />
|
|
||||||
<Delete Files="$(PublishDir)Native\cimgui.dll" Condition="Exists('$(PublishDir)Native\cimgui.dll')" />
|
|
||||||
<Delete Files="$(PublishDir)Native\RynthCore.cimgui.dll" Condition="Exists('$(PublishDir)Native\RynthCore.cimgui.dll')" />
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
<Target Name="CopyBundledSupportDlls" AfterTargets="Build">
|
<Target Name="CopyBundledSupportDlls" AfterTargets="Build">
|
||||||
<Copy
|
<Copy
|
||||||
SourceFiles="@(BundledSupportDll)"
|
SourceFiles="@(BundledSupportDll)"
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,6 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\RynthCore.DesktopLog\RynthCore.DesktopLog.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Build-Installer.ps1 publishes this project self-contained for the bundle (see BUILD.md). -->
|
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net10.0-windows</TargetFramework>
|
<TargetFramework>net10.0-windows</TargetFramework>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue