Commit c21ed31
committed
GVFS.Payload: drop VS code-analysis marker files from payload
Visual Studio's MSBuild for native C++ projects emits a
<binary>.exe.lastcodeanalysissucceeded marker file next to each
produced executable to record that PREfast / code analysis ran
successfully on it. Those marker files are pure build-time
bookkeeping with no runtime purpose, but the GVFS.Payload layout
step xcopies the entire native bin\x64\<Config>\ folder for each
of GitHooksLoader, GVFS.PostIndexChangedHook, GVFS.ReadObjectHook
and GVFS.VirtualFileSystemHook -- so the markers end up in the
Payload, get packaged into SetupGVFS.exe, and finally land on
end-user machines as e.g. GitHooksLoader.exe.lastcodeanalysissucceeded
in 'C:\Program Files\VFS for Git\'.
Extend the existing layout.bat cleanup block (which already strips
*.runtimeconfig.json, *.deps.json, and orphaned managed PDBs) to
also recursively delete *.lastcodeanalysissucceeded from the
output directory so they're never shipped.
Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>1 parent 0f30e3d commit c21ed31
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments