This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Where to find IOM.Android.dll or how to fix error with IOM.dll

Larleyt - Thursday, April 21, 2016 1:10 PM:

Hello.

I'm trying to create an Android app as part of my university project using Visual Studio + Xamarin + Aras .NET SDK.

Firstly, I couldn't find IOM.Android.dll file which is referenced in 10.5 of the Programmer's Guide.
"A RT version of IOM.Android.dll can be found in the UtilitiesAras Innovator <Version> IOM SDKAndroid directory on the CD Image and may be copied to another location and referenced by an Android App using Xamarin’s existing framework to generate an Android project."

Where is this Utilities folder? There's none in Aras Innovator installation directory and no CD Image available on the website. Could anyone provide the .dll file?


Secondly, adding just the IOM.dll from the Aras Innovator installation folder to the Xamarin project leads to the following error, which I can't fix either by changing target/minimum Android version or by changing the related assembly's version to 2.0.0.0 in app.config (because there's no app.config file in Xamarin, unlike usual .NET projects). This error only appears after adding the IOM.dll.


Traceback:
1>------ Building project: Aras Mobile, Configuration: Debug Any CPU ------
1>  Aras Mobile -> C:UsersLarleytDocumentsVisual Studio 2015ProjectsAras MobileAras MobileinDebugAras Mobile.dll
1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(1316,2): error : Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?
1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(1316,2): error : Filename: 'System.Configuration.dll'
1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(1316,2): error :    at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(1316,2): error :    at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(1316,2): error :    at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(1316,2): error :    at Xamarin.Android.Tasks.ResolveAssemblies.Execute()
========== Building: success: 0, errors: 1 ==========
Object reference not set to an instance of an object
Object reference not set to an instance of an object
Object reference not set to an instance of an object
Object reference not set to an instance of an object


Am I using a wrong .dll and can you provide correct one for Android or how should I fix the error of IOM.dll?



Larleyt - Sunday, April 24, 2016 9:07 AM:

Is the forum dead?