-
Notifications
You must be signed in to change notification settings - Fork 725
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
Desktop TFM Packaging Support #16440
Comments
I would also suggest packaging for Flatpak. AppImages are pretty much on life support, so I'm not sure if it's worth the effort. |
If anyone is tracking this issue, I've added some links to known macOS and Linux packaging samples in the original post. |
This is not working for my app. I've added the It states |
@TopperDEL I had the same error as you. I was able to make the command line ran successfully:
dotnet msbuild -t:BundleApp -p:RuntimeIdentifier=osx-arm64 -p:TargetFramework=net8.0-desktop /p:CFBundleShortVersionString=1.0.0 -restore Please let me know if it works. I have the publish folder, but I don't know what else to do with it. |
Hm, I get the error |
@jeromelaban May you clarifiy how bundeling for macOs could work? I would love to get a *.pkg for the net8.0-desktop targeting macOS. |
@TopperDEL did you use the same line as me? |
Exactly the same, yes. But I have a quite huge solution already with many library-projects. May you add one library to your project and see if that works? This is a sample of a library that crashed with the above "desktop not recognized"-error:
|
This generally means that the
It's not defined at this point, but intuitively, |
Are class libraries meant to also use Uno.Sdk?
Who is in charge to define this? Is this a Microsoft-thing? |
If you want to use Uno in this class library, yes.
It will be an Uno Platform feature. |
So a "normal" class-library (containing only C#-code) does not need to Reference the Uno.Sdk. Hm. Still wondering where this error comes from then. I'm looking forward to have the PKG/APP-support. Thanks for your awesome work! |
Normal class libraries should not be showing this error. If you can repro that specific behavior, please open an issue with more details. Thanks! |
What would you like to be added
Add support for publishing to different platform specific packages:
.app
#17427known issues
Why is this needed
No response
For which platform
No response
Anything else we need to know?
No response
Additional resources
The text was updated successfully, but these errors were encountered: