I wrote a program on Windows 7 with Delphi Prism. I took the executable and try to run it on Linux under mono. At which point, mono raised the following error. Is this mean RemObjects components are only meant for windows environment? If not, how do you resolve this exception?
Could not load file or assembly 'RemObjects.InternetPack, Version=2.0.47.845, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098' or one of its dependencies. Unhandled Exception: System.TypeLoadException: A type load exception has occurred.
Thanks in advance,
You need to deploy and register
RemObjects InternetPack
on the Linux machine. It's not part of the default runtime.Think of it like building a
Delphi Win32
app with runtime packages. When you deploy the application to other machines, you also have to deploy the runtime packages.Deploying
.NET
packages is a totally different question (and not reallyDelphi
orPrism
related). You might want to search here on SO first, and if you don't find an existing answer then post a new question.