Modding Help Modding using MacOs (without .NET Framework)

Discussion in 'Mods' started by Drusyc, May 1, 2019.

  1. Drusyc

    Drusyc Space Hobo

    Hi there,

    (Sorry if this question is arealdy addressed somewhere else, I did not find it anywhere.)

    Big fan of Stardew, big fan of modding, I want to contribute for the community and adding some new features.
    However, for personnal purpose, I have to play on a MacOs X for a while.

    So I've started following the Modder Guide, but I notice that the required target framework for modding is ".NET Framework 4.5, 4.5.1, or 4.5.2" for best compatibility.
    But, .NET Framework is Windows-based only, and is not available for MacOS (see Download .NET page).

    Only available for MacOs (to date) is ".NET Core 2.2" which is the cross-platform version of .NET.

    My question is: can I still make mods using .net core 2.2?
    What are the compatibilities restriction between .net core 2.2 and .NET Framework 4.5+ ?

    If Stardew is running that well on MacOs right now, isn't it because it does not have too many Windows

    EDIT:
    Even if I keep going with the target framework set to ".net core 2.2", I have a build error when I try to add the package "Pathoschild.Stardew.ModBuildConfig".
    Apparently this package depends on a file called "Microsoft.Build.Utilities.v4.0" that is part of .NET Framework 4.x.
    Seems harder than expected.​

    MacOS version: 10.14.3
    dotnet version: 2.2.106
    Mono JIT compiler version: 5.18.1.3
    Visual Code version: 1.33.1

    Thank you for your answers!

    Best,
    Thomas
     
      Last edited: May 1, 2019
    • hatmouse

      hatmouse Phantasmal Quasar

    • Drusyc

      Drusyc Space Hobo

      Hello hatmouse,
      This is totally right, the tutorial and guide suggest to use Visual Studio and not only VS Code. It is just that I am 'over' used to VS Code :)
      Unfortunately, this does not solve the incompatibility problem between MacOS and .NET Framework, which is required to mod in SMAPI.

      Thank you for your comment :)

      Best,
      Thomas
       
      • Pathoschild

        Pathoschild Tiy's Beard

        The SMAPI modding guide covers MacOS too. You'll be using Mono instead, a MacOS-compatible implementation of .NET Framework.
         

        Share This Page