Hi @Elba ,
SharePoint On-Premise Server Client Object 15.x is not compatible with .NET Core solution.
Currently only SharePoint Online CSOM support for .NET Core (SharePoint On-Premise didn't support) , please check this blog:
For detailed information, please refer this blog:
.NET Standard version of SharePoint Online CSOM APIs
If you are using SharePoint Online, then install the CSOM from Nuget like this:
Microsoft.SharePointOnline.CSOM 16.1.20211.12000
Thanks
Best Regards
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.