-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
vs2022 .net8.0 mauiAPP can't run #19084
Comments
Can you attach a binlog so we can have a look: https://github.com/xamarin/xamarin-macios/wiki/Diagnosis |
Hi @ikraddy. 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. |
MSBuildReproLogs.zip |
I get the same three errors on a file...new .NET MAUI App template project using .NET 8.0 in VS 2022 17.8.2. All I did after creating the project was switch my debugging target to my Android local (emulator) device and right-click Rebuild on the solution, which only has the new project in it. Here is the binlog file created from my Developer Powershell terminal in VS 2022 using command |
same here, just wanted to get into MAUI and thats what you get greeted with when trying the basic boilerplate of a new project This fixed it for me: #18904 (comment) |
I've been getting these same three errors on a sporadic basis for the past several weeks. I can't tie it specifically to a MAUI or Visual Studio version. When I see these errors, I do a clean, exit, and restart VS. That will clear up this issue for a while. I also get errors about these files being "open by another process" way too often... This is very disruptive. |
I have attached .binlog see #18636 (comment) |
This just continues to happen several times. Still no workaround?? |
I just created a new MAUI app using .net8.0 and I had this issue. It helped me to edit .csproj file and remove everything targeting ios, maccatalyst and tizen. Don't know which one caused the issue. But it was writing about missing files for Android (like AndroidManifest.xml directly in project folder) - so definitely unrelated things. Oh I also got this issue when targeting Windows: It was enabled. Removing those targets also helped this problem. |
We think that this might be solved by #21838. Please try the nightly feed or wait for a next release where this change is included. If this turns out not to be the case, please feel free to open a new issue about this and refer to this one, thanks! |
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 APT2067 failed processing manifest.
MauiApp1 C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.43\tools\Xamarin.Android.Aapt2.targets 214
错误 APT2260 resource mipmap/appicon (aka com.companyname.mauiapp1:mipmap/appicon) not found.
This error is likely caused by an issue with the AndroidManifest.xml file or an Android manifest generation attribute in a source code file. MauiApp1 F:\Develop\Projects\csharp\2023\MauiApp1\MauiApp1\Platforms\Android\AndroidManifest.xml 1
错误 APT2260 resource mipmap/appicon_round (aka com.companyname.mauiapp1:mipmap/appicon_round) not found.
This error is likely caused by an issue with the AndroidManifest.xml file or an Android manifest generation attribute in a source code file. MauiApp1 F:\Develop\Projects\csharp\2023\MauiApp1\MauiApp1\Platforms\Android\AndroidManifest.xml 1
The text was updated successfully, but these errors were encountered: