Missing Reference to Assembly
<p>I am trying to Create a socket server, and I am having issues that I am not sure how to fix.</p>

<p>Here is what I am using for my <code>project.json</code>:</p>

<pre><code>{
  "version": "1.0.0-*",
  "buildOptions": {
    "emitEntryPoint": true
  },
  "dependencies": {
    "Microsoft.NETCore.App": {
      "type": "platform",
      "version": "1.0.0-rc2-3002702"
    },
    "vtortola.WebSocketListener": "2.2.0.2"
  },
  "frameworks": {
    "netcoreapp1.0": {
      "imports": "net45"
    }
  }
}
</code></pre>

<p>I then have this basic script <code>Server.cs</code>:</p>

<pre><code>using System.Net;
using vtortola.WebSockets;

public class Server {

    public static void Main(string[] args){

        var server = new WebSocketListener(new IPEndPoint(IPAddress.Any, 8006));
        var rfc = new vtortola.WebSockets.Rfc6455.WebSocketFactoryRfc6455(server);
        server.Standards.RegisterStandard(rfc);
        server.Start();

    }

}
</code></pre>

<p>When I run the following command:</p>

<pre><code>master@ubuntu:~/Documents/Chat$ dotnet run
</code></pre>

<p>I get the following error:</p>

<blockquote>
  <p>Project Chat (.NETCoreApp,Version=v1.0) will be compiled because expected outputs are missing<br>
      Compiling Chat for .NETCoreApp,Version=v1.0<br>
      /usr/share/dotnet/dotnet compile-csc @/home/master/Documents/Chat/obj/Debug/netcoreapp1.0/dotnet-compile.rsp returned Exit Code 1<br>
      /home/master/Documents/Chat/Server.cs(8,26): error CS0012: The type 'IPEndPoint' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.<br>
      /home/master/Documents/Chat/Server.cs(10,26): error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.<br>
      /home/master/Documents/Chat/Server.cs(11,16): error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.<br></p>
  
  <p>Compilation failed.<br>
          0 Warning(s)<br>
          3 Error(s)<br></p>
  
  <p>Time elapsed 00:00:02.6995789</p>
</blockquote>