how i can compile VPService projet with dotnet in the jetson nano (arm64)?

As you explain in https://doc.developer.milestonesys.com/html/samples/VPService_sample.html we need dotnet 2.1 (not compatible with arm64)?

do you have any idea how i can do this?

i try to compile the projetc with dotnet 3.1 but aspnet in the project is 2.1.1, i made many changes but i can’t do make run

have you any solution please ??

Hi. I’ve just tried to retarget VPService.proj to .NetCore 3.1 and besides having to use Visual Studio 2019 I didn’t have any problems and the change ended up in just one line of project file:

netcoreapp3.1

Granted all this works on Windows. I will try to get my hands on Jetson Nano to try it out as well.

Thanks for you response, within visual studio that work fine, but over linux ARM64, it doesn’t work,

i’am witing for your response within arm64 linux (jetson nano)

Hi.

So I’ve looked a bit there is a number of steps required to convert ASP.Net Core 2.1 to 3.1:

https://docs.microsoft.com/en-us/aspnet/core/migration/21-to-22?view=aspnetcore-3.1&tabs=visual-studio

Instead I’ve decided to just make a new solution form scratch and copy the sample code into the new project. After changing a few obsolete lines I was able to build and run VPService on JetsonNano.

Next problem was loading VpsCommon.dll. And no matter what I tried I couldn’t get the dll to load in the service. Since it’s only a handful of classes that define the interface between driver and service, I just included those files in the project.

Attached you should find a working VPService, just copy it into the directory from our sample and make and make run.