-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Microsoft.Maui.Graphics.Platform error #8509
Comments
maybe because current windows don't support platformimage https://docs.microsoft.com/ja-jp/dotnet/maui/user-interface/graphics/images. i don't find your sample. |
You may have noticed that it worked fine on the previous release of Maui. In any case, I am trying to compile for Android. |
Yeah, compiling in a single project you get the error because also compiles for Windows where (for now) should use W2DImage (PlatformImage not exists). This issue will be fixed by dotnet/Microsoft.Maui.Graphics#464 |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Description
I am trying to display photos in a NetMaui app by using the GraphicsView control.
This worked properly until the latest release of Maui, when the following error appeared:
Severity Code Description Project File Line Suppression State
Error CS0234 The type or namespace name 'Platform' does not exist in the namespace 'Microsoft.Maui.Graphics' (are you missing an assembly reference?) TestMauiGraphics (net6.0-windows10.0.19041.0) E:\Projects\NetMAUI\TestMauiGraphics\TestMauiGraphics\MainPage.xaml.cs 35 Active
The error is not shown as marked on the source by VS2022 17,3.0 Preview 2.0
I have created a sample project to show the error at https://github.com/pgmariotti/TestMauiGraphics
Please tell me what I am doing wrong...
Steps to Reproduce
Just compile the program
Version with bug
6.0.400 (current)
Last version that worked well
6.0.312
Affected platforms
Windows
Affected platform versions
Windows 11 SDK 10.0.22000.0
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: