Copy bundled Runtime\bin JRE to output so MfApi finds java.exe.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -20,6 +20,11 @@
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- SDK schließt **/bin/** aus – die gebündelte JRE unter Runtime\bin muss mit. -->
|
||||
<DefaultItemExcludes>$(DefaultItemExcludes);Docs\**</DefaultItemExcludes>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="Assets\**\*">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
@@ -29,6 +34,12 @@
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
||||
<!-- Explizit: DefaultItemExcludes enthält **/bin/** und würde Runtime\bin sonst nie kopieren -->
|
||||
<None Include="Runtime\bin\**\*">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Link>Runtime\bin\%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||
</None>
|
||||
|
||||
<None Update="appsettings.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
||||
Reference in New Issue
Block a user