Open acrigney opened 3 weeks ago
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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Here is an extract from the log for the missing dlls Code File Line Column lt.iOS[1086:184620] Could not resolve assembly System.Diagnostics.EventLog.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Contain C:\acr\Log2008_2.txt 139 59 lt.iOS[1086:184620] Could not resolve assembly System.Diagnostics.EventLog.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers C:\acr\Log2008_2.txt 141 59 lt.iOS[1086:184620] Could not resolve assembly System.IO.FileSystem.DriveInfo.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Cont C:\acr\Log2008_2.txt 149 59 lt.iOS[1086:184620] Could not resolve assembly System.IO.FileSystem.DriveInfo.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Contain C:\acr\Log2008_2.txt 151 59 lt.iOS[1086:184620] Could not resolve assembly System.Threading.Channels.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/D C:\acr\Log2008_2.txt 165 59 lt.iOS[1086:184620] Could not resolve assembly System.Threading.Channels.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Container C:\acr\Log2008_2.txt 172 59 lt.iOS[1086:184620] Could not resolve assembly System.Threading.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Appli C:\acr\Log2008_2.txt 190 59 lt.iOS[1086:184620] Could not resolve assembly System.Threading.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Ap C:\acr\Log2008_2.txt 194 59 lt.iOS[1086:184620] Could not resolve assembly System.Security.AccessControl.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Conta C:\acr\Log2008_2.txt 229 59 lt.iOS[1086:184620] Could not resolve assembly System.IO.IsolatedStorage.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/D C:\acr\Log2008_2.txt 231 59 lt.iOS[1086:184620] Could not resolve assembly System.IO.IsolatedStorage.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Container C:\acr\Log2008_2.txt 260 59 lt.iOS[1086:184620] Could not resolve assembly System.Security.AccessControl.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containe C:\acr\Log2008_2.txt 262 59 lt.iOS[1086:184620] Could not resolve assembly System.IO.FileSystem.Watcher.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Container C:\acr\Log2008_2.txt 264 59 lt.iOS[1086:184620] Could not resolve assembly System.IO.FileSystem.Watcher.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Contai C:\acr\Log2008_2.txt 266 59 lt.iOS[1086:184620] Could not resolve assembly System.Security.Principal.Windows.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Cont C:\acr\Log2008_2.txt 295 59 lt.iOS[1086:184620] Could not resolve assembly System.Security.Principal.Windows.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/C C:\acr\Log2008_2.txt 297 59 lt.iOS[1086:184620] Could not resolve assembly System.ComponentModel.Annotations.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/C C:\acr\Log2008_2.txt 314 59 lt.iOS[1086:184620] Could not resolve assembly Microsoft.Win32.Registry.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Da C:\acr\Log2008_2.txt 316 59 lt.iOS[1086:184620] Could not resolve assembly System.ComponentModel.Annotations.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Cont C:\acr\Log2008_2.txt 332 59 lt.iOS[1086:184620] Could not resolve assembly Microsoft.Win32.Registry.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers C:\acr\Log2008_2.txt 334 59 lt.iOS[1086:184620] Could not resolve assembly System.Runtime.InteropServices.JavaScript.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/ C:\acr\Log2008_2.txt 349 59 lt.iOS[1086:184620] Could not resolve assembly System.Runtime.InteropServices.JavaScript.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mob C:\acr\Log2008_2.txt 351 59 lt.iOS[1086:184620] Could not resolve assembly Microsoft.VisualStudio.DesignTools.TapContract, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Details: Could not load file or assem C:\acr\Log2008_2.txt 373 59 lt.iOS[1086:184620] Could not resolve assembly Microsoft.VisualStudio.DesignTools.MobileTapContracts, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Details: Could not load file o C:\acr\Log2008_2.txt 375 59 lt.iOS[1086:184620] Could not resolve assembly Microsoft.VisualStudio.DesignTools.MobileTapContracts, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Details: Could not load file o C:\acr\Log2008_2.txt 379 59 lt.iOS[1086:184620] Could not resolve assembly Microsoft.VisualStudio.DesignTools.TapContract, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Details: Could not load file or assem C:\acr\Log2008_2.txt 381 59 lt.iOS[1086:184620] Could not resolve assembly Microsoft.Extensions.Configuration.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Con C:\acr\Log2008_2.txt 393 59 lt.iOS[1086:184620] Could not resolve assembly Microsoft.Extensions.Configuration.resources, Version=8.0.0.0, Culture=en-AU, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/ C:\acr\Log2008_2.txt 395 59
I think this is something specific to your project? Is this on an existing project? A new .NET MAUI project? Can you give a little more information or ideally a reproduction project?
I think this is something specific to your project? Is this on an existing project? A new .NET MAUI project? Can you give a little more information or ideally a reproduction project?
Hey, thanks for having a look at our issue. I'm working with acrigney and have found that the WeatherTwentyOne app is also having the same issue loading or resolving assemblies. While some of the packages we are using are different to that of the WeatherTwentyOne app we have found that some of the packages that are being used for both projects have the same issue resolving assemblies.
I've attached the Build and Debug outputs for the WeatherTwentyOne app.
Build HotReload VS Preview Weather.txt Debug HotReload VS Preview Weather.txt
In MAUI 9.0.0-preview.7.24407.4, App debug crashes on both local and remote iOS device. Not repro on 9.0.0-preview.6.24327.7.
The error output only repro on local device, not repro on Remote device, and this is not a regression.
It also repro on .NET 8 and 9.0.0-preview.6.24327.7.
2024-08-27 17:17:22.636 Xamarin.PreBuilt.iOS[738:65979] Could not resolve assembly System.Private.DataContractSerialization.resources, Version=9.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/5EC39825-C66E-4565-8CDD-D0D334597E58/Documents/WeatherTwentyOne.content/System.Private.DataContractSerialization.resources.dll' or one of its dependencies.
Description
We are getting a lot of missing dll references, and we have tried to remove them using linker statements but this is not working. The dlls are probably windows dlls. Here is our linker file
We are using VS2022 17..10.4 and 17.11.0 on windows 10.
Steps to Reproduce
Our app works on windows
Link to public reproduction project repository
No response
Version with bug
9.0.0-preview.7.24407.4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
16.1
Did you find any workaround?
No
Relevant log output
No response