I have a web app that is based on .NET 3.1. I attempted to use Mono, but it returned an error that reads:
Can't find custom attr constructor image: /usr/home/ninjagpt/e5/XXXXXX.dll mtoken: 0x0a00000a due to: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.Core, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies.
Could not load signature of XXXXXX.Program:CreateHostBuilder due to: Could not load file or assembly 'Microsoft.Extensions.Hosting.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies.
Afterward, I found a version of .NET Core 3.1.103 for FreeBSD available at this link, and I downloaded it. However, when I tried to use it to run my app, it returned the following error:
Failed to create CoreCLR, HRESULT: 0x8007000E
I also tried executing the following command:
cpuset -l 0 ~/dotnet/dotnet ~/XX/XXXXXX.dll
But it returned another error:
Unhandled exception. System.IO.IOException: Too many open files
Could you please help me figure out how to run this on Serv00? I appreciate your assistance. Thank you.