dotnet / deployment-tools

This repo contains the code to build the .NET deployment tools and installers for all supported platforms, as well as the sources to .NET deployment tools.
MIT License
163 stars 50 forks source link

File, XXX.exe.manifest, has a different computed hash than specified in the manifest #336

Closed TypNull closed 5 months ago

TypNull commented 5 months ago

Issue Description

I have a problem with publishing my application using GitHub Actions and GitHub Pages. It works fine on my local machine, but on GitHub, I get an error that the hash is not valid because it does not match. However, I checked the hashes with the person who gave me the script to publish, and they are identical. I do not know why the Onclick application sees a difference. I tried various publishing versions and rebuilt the application ten times, but the error persists.

Configuration

Regression

Using a previous release before .Net 8.0 is not an option as it would break some code.

Other Information

I will include the log, but please note that it is in German. To reproduce the issue, please download the application file from this link: https://typnull.github.io/Elva/Elva.application and start it. It will throw the error.

"INFO ZUR PLATTFORMVERSION Windows : 10.0.22621.0 (Win32NT) Common Language Runtime : 4.0.30319.42000 System.Deployment.dll : 4.8.9176.0 built by: NET481REL1LAST_B clr.dll : 4.8.9181.0 built by: NET481REL1LAST_C dfdll.dll : 4.8.9176.0 built by: NET481REL1LAST_B dfshim.dll : 10.0.22621.30000 (WinBuild.160101.0800)

QUELLEN Bereitstellungs-URL : file:///C:/Bibliothek/Download/Elva.application Bereitstellungsanbieter-URL : https://typnull.github.io/Elva/Elva.application Server : GitHub.com Anwendungs-URL : https://typnull.github.io/Elva/Application%20Files/Elva_1_0_0_0/Elva.dll.manifest Server : GitHub.com

IDENTITÄTEN Bereitstellungsidentität : Elva.application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil

ZUSAMMENFASSUNG FÜR ANWENDUNG

FEHLERZUSAMMENFASSUNG Es folgt eine Zusammenfassung der Fehler. Details zu diesen Fehlern werden später im Protokoll aufgelistet.

FEHLERZUSAMMENFASSUNG FÜR DIE SPEICHERTRANSAKTION DER KOMPONENTE Es wurde kein Transaktionsfehler festgestellt.

WARNUNGEN

FORTSCHRITTSSTATUS DES VORGANGS

FEHLERDETAILS Folgende Fehler wurden bei diesem Vorgang entdeckt.

DETAILS ZUR SPEICHERTRANSAKTION DER KOMPONENTE Es sind keine Transaktionsinformationen verfügbar."

TypNull commented 5 months ago

The issue was with GitHub, it has altered my line endings.