C
C#14mo ago
n8ta

❔ System.TypeLoadException

Having an issue where my native bindings project (using objective-sharpie) expects a class to exist in the Xamarin.Mac assembly but when it runs in some of my projects it hits: System.TypeLoadException : Could not resolve type with token 01000012 from typeref (expected class 'ObjCRuntime.ThrowHelper' in assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065') I built the my package on Xamarin 9.0.1.2 and the application is being built into an application w/ 9.0.1.5. Is this mismatch the problem? What else might be the issue?
3 Replies
mtreit
mtreit14mo ago
Never seen that kind of error before But that looks very Xamarin specific At least presumably ObjCRuntime is a Xamarin thing Version=0.0.0.0 seems a bit odd
n8ta
n8ta14mo ago
ObjCRuntime Namespace
The ObjCRuntime namespace provides classes for binding Objective-C types with the Mono managed runtime.
Accord
Accord14mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ HttpClient - Error while copying content to a stream - AWS S3Hello, I've been trying to upload file to AWS S3's presigned URL using POST method. All the presig❔ Hello I need some help with a recursion dirs & files tree in windows formsI have the following function I can get the length (size of the current folder and show it ) but I nC# ClickOnce does not support the request execution level 'requireAdministrator.' error when publishHi,I get this error while I try to publish my project.Click Once automaticly turn on when I click o❔ Help ME PLEASE C#i using MAUI to make a tip calculator The user enter the cost and the click at button with 10% or 1❔ ✅ blazor.webassembly.js 404 with GitHub PagesThis github repo is attempting to host a .NET blazor webassembly applcation on GitHub Pages: <https:✅ Visual Studio Code Text BlurSometime when opening ruby code/other code file text blur like in the picture how i can fix this?? ❔ gRCP on Mac M1 VenturaI wanted to use gRCP in an ASP project on my Mac, but there is an error message which cannot be solv❔ CS1077 here which I don't know how to resolve. Something to do with the out parametershttps://paste.mod.gg/esakwzvzaedv/0 It wants me to assign some value to the variables but then they'❔ avalonia cross platform issueIm trying to port my avalonia project to android, but it just shows a white screen, android code is ❔ Why deconstuctor/Finalize example not working in vs 2022. Anything missing``` using System; class GCcollection { public GCcollection() { Console.WriteLine("H