D2RSO icon indicating copy to clipboard operation
D2RSO copied to clipboard

Linux support

Open Trollwut opened this issue 3 years ago • 3 comments

Hey there! Awesome project idea! :)

I understand that this won't be an official thing, but maybe someone else sees this project and has the skills to make it available for Linux.

I don't have much C# experience for Linux, but for reference:

 msbuild D2RSO.csproj
Microsoft (R) Build Engine version 16.10.1 for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 10/12/2021 3:19:13 PM.
Project "/home/trollwut/Projects/D2RSO/D2RSO/D2RSO.csproj" on node 1 (default targets).
/usr/lib/mono/msbuild/Current/bin/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(93,5): error NETSDK1013: The TargetFramework value 'net5.0-windows' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. [/home/trollwut/Projects/D2RSO/D2RSO/D2RSO.csproj]
Done Building Project "/home/trollwut/Projects/D2RSO/D2RSO/D2RSO.csproj" (default targets) -- FAILED.

Build FAILED.

"/home/trollwut/Projects/D2RSO/D2RSO/D2RSO.csproj" (default target) (1) ->
(_CheckForUnsupportedTargetFramework target) ->
  /usr/lib/mono/msbuild/Current/bin/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(93,5): error NETSDK1013: The TargetFramework value 'net5.0-windows' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. [/home/trollwut/Projects/D2RSO/D2RSO/D2RSO.csproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.35

Trollwut avatar Oct 12 '21 13:10 Trollwut

Thanks. Unfortunately .NET 5 only supports console apps under Linux. But MS announced new MAUI platform to be available somewhere near the Nov 21 which will support cross-platform UI. So fingers crossed, it might be available on Linux and Mac soon.

panthernet avatar Oct 12 '21 17:10 panthernet

Thanks for the insights! So I'll just wait a month and see if it's achieveable :)

Trollwut avatar Oct 13 '21 00:10 Trollwut

There is no linux support currently in maui

liugangnhm avatar Oct 14 '21 10:10 liugangnhm