Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jo Shields
    @directhex
    and if you run mono /usr/lib/monodevelop/bin/monodevelop.exe?
    i think it's in there. i'm on my mac and can't check
    Antwand Howard
    @Atherz97
    Aborted (core dumped)
    So now I check the logs again right?
    Because... that's empty. Lol
    Jo Shields
    @directhex
    what platform?
    Antwand Howard
    @Atherz97
    Linux
    Jo Shields
    @directhex
    that's not very detailed
    cpu architecture?
    Antwand Howard
    @Atherz97
    It's a 64-bit Linux, Ubuntu. I followed the Ubuntu directions, adding the ppa, installing monodevelop
    I just need to have BounceCastle.Crypto.DLL exported to 64 bit
    *BouncyCastle.Crypto.dll
    Jo Shields
    @directhex
    okay
    let's try to narrow this down. try installing cowbell. it's a dumb little app, but it;'ll at least confirm that gtk# works
    Antwand Howard
    @Atherz97
    =================================================================
    Got a SIGABRT while executing native code. This usually indicates
    a fatal error in the mono runtime or one of the native libraries

    used by your application.

    After running cowbell
    Jo Shields
    @directhex
    ok, something generally is bad on your system w/ mono
    just a hunch, but can you delete /usr/lib/mono/aot-cache/ ?
    Antwand Howard
    @Atherz97
    Ok
    Now what
    Jo Shields
    @directhex
    any change?
    Antwand Howard
    @Atherz97
    Here's the first output of cowbell, just the same message but:
    • Assertion at local-propagation.c:330, condition `ins->opcode > MONO_CEE_LAST' not met
    I don't get it, this install was on the directions, I copied the commands exactly
    Jo Shields
    @directhex
    the issue has been seen before, but we've never been able to reproduce it
    you're running the current mono-devel, right? 6.x?
    Antwand Howard
    @Atherz97
    monodevelop/vs-bionic,now 7.8.4.1-0xamarin6+ubuntu1804b1 amd64 [installed]
    Development Environment for GNOME
    ...
    Jo Shields
    @directhex
    monodevelop is the IDE, it runs on mono the runtime
    what version is mono-devel?
    Antwand Howard
    @Atherz97

    I have no mono-devel, here's the output of mono:

    Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)

    Jo Shields
    @directhex
    oh geez
    that's a good 3 years old
    apt update, apt dist-upgrade, apt install mono-devel
    then try again
    Antwand Howard
    @Atherz97
    Okay cool
    Thanks for the help man. I just need to export in 64bit then perhaps my problem solving will work
    (thumbs)
    g
    @germgerm
    MD 7.8.4 on ubuntu 16.04 recently has stopped recognizing/locating types unless the using statement already exists in the code. right click > Quick Fix no longer lists using options.
    Majeric
    @majeric
    I’m getting this error on my project because was cleaning up my project and I might have mangled something in the process. Anyone familiar with this error?

    /usr/local/share/dotnet/sdk/2.2.401/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(198,5): error : Cannot create a package that has no dependencies nor content.
    g
    @germgerm

    MD 7.8.4 on ubuntu 16.04 recently has stopped recognizing/locating types unless the using statement already exists in the code. right click > Quick Fix no longer lists using options.

    That should have been ubuntu 18.04

    g
    @germgerm
    I just spent the night working through an issue with the latest msbuild generating assemblies that don't work in some instances (TypeLoadException when referencing Stack<> ) on machines where mono < 6.0 - the work around would have been trivial if I could symlink msbuild to xbuild - that works from the command line but does not work from within monodevelop - there used to be an option to use xbuild instead of msbuild but that is not gone so I setup a number of custom commands to get around this. a second issue is that the Create Nuget Package command does a build before creating the package using msbuild so I also have to manually generate nuget packages ( via custom command ) - is there anyway to get monodevelop to use xbuild everywhere instead of msbuild ?
    Alexander Köplinger
    @akoeplinger
    no, msbuild is the way forward
    when you say msbuild created assemblies that don't work on mono < 6.0, what do you mean exactly?
    g
    @germgerm
    any reference to Stack<> generates a TypeLoadException
    List<> which lives in the same assembly works fine
    I realize that msbuild is the better option - but using xbuild resolves the issue and I can't wait for a fix
    System.TypeLoadException: Could not resolve type with token 01000013
       from typeref (expected class 'System.Collections.Generic.Stack`1'
       in assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, 
       PublicKeyToken=b77a5c561934e089')
    g
    @germgerm
    running the msbuild generated app works on mono >-6.0 and fails on mono <6.0
    simple test - build with msbuild on 6.0 and try to run on <6 - will generate exception, build again with xbuild and will now run anywhere
    using System;
    using System.Collections.Generic;
    
    namespace test
    {
        class MainClass
        {
            public static void Main( string[] args )
            {
                Console.WriteLine( $"List<> : {L.Type.AssemblyQualifiedName}" );
                Console.WriteLine( $"Stack<> : {S.Type.AssemblyQualifiedName}" );
            }
        }
    
        // move these out of Main 
        // or else exception is thrown when MainClass is instantiated
        // this way exception is thrown when these classes are referenced
        class L
        {
            public static Type Type => typeof( List<> );
        }
        class S
        {
            public static Type Type => typeof( Stack<> );
        }
    }
    $$$
    @purpl3brian_twitter
    Hey i just build monodevelop sucessfully on windows everything is working except auto code completion. Can anyone help? :(
    Majeric
    @majeric
    Anyone know how to make UnitTests more verbose?
    Nikita Tsukanov
    @kekekeks
    @germgerm you probably need the older mono installed somewhere in /opt and set FrameworkPathOverride to force the compiler to use GAC assemblies from /opt instead of reference ones