Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Found the answer, I tried launching MonoDevelop from <strong>Terminal</strong> (/Applications/MonoDevelop.app/Contents/MacOS/monodevelop), I saw the more detailed error from the commandline when I ran the unit tests.</p> <pre><code>Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Npgsql.NpgsqlConnection ---&gt; System.TypeLoadException: Could not load type 'System.Runtime.Versioning.TargetFrameworkAttribute' from assembly 'Npgsql'. at (wrapper managed-to-native) System.MonoCustomAttrs:GetCustomAttributesInternal (System.Reflection.ICustomAttributeProvider,System.Type,bool) at System.MonoCustomAttrs.GetCustomAttributesBase (ICustomAttributeProvider obj, System.Type attributeType) [0x00000] in &lt;filename unknown&gt;:0 at System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit) [0x00000] in &lt;filename unknown&gt;:0 at System.Reflection.Assembly.GetCustomAttributes (System.Type attributeType, Boolean inherit) [0x00000] in &lt;filename unknown&gt;:0 at System.Resources.ResourceManager.GetNeutralResourcesLanguage (System.Reflection.Assembly a) [0x00000] in &lt;filename unknown&gt;:0 at System.Resources.ResourceManager..ctor (System.Type resourceSource) [0x00000] in &lt;filename unknown&gt;:0 at Npgsql.NpgsqlConnection..cctor () [0x00000] in &lt;filename unknown&gt;:0 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod*,object,object[],System.Exception&amp;) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in &lt;filename unknown&gt;:0 </code></pre> <p>Then I tried changing the Npgsql version(the one that causes an error came from <a href="http://pgfoundry.org/frs/download.php/2868/Npgsql2.0.11-bin-ms.net4.0.zip" rel="nofollow">http://pgfoundry.org/frs/download.php/2868/Npgsql2.0.11-bin-ms.net4.0.zip</a>) to <a href="http://pgfoundry.org/frs/download.php/2860/Npgsql2.0.11-bin-mono2.0.zip" rel="nofollow">http://pgfoundry.org/frs/download.php/2860/Npgsql2.0.11-bin-mono2.0.zip</a> After this, there's no more <strong>Unix transport error</strong> ^_^</p> <p>Lesson learned, use the Mono version of the component you are using if you are running things on Mono</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload