Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error publishing NativeAOT win x86 with .NET 9 #15863

Open
dhirennjaypal opened this issue May 30, 2024 · 1 comment
Open

Error publishing NativeAOT win x86 with .NET 9 #15863

dhirennjaypal opened this issue May 30, 2024 · 1 comment
Labels

Comments

@dhirennjaypal
Copy link

Describe the bug

I made blank project with Avalonia prerelease and moved Program.cs from Project.Desktop to Project and deleted Project.desktop
Changed CPU to x86 and changed .NET version to .NET 9.
Added publishaot to true to csproj
when i build and run project, it runs correctly but when i publish i get error
here are files for reference

publish_log.txt
GalaxyResearchTools.csproj.txt
FolderProfile.pubxml.txt

To Reproduce

  • make blank project
  • Update to Avalonia prerelease
  • move Program.cs from Project.Desktop to Project and delete Project.desktop
  • Change CPU to x86 and changed .NET version to .NET 9.
  • Add publishaot to true to csproj
  • Publish project, self contained win-x86

Expected behavior

It should have build the program

Avalonia version

11.1.0-beta2

OS

Windows

Additional context

No response

@maxkatz6
Copy link
Member

Please try latest nightly builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants