Skip to content
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

The type or namespace name 'MauiUIApplicationDelegate' could not be found Microsoft.AspNetCore.Components.WebView.Maui 8.0.7 #20591

Closed
garcia252 opened this issue Feb 14, 2024 · 7 comments
Labels
platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-attention Issue has more information and needs another look t/bug Something isn't working

Comments

@garcia252
Copy link

garcia252 commented Feb 14, 2024

Description

We just upgraded Microsoft.AspNetCore.Components.WebView.Maui and Microsoft.Maui.Controls to 8.0.7. When compiling it gives us the error:

/Platforms/iOS/AppDelegate.cs(6,32): error CS0246: The type or namespace name 'MauiUIApplicationDelegate' could not be found (are you missing a using directive or an assembly reference?)

No other code changes were made whatsoever. Recently we used 8.0.6 and it compiled fine.

Steps to Reproduce

Upgrade Microsoft.AspNetCore.Components.WebView.Maui and Microsoft.Maui.Controls to 8.0.7

Link to public reproduction project repository

No response

Version with bug

8.0.7 SR2

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.6 SR1

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@garcia252 garcia252 added the t/bug Something isn't working label Feb 14, 2024
@samhouts samhouts added potential-regression This issue described a possible regression on a currently supported version., verification pending platform/iOS 🍎 labels Feb 14, 2024
@bengavin
Copy link

I think this is tied in with #20565 , this is the actual error I'm getting on my Azure DevOps build agents, with the behavior described in the other issue when installing workloads. Local builds are all working fine after force-cleaning and restore/rebuild after updating to the latest nuget packages.

@PureWeen
Copy link
Member

PureWeen commented Feb 14, 2024

Are you installing via the CLI or are you using Visual Studio?
If you update to the latest Visual Studio this should work fine.

What version of the sdk are you on?
dotnet --info

@PureWeen PureWeen added the s/needs-info Issue needs more info from the author label Feb 14, 2024
@ghost
Copy link

ghost commented Feb 14, 2024

Hi @garcia252. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@garcia252
Copy link
Author

@PureWeen this is in Azure DevOps Pipeline. We are using SDK Task to use .NET 8.x, we also check "Include Preview Versions"

@bengavin the workloads we are installing are "install ios maccatalyst tvos macos maui wasm-tools". This has worked great before.

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Feb 14, 2024
@bengavin
Copy link

@garcia252 - Yes, we are in a similar boat, there is -something- corrupted/invalid in the mapping for the new 8.0.200 workloads, at least as they are downloaded from the macos-13 hosted DevOps build agent. We haven't enabled preview versions, and we've updated out build in the short term to lock into 8.0.101, but it would be handy NOT to have to do that :)

@Redth
Copy link
Member

Redth commented Feb 14, 2024

Please see #20600

@jfversluis
Copy link
Member

Duplicate of #20600 and a fix is available for the hosted build agents without the need for any other changes.

IsmailHassani added a commit to I-Synergy/I-Synergy.Framework that referenced this issue Feb 16, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants