Closed beefsan closed 11 months ago
Oh! Cool. Thanks for contributing with my project! I'll pin this issue so people can figure out how to run on Mac.
I can probably update the project and change net7.0-windows10.0.19041.0 to net7.0. Having the Windows tag was something required for the .NET MAUI version of the project which have been replaced with Avalonia for better multiplatform support.
EDIT: I've bumped up versions of all tools used to build this software, including .NET 7 -> .NET 8; Keep that in mind when if building any commit since 2.0.0 experimental Avalonia release.
I'm able to run this on my M1 but it should be doable on Intel(I'm not very tech savvy outside troubleshooting basics and navigating)
Steps:
Download the file from Particle’s GitHub [(https://github.com/Particle1904/DatasetHelpers/releases)] (Source code zip)
Download the required dependencies [https://dotnet.microsoft.com/en-us/download/dotnet/7.0] (I don’t believe c++ is needed for it to run on Mac but I’m not positive. I used visual studio code with the c# plugin but was able to setup and run in terminal)
Go to: SmartData.Lib folder and open SmartData.Lib.csproj with Textedit 3 sentences down Delete ;net7.0-windows10.0.19041.0 It should look like this:
Go to the folder DatasetProcessor.Desktop
Right click: New Terminal at Folder
Paste dotnet build /restore /t:build /p:TargetFramework=net7.0 /p:Configuration=Release /p:Platform=x64 /p:PublishSingleFile=true /p:PublishTrimmed=false /p:RuntimeIdentifier=osx-x64 (You should see Build succeeded. 0 Warning(s) 0 Error(s)
When you want to run the app open the terminal from the DatasetProcessor.Desktop folder and type: dotnet run
(I use visual studio code Version: 1.84.2)
Thanks for such a great set of tools!