Open truufseir opened 2 months ago
It looks like you're trying to build the code using the Windows Subsystem for Linux, which is unnecessary. You'll need to download and install the .NET SDK package for windows, and then run the dotnet commands from a regular powershell or command prompt. You can find the SDK here -> https://dotnet.microsoft.com/en-us/download/dotnet/8.0
blokhype@DESKTOP-S1BDRCB:~/SIM7600G-H-Serial-Audio/CellDialer/CellDialer$ /home/blokhype/.dotnet/dotnet build 'SIM7600G-H Modem Tool.csproj' --os windows Determining projects to restore... /home/blokhype/.dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'windows-x64' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/blokhype/SIM7600G-H-Serial-Audio/CellDialer/CellDialer/SIM7600G-H Modem Tool.csproj] /home/blokhype/.dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'windows-x64' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/blokhype/SIM7600G-H-Serial-Audio/CellDialer/CellDialer/SIM7600G-H Modem Tool.csproj] /home/blokhype/.dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'windows-x64' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/blokhype/SIM7600G-H-Serial-Audio/CellDialer/CellDialer/SIM7600G-H Modem Tool.csproj] /home/blokhype/.dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'windows-x64' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/blokhype/SIM7600G-H-Serial-Audio/CellDialer/CellDialer/SIM7600G-H Modem Tool.csproj]
Build FAILED.
/home/blokhype/.dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'windows-x64' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/blokhype/SIM7600G-H-Serial-Audio/CellDialer/CellDialer/SIM7600G-H Modem Tool.csproj] /home/blokhype/.dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'windows-x64' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/blokhype/SIM7600G-H-Serial-Audio/CellDialer/CellDialer/SIM7600G-H Modem Tool.csproj] /home/blokhype/.dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'windows-x64' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/blokhype/SIM7600G-H-Serial-Audio/CellDialer/CellDialer/SIM7600G-H Modem Tool.csproj] /home/blokhype/.dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'windows-x64' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/blokhype/SIM7600G-H-Serial-Audio/CellDialer/CellDialer/SIM7600G-H Modem Tool.csproj] 0 Warning(s) 4 Error(s)
Time Elapsed 00:00:00.25 blokhype@DESKTOP-S1BDRCB:~/SIM7600G-H-Serial-Audio/CellDialer/CellDialer$