I need to include some DLL files inside git. I know this is not a good practice. But this solution solves one of our problems for now.
But the problem is that, while I have not changed anything at all, and not a single line of code is modified and not even a character is modified, when I use dotnet build
I see that git marks the output as modified.
I tried to compare them using Beyond Compare's Hex comparison, and here's an image of the beginning bytes:
I can't find out why it's modified. I mean, I expect dotnet build
to be deterministic and give me the same results for the same inputs. But apparently something is changed.
Does anyone know why dotnet build
has this behavior?
I'm using .NET 6.