How to use cocoa framework in a .net core console project?

killaragorn 21 Reputation points

this is a swift project.
i import cocoa framework and use NSEvent.mouseLocation; so i can get the mouse position.

` swift
import Foundation
import Cocoa

var point = NSEvent.mouseLocation;
print("x is ", point.x, "   y is ", point.y);


How to do this in. NET Core?
Anyone can help me?

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,101 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful