Azure DevOps mangles INI files when download to ZIP file

Scott Hampson 0 Reputation points
2024-02-21T18:19:14.8733333+00:00

When I use the DevOps Repository Download to Zip File, when extracted, the file is being modified and results, for instance, in the inability of SQL Server Express 2019 to be installed. We have seen the same thing for Firmware installs. Is there a setting or configuration change to eliminate this behavior? When we download the repository from GitKraken, this does not happen. Your assistance would be greatly appreciate This screenshot shows a file comparison with the DevOps ZIP file on the Left and the GitKraken download on the right. User's image

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
42,741 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 57,216 Reputation points
    2024-02-21T18:44:25.7166667+00:00

    DevOps just downloads the file directly from the repo. There are no options to control how files are downloaded.

    Things that come to mind:

    • Is the file correct in DevOps when you view it?
    • If you clone the repo does it copy the file correctly?
    • What encoding is the file using?

    The file on the left almost looks like it is Unicode but whatever you're looking at it with sees it as ANSI. But this is just a guess based upon the odd spacing.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.