BrianPeek / legoev3

LEGO MINDSTORMS EV3 API for .NET
Apache License 2.0
137 stars 73 forks source link

[ASP.NET Core2 Bluetooth connection problem] #32

Open tothtibor9182 opened 6 years ago

tothtibor9182 commented 6 years ago

I can't connect to my EV3 via Bluetooth in a ASP.NET Core2 Web application, but with USB i can!

It says: "An unhandled exception occurred while processing the request. FileNotFoundException: Could not load file or assembly 'System.IO.Ports, Version=0.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. System cannot find the file specified. Lego.Ev3.Desktop.BluetoothCommunication..ctor(string port)"

Let me notice, it worked with Bluetooth in ASP.NET Framework and in WPF application, but in a Core2 app, it didn't...

Please fix this somehow or please help me how I can connect in Core2!