-
I upgraded our Maui project that was using CommunityToolkit.Maui.Markup 1.1.1 --> 3.3.0 and am now unable to build the project. I'm probably missing a step on my end, but I can't figure out what needs to change. I'm getting a warning CS9057 and an Error CS1061. I imagine the build is failing because of the Error CS1061 but even when I open the file I'm not sure how to specify the compiler version of 4.7.0.0 anywhere. Any help is much appreciated! Build error output:
Here's some output of my environment:
`.NET SDKs:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Interesting - I removed all the usages of these and now its building:
No more warnings or errors. But it seems like these methods are still in the SDK to use 🤔 |
Beta Was this translation helpful? Give feedback.
-
(See Issue #250) I've experienced this bug too, but haven't figured out the fix yet. In my experience, it happens on macOS but not on Windows. However, it works in our CI builds. This leads me to assume it's a local environment configuration problem. I'll keep poking at it to see if I can figure out the culprit. In the meantime, check out our CI Pipeline environment configuration to see how to best configure your local environment: https://github.com/CommunityToolkit/Maui.Markup/blob/main/azure-pipelines.yml WorkaroundAn easy work-around is to downgrade to |
Beta Was this translation helpful? Give feedback.
(See Issue #250)
I've experienced this bug too, but haven't figured out the fix yet.
In my experience, it happens on macOS but not on Windows.
However, it works in our CI builds. This leads me to assume it's a local environment configuration problem.
I'll keep poking at it to see if I can figure out the culprit.
In the meantime, check out our CI Pipeline environment configuration to see how to best configure your local environment: https://github.com/CommunityToolkit/Maui.Markup/blob/main/azure-pipelines.yml
Workaround
An easy work-around is to downgrade to
CommunityToolkit.Maui.Markup v3.2.0
. The only new feature added to v3.3.0 is .NET Hot Reload support.