-
Notifications
You must be signed in to change notification settings - Fork 518
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
Could not load the file 'I18N, Version=2.0.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'. #578 #8815
Comments
@amrutha786 Thank you for your feedback! For us to investigate this further, could you please provide your full build logs, crash reports (if any), test case (to reproduce) and all your version information. It would be great if you could add a small test project that reproduces this issue - this is the most useful for us to reproduce the issue. To get full build logs just set the log verbosity to diagnostic at the following locations:
On Visual Studio for Windows you also want to add Note: this is done automatically on Visual Studio for Mac when the log verbosity is set to diagnostic. The easiest way to get exact version information:
Then copy/paste the version information (you can use the "Copy Information" button). We look forward to hearing from you! |
I am afraid i cannot create a test project at this point of time but i will be able to give you version info === Visual Studio Community 2019 for Mac === Version 8.4.8 (build 2)
=== Mono Framework MDK === Runtime: === Roslyn (Language Service) === 3.4.0-beta4-19562-05+ff930dec4565e2bc424ad3bf3e22ecb20542c87d === NuGet === Version: 5.3.0.6192 === .NET Core SDK === SDK: /usr/local/share/dotnet/sdk/3.1.102/Sdks === .NET Core Runtime === Runtime: /usr/local/share/dotnet/dotnet === Xamarin.Profiler === '/Applications/Xamarin Profiler.app' not found === Updater === Version: 11 === Xamarin.Android === Version: 10.1.3.7 (Visual Studio Community) === Microsoft Mobile OpenJDK === Java SDK: Not Found Android Designer EPL code available here: === Android SDK Manager === Version: 16.4.0.10 === Android Device Manager === Version: 16.4.0.32 === Apple Developer Tools === Xcode 11.1 (15405) === Xamarin.Mac === Version: 6.10.0.21 (Visual Studio Community) === Xamarin.iOS === Version: 13.10.0.21 (Visual Studio Community) === Xamarin Designer === Version: 16.4.0.479 === Xamarin Inspector === Version: 1.4.3 === Build Information === Release ID: 804080002 === Operating System === Mac OS X 10.14.6 |
Thank you for sharing the version information 👍 Could you also share the full call stack from the crash? Would it also be possible for your to share a snippet of your code where the exception gets thrown? A couple of things to try:
One more thing - is this a Xamarin.Forms project, an iOS project, or an Android project? |
@amrutha786 This looks like an issue with using an encoding that is not supported. Can you try installing the encoding nuget pkg and registering the encoder before you read in text? Nuget package: https://www.nuget.org/packages/System.Text.Encoding.CodePages/ The CodePagesEncodingProvider class extends EncodingProvider to make these code pages available to .NET Core. To use these additional code pages, you do the following:
After an EncodingProvider object is registered, the encodings that it supports are available by calling the overloads of Encoding.GetEncoding; you should not call the EncodingProvider.GetEncoding overloads. Registering the encoder will look something like this: cc @jstedfast This looks like the same issue described in jstedfast/MimeKit#330 |
Let us know what the results of trying the above are. Given our discussion, I do not believe this is a bug. If you have additional questions on CodePagesEncodingProvider, the broader developer community would be the best and quickest place for additional troubleshooting help on this issue. [0] https://stackoverflow.com/questions/tagged/xamarin |
What fixed it for me was making sure I had a direct reference to the
|
Steps to Reproduce
To Reproduce
Steps to reproduce the behavior:
I have created a contact Us page and upon filling all the info and click on submit I see the crash with
Describe the bug
System.IO.FileNotFoundException has been thrown
System.IO.FileNotFoundException
Could not load the file 'I18N, Version=2.0.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'.
Expected Behavior
When I click on Submit the form submits successfully
Actual Behavior
I have created a contact Us page and upon filling all the info and click on submit I see the crash with
System.IO.FileNotFoundException has been thrown
System.IO.FileNotFoundException
Could not load the file 'I18N, Version=2.0.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'.
Environment
The text was updated successfully, but these errors were encountered: