Skip to content

Commit 7382fed

Browse files
committed
Fix FastFetch MicroBuild signing for NativeAOT publish
With PublishAot=true, dotnet publish produces the native executable in $(PublishDir) rather than $(OutputPath). The FilesToSign items were still referencing $(OutputPath)\FastFetch.exe, causing the ESRP signing task to fail because the file doesn't exist at that path. Change the signing path to $(PublishDir) and remove the managed DLL entries (GVFS.Common.dll, GVFS.Platform.Windows.dll, GVFS.Virtualization.dll) which are statically linked into the native AOT binary and no longer exist as separate files. Assisted-by: Claude Opus 4.6 Signed-off-by: Tyler Vella <tyrielv@gmail.com>
1 parent 3c18fe5 commit 7382fed

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

GVFS/FastFetch/FastFetch.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<FilesToSign Include="
20-
$(OutputPath)\FastFetch.exe;
21-
$(OutputPath)\GVFS.Common.dll;
22-
$(OutputPath)\GVFS.Platform.Windows.dll;
23-
$(OutputPath)\GVFS.Virtualization.dll;">
19+
<FilesToSign Include="$(PublishDir)\FastFetch.exe">
2420
<Authenticode>Microsoft400</Authenticode>
2521
<InProject>false</InProject>
2622
</FilesToSign>

0 commit comments

Comments
 (0)