Comments (13)
It's should probably covered by this project: https://github.com/CastelloBrancoTecnologia/Material.Icons.UNO/
from material.icons.
Hello. Did you mean a package for WinUI or some set of WinUI styled icons?
from material.icons.
A set of material icons we can use in winui 3
from material.icons.
@SKProCH Im using WinAppSDK, Material.Icons.Uno is for Uno -> WinUI 3
WinAppSDK/WinUI 3 is gaining a bit of traction now, I have no clue how to go about this so relying on more of an expert in the font field
from material.icons.
Sorry, I can't fully get your point. Uno is just basically WinUI3 as far as I understand it. And also WinUI3 is a part of WinAppSDK. And you want a library for the WinAppSDK, so why is the Uno (WinUI) variant not suitable for you?
I just don't fully understand all this MS's zoo of UI frameworks.
from material.icons.
Here is a minimal GitHub project showing the issue
I appreciate it isnt your repo as such but it demonstrates the issue
from material.icons.
Seems like I can't build your project:
dotnet build
MSBuild version 17.8.3+195e7f5a3 for .NET
Determining projects to restore...
All projects are up-to-date for restore.
C:\Users\SKProCH\.nuget\packages\microsoft.windowsappsdk\1.4.230913002\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.interop.targets(590,9): error MSB3073: The command ""C:\Users\SKProCH\.nuget\packages\microsoft.windowsappsdk\1.4.230913002\buildTransitive\..\tools\net5.0\..\net472\XamlCompiler.exe" "obj\ARM64\Debug\net8.0-windows10.0.19041.0\\input.json" "obj\ARM
64\Debug\net8.0-windows10.0.19041.0\\output.json"" exited with code 1. [C:\Users\SKProCH\Downloads\WinUI3_MaterialIcons-master\WinUI3_MaterialIcons\WinUI3_MaterialIcons.csproj]
Looks like this issue: microsoft/microsoft-ui-xaml#8871
Probably you need to address this issue on the Material.Icons.Uno repository. In fact, the library for Uno/WinUI is located in a different repository, because I couldn't build the library for Uno/WinUI that was offered to me. Details and logs can be read here #26
I would really like to help, but apparently I won’t be able - all of Microsoft’s attempts at UI frameworks after WPF have such shitty cursed tooling that it’s naturally impossible to use them. Sorry.
from material.icons.
You would need to be on VS 2022 or VS Code (not sure about rider or other IDE's) & on a windows PC for the project to compile & run.
No worries tho I understand if its not your usual stack. Appreciate you trying to help 👍
from material.icons.
Can't manage VS Code to work properly - same error as just dotnet build
. Forced to install VS, and seems like finally able to compile the project. Such awful developing experience! Require VS installing to just build project - not surprised why all these UI frameworks failed to get community love.
After commenting the button reference in code behind to fix the
The name 'myButton' does not exist in the current contex
After that I've getting this exception:
Type universe cannot resolve assembly: Uno.UI, Version=255.255.255.255
Is this exception what you experience?
After a bit of googling seems like fix described here:
https://platform.uno/docs/articles/uno-community-toolkit.html?tabs=tabid-winui#referencing-the-windows-community-toolkit-from-a-cross-targeted-library
Probably the problem is in <PackageReference Include="Uno.WinUI" Version="5.0.48" />
which should be conditionally imported as stated in link above.
from material.icons.
Sorry for the late reply
I don't see those errors you are getting, did you install the desktop workloads for VS 2022?
In Mainwindow if you comment out <icons:MaterialIcon ...
it should build and run ok.
Here is the error I'm seeing
from material.icons.
Yep, seems like this is similar error. When I'm removing the element app will start fine.
Here is my errors:
Still think what conditional importing should help.
from material.icons.
Experimenting with the namespace but get a slightly different error
from material.icons.
This is because icons2
refer to main library Material.Icons
which doesn't contains any controls - just icons data.
Still think that this issues should be resolved in Material.Icons.Uno repository using this Uno guide: https://platform.uno/docs/articles/uno-community-toolkit.html?tabs=tabid-winui#referencing-the-windows-community-toolkit-from-a-cross-targeted-library
There is nothing what I can do on my side.
from material.icons.
Related Issues (17)
- Upgrade to Avalonia 11.0.0-preview5
- MaterialIconStyles not found HOT 7
- MissingMethodException on Avalonia 11.0.0-preview6 HOT 1
- The Tag 'MaterialIconExt' does not exist in XML namespace 'clr-namespace:Material.Icons.WPF;assembly=Material.Icons.WPF' HOT 3
- "MaterialIcon.Kind" property is not StyledProperty HOT 3
- Custom icons HOT 6
- XamlLoadException on Avalonia 11.0.0 HOT 3
- How to change the size? HOT 3
- Outlined Icon? HOT 2
- StyleInclude HOT 1
- Add WinUI/Uno support HOT 15
- package mismatch HOT 6
- Strong signed assembly
- Unable to resolve type MaterialIcon HOT 4
- Remove hard coded width and/or height from default wpf style HOT 2
- Outdated Icons 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 material.icons.