Trying to get aspnet vnext working with mac - missing method error

I am following the instructions to get a simple vNext example working on my mac (mavericks startup).

Here's what I did:

  • Using Homebrew, set kvm

    in accordance with the instructions ( brew tap aspnet/k

    and brew install kvm

    )
  • Manually downloaded and installed the latest Mono MRE from the website (3.6).
  • Cloning a repo for testing with samples.
  • In any of the samples (let's choose ConsoleApp), I k run

I get:

Missing method System.Net.Sockets.Socket::.ctor(SocketType,ProtocolType) in assembly /usr/local/Cellar/kmono/3.6.1-10002/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll, referenced in assembly /Users/mattroberts/.kre/packages/KRE-mono45-x86.1.0.0-alpha4-10274/bin/Microsoft.Framework.Runtime.dll
Method not found: 'System.Net.Sockets.Socket..ctor'.

      

Seems like something with my mono config. kvm list

reports that I am running:

  • 1.0.0-alpha4-10274 mono45 x86 / Users / mattroberts / .kre / packages

And I can mono -V, which reports as 3.6.1.

Does anyone know what I need to do?

thank

+3


source to share


2 answers


This is a new bug and will be fixed soon.



0


source


Hi looks like a fix in KRuntime issue # 526 (commit f2809f3) this is



0


source







All Articles