Failure Processing Application Bundle. Bundle header version compatibility check failed

Viewed 46

I've developed an C# ASP.NET application which runs successfully. I'm then publishing the application using the following publish command

dotnet publish MyApplication/MyApplication/MyApplication.csproj -c release --output Dll/MyApplication -r win-x86 -p:PublishSingleFile=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None -p:DebugSymbols=false -p:AllowedReferenceRelatedFileExtensions=*.pdb

The publish command successfully runs to completion and produces the expected files. When I go to run the published .exe I get the following error message.

Failure processing application bundle. Bundle header version compatibility check failed. Header version: 538976266.572530720 A fatal error occurred while processing application bundle.

Why is this error occurring and how can I fix it?

0 Answers
Related