Files
ThreadPilot/Directory.Publish.props
PrimeBuild-pc c5f8154917 security: ship WPF native DLLs next to the exe instead of extracting them to %TEMP%
With IncludeNativeLibrariesForSelfExtract the elevated app loaded wpfgfx_cor3,
PresentationNative_cor3 and D3DCompiler_47_cor3 from %TEMP%\.net\ThreadPilot,
which the non-elevated user can modify. The installer already copies *.dll and
the portable zip and smoke test take the whole publish folder.
2026-10-22 10:54:37 +02:00

16 lines
741 B
XML

<Project>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<Deterministic>true</Deterministic>
<DebugType>embedded</DebugType>
<PublishTrimmed>false</PublishTrimmed>
<!-- false: WPF native DLLs ship next to the exe (admin-only install folder) instead of being
extracted to the user-writable %TEMP%\.net and loaded from there by the elevated process. -->
<IncludeNativeLibrariesForSelfExtract>false</IncludeNativeLibrariesForSelfExtract>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>
<PropertyGroup Condition="'$(CI)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
</Project>