-
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
On IOS - After Updating new Package Microsoft.Maui.Controls-8.0.70 App is not Compiling #23554
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Closed similar issues:
|
We too are getting this build error. Please see #23557 (comment) for repro test app. Hi @jfversluis - Could this build error be caused due to some internal change that was made for #21350? |
This issue has been verified using Visual Studio 17.6.12(build 410) (8.0.70)Can repro it, 8.7.61 cannot repro it. |
Seeing the same, as triggered by the following for an image used as an iOS splash screen, compiling in Rider on Mac:
|
Same problem on 8.0.70, cannot compile anymore. Testing on Rider, the problem goes away if I revert to 8.0.61 |
Has anyone tried deleting their bin and obj folders and compiling again? Wondering if something changed between versions and some old intermediate output is conflicting. |
yes, we Tried Many times by deleting bin and obj..still, we have the same error as above. |
Can you create and attach a binlog please? |
@PureWeen Attaching binlog for the test app shared in #23557 (comment) |
I fixed this issue by removing
and removing As we already include all images with this line |
I can confirm this, i'm having the same problem with Maui.Controls 8.0.70, our pipelines suddenly just stopped after the update! Reverting back to 8.0.61 fixes this! |
Nightly build |
Same. Just updated to 8.0.7 broke it for me too |
++ |
Is fix in https://github.com/dotnet/maui/releases/tag/8.0.71 related to this issue ? |
I don't think so, I'm still seeing the issue after upgrading to 8.0.71 |
This doesn't work either. We have a project with the word "Resources" in it. Please fix this ASAP, this sidetracked us a bit. This issue keeps coming up apparently as I found existing issues for this problem.
|
This doesn't work either:
|
@mnxamdev I think you're trying to add the Resources subdirectory when that's already where this file will go in the app bundle. Try this instead:
Alternatively you can glob them in:
I suspect you don't really want the So let's say you put a file in the project |
Fixes #23554 Prior to Maui 8.0.70, there was a bug that only removed the "Resources/" prefix, and not the correct "Platforms/iOS/Resource": #16734 This PR #23269 fixes the original issue, but now exposed the case where BundleResource were included in the root Resources folder instead of the Platforms/iOS/ folder.
Fixes #23554 Prior to Maui 8.0.70, there was a bug that only removed the "Resources/" prefix, and not the correct "Platforms/iOS/Resource": #16734 This PR #23269 fixes the original issue, but now exposed the case where BundleResource were included in the root Resources folder instead of the Platforms/iOS/ folder.
Fixes #23554 Prior to Maui 8.0.70, there was a bug that only removed the "Resources/" prefix, and not the correct "Platforms/iOS/Resource": #16734 This PR #23269 fixes the original issue, but now exposed the case where BundleResource were included in the root Resources folder instead of the Platforms/iOS/ folder.
…ce (#24015) * Remove the 'Resources' prefix from BundleResource Fixes #23554 Prior to Maui 8.0.70, there was a bug that only removed the "Resources/" prefix, and not the correct "Platforms/iOS/Resource": #16734 This PR #23269 fixes the original issue, but now exposed the case where BundleResource were included in the root Resources folder instead of the Platforms/iOS/ folder. * Update Microsoft.Maui.Controls.SingleProject.targets * Update Microsoft.Maui.Controls.SingleProject.targets * Update Versions.props * Add a test # Conflicts: # src/TestUtils/src/Microsoft.Maui.IntegrationTests/TemplateTests.cs * string --------- Co-authored-by: Matthew Leibowitz <mattleibow@live.com> Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
Fixes #23554 Prior to Maui 8.0.70, there was a bug that only removed the "Resources/" prefix, and not the correct "Platforms/iOS/Resource": #16734 This PR #23269 fixes the original issue, but now exposed the case where BundleResource were included in the root Resources folder instead of the Platforms/iOS/ folder.
…esource (#24024) * Remove the 'Resources' prefix from BundleResource Fixes #23554 Prior to Maui 8.0.70, there was a bug that only removed the "Resources/" prefix, and not the correct "Platforms/iOS/Resource": #16734 This PR #23269 fixes the original issue, but now exposed the case where BundleResource were included in the root Resources folder instead of the Platforms/iOS/ folder. * Update Microsoft.Maui.Controls.SingleProject.targets * Update Microsoft.Maui.Controls.SingleProject.targets * Add a test * string --------- Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
Description
On IOS -
After Updating new Package Microsoft.Maui.Controls-8.0.70 we are seeing below Build Errors:
/Resources/Raw/pdfjs/build/pdf.sandbox.js: Error: The name 'Resources' is reserved and cannot be used.
/Resources/Raw/pdfjs/build/pdf.sandbox.js.map: Error: The name 'Resources' is reserved and cannot be used.
To Support the loading PDF using Javascript we have added PDF.js library from the official PDF.js GitHub repository
After Upgrading the Application to new Nuget package Microsoft.Maui.Controls-8.0.70 we see the issue on IOS, Andriord is working Fine.
Please find the folder Structure Image and Error Image Below
Steps to Reproduce
After Updating new Package Microsoft.Maui.Controls-8.0.70 we are seeing below Build Errors:
/Resources/Raw/pdfjs/build/pdf.sandbox.js: Error: The name 'Resources' is reserved and cannot be used.
/Resources/Raw/pdfjs/build/pdf.sandbox.js.map: Error: The name 'Resources' is reserved and cannot be used.
To Support the loading PDF using Javascript we have added PDF.js library from the official PDF.js GitHub repository
After Upgrading the Application to new Nuget package Microsoft.Maui.Controls-8.0.70 we see the issue on IOS, Andriord is working Fine.
Link to public reproduction project repository
No response
Version with bug
8.0.70 SR7
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.60 SR6
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
NO
Relevant log output
The text was updated successfully, but these errors were encountered: