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

FluentTheme missing - 11.0.0-preview1 #8841

Closed
Yanik39 opened this issue Aug 28, 2022 · 3 comments
Closed

FluentTheme missing - 11.0.0-preview1 #8841

Yanik39 opened this issue Aug 28, 2022 · 3 comments
Labels

Comments

@Yanik39
Copy link

Yanik39 commented Aug 28, 2022

Hello,

I was using Fluent Theme at 10.999, but with 11 Preview Fluent Theme is missing.

I had to change to Simple Theme with;

    <Application.Styles>
        <SimpleTheme Mode="Light"/>
    </Application.Styles>

And Simple Theme throws an error at publish;

  XamlX.XamlParseException: Unable to resolve type SimpleTheme from 
  namespace https://github.com/avaloniaui Line 10, position 10.

Any ideas?

@Yanik39 Yanik39 added the bug label Aug 28, 2022
@rabbitism
Copy link
Contributor

Please install package Avalonia.Themes.Fluent. #5593

@robloo
Copy link
Contributor

robloo commented Aug 28, 2022

You also need Avalonia.Themes.Simple.

Both themes are now separate nuget packages not included with the main Avalonia nuget itself. This was done AFAIK because Avalonia is now used on a lot of embedded devices that don't want unnecessary code. Avalonia is more modular now.

@Yanik39
Copy link
Author

Yanik39 commented Aug 28, 2022

Thanks, problem solved.
I read the blog post but couldnt find info about it. It seems mentioned at #5593

Thanks for your time

@Yanik39 Yanik39 closed this as completed Aug 28, 2022
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

3 participants