Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#3534) Fix ILMerge of no7zip version of choco.exe #3537

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Oct 26, 2024

  1. (chocolatey#3534) Fix ILMerge of no7zip version of choco.exe

    It was noted that during the compilation of the final release build,
    the generated choco.exe for the no7zip version of Chocolatey CLI was
    bigger then expected.
    
    After investigation, it was found that tests project output, including
    all the WireMock assemblies were being added to the output directory.
    Due to the fact that the selection of the files to be ILMerge'd collects
    all the files in the output directory, all of these files were being
    put into the final choco.exe.
    
    This commit addresses this problem by updating the build configuration
    to remove the compiling of the test projects when it is the
    ReleaseOfficialNo7zip configuration.  With this change in place, the
    compiled choco.exe for the no7zip version is now smaller than the
    normal choco.exe.
    gep13 committed Oct 26, 2024
    Configuration menu
    Copy the full SHA
    320d67f View commit details
    Browse the repository at this point in the history