dotnet-bundle
dotnet-bundle copied to clipboard
Damaged or incomplete app - Please help
Hi there,
I believe I followed the instructions exactly however I am getting the error in the screenshot further below.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<RuntimeIdentifiers>osx-x64</RuntimeIdentifiers>
<CFBundleName>NftJsonGen</CFBundleName> <!-- Also defines .app file name -->
<CFBundleDisplayName>NftJsonGen</CFBundleDisplayName>
<CFBundleIdentifier>com.endomint</CFBundleIdentifier>
<CFBundleVersion>1.0.0</CFBundleVersion>
<CFBundleShortVersionString>1.0.0</CFBundleShortVersionString>
<OutputType>WinExe</OutputType>
<CFBundlePackageType>APPL</CFBundlePackageType>
<CFBundleExecutable>NftJsonGen</CFBundleExecutable>
<CFBundleIconFile>Logo.icns</CFBundleIconFile> <!-- Will be copied from output directory -->
<NSPrincipalClass>NSApplication</NSPrincipalClass>
<NSHighResolutionCapable>true</NSHighResolutionCapable>
</PropertyGroup>
<ItemGroup>
<Folder Include="Models\" />
<AvaloniaResource Include="Assets\**" />
<None Remove=".gitignore" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="0.10.10" />
<PackageReference Include="Avalonia.Desktop" Version="0.10.10" />
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="0.10.10" />
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.10" />
<PackageReference Include="Dotnet.Bundle" Version="*" />
</ItemGroup>
</Project>
I would appreciate any pointers in the right direction please.

I have also got the file list as below: https://mike.getsharex.com/2022/01/20220129_y6MIvgrM2X.html
Having the same issue here
Managed to fix my issue. Make sure you point <CFBundleExecutable>NftJsonGen</CFBundleExecutable> to your actual executable on your project