Giter Site home page Giter Site logo

Comments (4)

MrJul avatar MrJul commented on June 19, 2024

You probably have a package version mismatch. Currently Estragonia targets Avalonia 11.0.0, but you probably referenced directly another Avalonia package with version 11.0.x? Try to downgrade it to 11.0.0 instead.

It's due time for another Estragonia release targeting the latest Avalonia, as there were many bug fixes in the past months.

If you want to target Avalonia 11.0.5 explicitly, you can force the version by adding this line to your csproj:
<PackageReference Include="Avalonia.Skia" Version="[11.0.5]" />

Note that it's generally discouraged, but you should be fine nonetheless with 11.0.0 to 11.0.5.

from estragonia.

hawkerm avatar hawkerm commented on June 19, 2024

Thanks @MrJul I think when I added the Avalonia theme package, as called out as one of the instructions. It pulled the latest, which also bumped the Avalonia version up. Wouldn't have expected a patch version to cause such issues.

Changed it to this:

<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0" />

And then the exception went away.

Not seeing anything render though, so will have to maybe just trying to download the sample first directly to see if that works on my machine.

from estragonia.

MrJul avatar MrJul commented on June 19, 2024

Nothing rendering sounds like no theme has been applied.

Please try the samples and let me know if you encounter any issue.

from estragonia.

MrJul avatar MrJul commented on June 19, 2024

I've just published Estragonia 1.0.2 which targets Avalonia 11.0.5, which is the latest and should solve the mismatching assemblies issue (ensure that your theme reference also targets 11.0.5).

I'm closing this issue, please feel free to reopen if you still encounter any problem after updating.

from estragonia.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.