![]() |
|
Another NewB problem - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html) +--- Forum: CrossTalk (https://www.atozed.com/forums/forum-2.html) +---- Forum: CrossTalk General Discussion (https://www.atozed.com/forums/forum-7.html) +---- Thread: Another NewB problem (/thread-4879.html) |
Another NewB problem - Sugarloafer - 01-09-2025 I just installed 2.035. Running Delphi 12.3 When I try to load a user assembly, I get the following error: Unable to load assembly: [ReflectionTypeLoadException] Could not load type 'System.Runtime.InteropServices.ICustomMarshaler' from assembly 'System.Runtime.InteropServices, Verson 4.0.0.0, Culture=neutral, PublicKeyToken=bb03f7f11d503a'. I have loaded GAC assemblies mscorlib and System.Runtime.InteropServices. System Info RAD Studio 12 Version 29.0.53571.9782 Windows 10 (Version 22H2, OS Build 19045.5247, 64 bit Edition) .NET 9.0.101 16GB Ram RE: Another NewB problem - bubblyeducate - 03-27-2025 This issue seems related to mismatched versions of .NET assemblies or conflicts in the GAC. The steps to resolve it involve checking assembly versions, ensuring compatibility between the .NET runtime and Delphi, enabling detailed diagnostics, and ensuring your project's interop configuration is correct. |