Useful References:
- Deploy .NET apps to ARM single-board computers - .NET | Microsoft Learn
- Debug .NET apps on ARM single-board computers - .NET | Microsoft Learn
Follow Raspberry Pi setup instructions found at: Other Platforms
The vsdbg directory is created under .epnet but it is empty. NET 8 (8.0.303) installs ok.
*Notes:
- There is an updated linux-arm64 SDK (8.0.308) but I am not sure if this is compatible with Endpoint “dotnet sdk check”).
- Deploying the .NET SDK using Deploy .NET apps to ARM single-board computers - .NET | Microsoft Learn is not “seen” by Endpoint and the application will not deploy from Visual Studio 2022. dotnet --version with Raspberry Pi does return the SDK. This deployment does install in a different location to the Endpoint Config app. The Endpoint scripts may have hard coded paths.*
If Endpoint Config “hangs” during the download of vsdbg then close the application and re-open it and repeat the Install .NET. I have no information to share on why this is occurring.
To fix the vsdbg install run the following on the Raspberry Pi:
curl -sSL https://aka.ms/getvsdbgsh | /bin/sh /dev/stdin -v latest -l ~/.epnet/vsdbg
From here everything works as per usual Endpoint Raspberry Pi as documented.
Happy coding .