Comments (4)
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.
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.
Nothing rendering sounds like no theme has been applied.
Please try the samples and let me know if you encounter any issue.
from estragonia.
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)
- CS9077 and CS8350 errors in auto generated godot files HOT 3
- Visual Studio Designer Issue (with workaround) HOT 2
- Leverage Skia Context outside of the GUI HOT 1
- AMD GPU corrupted rendering HOT 25
- Possible to use Avalonia's StorageProvider to open file picker? HOT 1
- Failure to render UI Controls on Remote Desktop Terminal Sessions (RDP) HOT 6
- Can you support LibVLCSharp.avalonia or libmpv.avalonia players in godot4? HOT 3
- Estragonia specifically requires Avalonia.Skia v 11.0.5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from estragonia.