Re: resources.dll not found
I also suspect that some update in either iOS, XCode, OS X, Xamarin Forms or some other packages is causing my problem. And because there are so many fragile dependencies in the Xamarin world, it's really hard to know who to blame. I will probably follow your suggestion and unreference everything and add it all back again. I hope I don't have to downgrade, as that would be more error-prone work -- *GK* On 27 February 2017 at 15:56, David Richardswrote: > Greg, > > I agree with you regarding Xamarin development. I can't believe how much > time I've wasted because of bugs in Xamarin. > > I've seen your problem before some time ago but I can't remember what the > solution was. These kinds of problems happen so often I stopped taking > notice and just start doing "magical" things to fix them. > > Things that I now try to fix mysterious problems that shouldn't occur: > - Close then reopen the solution. > - Quit and relaunch Xamarin Studio. > - Take note of the packages being used. Remove them all. Add them all back > again. Start with Forms as this will add many of them automatically. > > These are my day-to-day fixes that resolve 90% of mysterious problems. > > Last week there was an update. I made the mistake of installing this on > Thursday and it took all up a full day to fix the mess it made. The latest > version crashed when trying to open projects and seems to have changed the > way some projects are compiled. For example, in one class, it was skipping > functions altogether. I had to downgrade to fix it. > > I've also found references sometimes get messed up and can't be fixed > within Xamarin Studio. So I manually add them in the project files. > > David > > "If we can hit that bullseye, the rest of the dominoes > will fall like a house of cards... checkmate!" > -Zapp Brannigan, Futurama > > On 27 February 2017 at 14:27, Greg Keogh wrote: > >> Have you tried deleting the resource file (or all of them if more than >>> one) and creating a new one from scratch? Just a stab in the dark. >> >> >> Sort of, I added a fresh test resx file (leaving the old one) and it also >> generated the same error inside the GetString method. I also tried >> different cultures, including the invariant one, but no luck. I may as you >> say, remove ALL resx, clean, put one back and try again. I've got nothing >> to lose except more hours of my time - *GK* >> > >
Re: resources.dll not found
Greg, I agree with you regarding Xamarin development. I can't believe how much time I've wasted because of bugs in Xamarin. I've seen your problem before some time ago but I can't remember what the solution was. These kinds of problems happen so often I stopped taking notice and just start doing "magical" things to fix them. Things that I now try to fix mysterious problems that shouldn't occur: - Close then reopen the solution. - Quit and relaunch Xamarin Studio. - Take note of the packages being used. Remove them all. Add them all back again. Start with Forms as this will add many of them automatically. These are my day-to-day fixes that resolve 90% of mysterious problems. Last week there was an update. I made the mistake of installing this on Thursday and it took all up a full day to fix the mess it made. The latest version crashed when trying to open projects and seems to have changed the way some projects are compiled. For example, in one class, it was skipping functions altogether. I had to downgrade to fix it. I've also found references sometimes get messed up and can't be fixed within Xamarin Studio. So I manually add them in the project files. David "If we can hit that bullseye, the rest of the dominoes will fall like a house of cards... checkmate!" -Zapp Brannigan, Futurama On 27 February 2017 at 14:27, Greg Keoghwrote: > Have you tried deleting the resource file (or all of them if more than >> one) and creating a new one from scratch? Just a stab in the dark. > > > Sort of, I added a fresh test resx file (leaving the old one) and it also > generated the same error inside the GetString method. I also tried > different cultures, including the invariant one, but no luck. I may as you > say, remove ALL resx, clean, put one back and try again. I've got nothing > to lose except more hours of my time - *GK* >
Re: resources.dll not found
> > Have you tried deleting the resource file (or all of them if more than > one) and creating a new one from scratch? Just a stab in the dark. Sort of, I added a fresh test resx file (leaving the old one) and it also generated the same error inside the GetString method. I also tried different cultures, including the invariant one, but no luck. I may as you say, remove ALL resx, clean, put one back and try again. I've got nothing to lose except more hours of my time - *GK*
Re: resources.dll not found
> > Fuslogvw no help ? > Sadly, I'm on an iMac in Xamarin Studio. Otherwise it would have been my first choice on Windows -- *GK*
RE: resources.dll not found
Fuslogvw no help ? From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Keogh Sent: Monday, 27 February 2017 2:18 PM To: ozDotNetSubject: resources.dll not found Folks, pardon me for putting a Xamarin question into the general .NET group, but maybe there's a slim chance someone in here might have a clue. Pasted below a question I put into the Xamarin forums, but I never expect a reply. I've posted a few questions in the group but have NEVER received a reply. Also, searching the web for Xamarin answers it mostly futile, as all you find are long useless arguments in years old posts and people saying "I have that problem too, anyone got an answer?" Without a doubt, Xamarin development is the worst thing I have experienced in 37 years of coding (ignoring JavaScript of course!). Trying to get anything to work sensibly or reliably, or debug a problem is like peeing into a hurricane -- Greg K I have been working on a new Xamarin Forms app in XStudio on an iMac targeting Android and iOS for several days without any problems. The project has all strings in a resx file which is used in the simplest way, using generated property names and GetString(). Without warning, and after making no significant code changes, the app suddenly started crashing with the following error whenever a resource was referenced. System.IO.FileNotFoundException: Could not load file or assembly '/Users/.../Library/Developer/CoreSimulator/Devices/.../data/Containers/Bundle/Application/.../TestApp1.iOS.app/en/TestApp1.resources.dll' or one of its dependencies I have spent hours trying to overcome this problem. I have upgraded to the latest packages and references, cleaned all generated runtime files, examined the compiler options, search folders, searched the web, all to no avail. I have run out of things to try and I'm at my wits end. Resources are working correctly in other apps and in a small test one I created, which hints that the problem is specific this app and is perhaps related to compile or debug settings, but I can't find the cause. Any help or advice is urgently needed, thanks.
Re: resources.dll not found
Have you tried deleting the resource file (or all of them if more than one) and creating a new one from scratch? Just a stab in the dark. On Monday, 27 February 2017, Greg Keoghwrote: > Folks, pardon me for putting a Xamarin question into the general .NET > group, but maybe there's a slim chance someone in here might have a clue. > Pasted below a question I put into the Xamarin forums, but I never expect a > reply. I've posted a few questions in the group but have NEVER received a > reply. Also, searching the web for Xamarin answers it mostly futile, as all > you find are long useless arguments in years old posts and people saying "I > have that problem too, anyone got an answer?" > > Without a doubt, Xamarin development is the worst thing I have experienced > in 37 years of coding (ignoring JavaScript of course!). Trying to get > anything to work sensibly or reliably, or debug a problem is like peeing > into a hurricane -- *Greg K* > > > > I have been working on a new Xamarin Forms app in XStudio on an iMac > targeting Android and iOS for several days without any problems. The > project has all strings in a resx file which is used in the simplest way, > using generated property names and GetString(). Without warning, and after > making no significant code changes, the app suddenly started crashing with > the following error whenever a resource was referenced. > > System.IO.FileNotFoundException: Could not load file or assembly > '/Users/.../Library/Developer/CoreSimulator/Devices/.../ > data/Containers/Bundle/Application/.../TestApp1.iOS.app/en/TestApp1.resources.dll' > or one of its dependencies > > I have spent hours trying to overcome this problem. I have upgraded to the > latest packages and references, cleaned all generated runtime files, > examined the compiler options, search folders, searched the web, all to no > avail. I have run out of things to try and I'm at my wits end. Resources > are working correctly in other apps and in a small test one I created, > which hints that the problem is specific this app and is perhaps related to > compile or debug settings, but I can't find the cause. > > Any help or advice is urgently needed, thanks. >
resources.dll not found
Folks, pardon me for putting a Xamarin question into the general .NET group, but maybe there's a slim chance someone in here might have a clue. Pasted below a question I put into the Xamarin forums, but I never expect a reply. I've posted a few questions in the group but have NEVER received a reply. Also, searching the web for Xamarin answers it mostly futile, as all you find are long useless arguments in years old posts and people saying "I have that problem too, anyone got an answer?" Without a doubt, Xamarin development is the worst thing I have experienced in 37 years of coding (ignoring JavaScript of course!). Trying to get anything to work sensibly or reliably, or debug a problem is like peeing into a hurricane -- *Greg K* I have been working on a new Xamarin Forms app in XStudio on an iMac targeting Android and iOS for several days without any problems. The project has all strings in a resx file which is used in the simplest way, using generated property names and GetString(). Without warning, and after making no significant code changes, the app suddenly started crashing with the following error whenever a resource was referenced. System.IO.FileNotFoundException: Could not load file or assembly '/Users/.../Library/Developer/CoreSimulator/Devices/.../data/Containers/Bundle/Application/.../TestApp1.iOS.app/en/TestApp1.resources.dll' or one of its dependencies I have spent hours trying to overcome this problem. I have upgraded to the latest packages and references, cleaned all generated runtime files, examined the compiler options, search folders, searched the web, all to no avail. I have run out of things to try and I'm at my wits end. Resources are working correctly in other apps and in a small test one I created, which hints that the problem is specific this app and is perhaps related to compile or debug settings, but I can't find the cause. Any help or advice is urgently needed, thanks.