Hamlib/bindings/csharp/multicast
Michael Black W9MDB 70708fdf7f Update multicast.csproj to use .net 8 2024-12-25 22:53:34 -06:00
..
PLAN.txt
README.txt Fix typos 2024-12-01 21:59:11 +01:00
multicast.cs
multicast.csproj Update multicast.csproj to use .net 8 2024-12-25 22:53:34 -06:00
test.json

README.txt

Works on Windows and Linux

Requires you get dotnet installed of course

For Windows install Visual Studio or such to get dotnet

On Ubuntu 21.04 it was this
apt install snap
apt install mono-complete
snap install dotnet-sdk --classic --channel=6.0
snap alias dotnet-sdk.dotnet dotnet
snap install dotnet-runtime-60 --classic
snap alias dotnet-runtime-60.dotnet dotnet
export DOTNET_ROOT=/snap/dotnet-sdk/current

Once dotnet is OK

dotnet build

You should then be able to run

./bin/Debug/net6.0/multicast

======================================================
Waiting for Net 7.0/8.0 to be in Ubuntu main packages
Following did not work

sudo apt remove 'dotnet*' 'aspnet*' 'netstandard*'
touch /etc/apt/preferences
// add to preferences
Package: dotnet* aspnet* netstandard*
Pin: origin "archive.ubuntu.com"
Pin-Priority: -10
// end preferences
snap remove dotnet-sdk
snap install dotnet-sdk --classic --channel=7.0
snap alias dotnet-runtime-70.dotnet dotnet