Skip to content

Error trying to load PgProcedureExecutor on Mono 3.8 #8

Description

@JosephFerano

When trying to load a simple Nancy server, I get this error.

System.TypeLoadException
Could not load type 'Simple.Data.PostgreSql.PgProcedureExecutor' from assembly 'Simple.Data.PostgreSql, Version=0.17.0.0, Culture=neutral, PublicKeyToken=null'.

Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or object): mscorlib.
Exception stack trace:
  at (wrapper managed-to-native) System.MonoType:GetPropertiesByName (System.MonoType,string,System.Reflection.BindingFlags,bool,System.Type)
  at System.MonoType.GetProperties (BindingFlags bindingAttr) [0x00000] in /Volumes/build-root-ramdisk/mono-3.8.0/mcs/class/corlib/System/MonoType.cs:318 
  at System.ComponentModel.Composition.AttributedModel.AttributedPartCreationInfo+<GetExportMembers>c__Iterator0.MoveNext () [0x00110] in /Volumes/build-root-ramdisk/mono-3.8.0/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/AttributedModel/AttributedPartCreationInfo.cs:358 
  at System.Linq.Enumerable.Any[MemberInfo] (IEnumerable`1 source) [0x00024] in /Volumes/build-root-ramdisk/mono-3.8.0/mcs/class/System.Core/System.Linq/Enumerable.cs:138 
  at System.ComponentModel.Composition.AttributedModel.AttributedPartCreationInfo.HasExports () [0x00000] in /Volumes/build-root-ramdisk/mono-3.8.0/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/AttributedModel/AttributedPartCreationInfo.cs:113 
  at System.ComponentModel.Composition.AttributedModel.AttributedPartCreationInfo.IsPartDiscoverable () [0x0001d] in /Volumes/build-root-ramdisk/mono-3.8.0/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/AttributedModel/AttributedPartCreationInfo.cs:94 
  at System.ComponentModel.Composition.AttributedModel.AttributedModelDiscovery.CreatePartDefinitionIfDiscoverable (System.Type type, ICompositionElement origin) [0x0000a] in /Volumes/build-root-ramdisk/mono-3.8.0/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/AttributedModel/AttributedModelDiscovery.cs:20 
  at System.ComponentModel.Composition.Hosting.TypeCatalog.get_PartsInternal () [0x00052] in /Volumes/build-root-ramdisk/mono-3.8.0/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/TypeCatalog.cs:276 
  at System.ComponentModel.Composition.Hosting.TypeCatalog.CreateIndex () [0x0000b] in /Volumes/build-root-ramdisk/mono-3.8.0/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/TypeCatalog.cs:328 
  at System.Lazy`1[System.Collections.Generic.IDictionary`2[System.String,System.Collections.Generic.List`1[System.ComponentModel.Composition.Primitives.ComposablePartDefinition]]].InitValue () [0x0015f] in /Volumes/build-root-ramdisk/mono-3.8.0/mcs/class/corlib/System/Lazy.cs:164 
Version Information: 3.8.0 ((no/db71bc1 Fri Sep 12 13:10:47 EDT 2014); ASP.NET Version: 4.0.30319.17020

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions