soulsmods / DSMapStudio

A standalone map/level editor for Demon's Souls, Dark Souls 1/2/3, Bloodborne, Sekiro, and Elden Ring.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make in runable on linux

DNDEBUG opened this issue Β· comments

right now DSMapStudio requires .NET Desktop runtime (Microsoft.WindowsDesktop.App)
and it is windows only
while linux only has Microsoft.AspNetCore.App or Microsoft.NETCore.App
or that mono thing
πŸ™

looks like it may be possible to compile on linux
i don't know how




dotnet build
MSBuild version 17.4.1+9a89d02ff for .NET
/tmp/DSMapStudio/StudioCore/StudioCore.csproj : warning : The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
/tmp/DSMapStudio/StudioCore/StudioCore.csproj : warning NU1503: Skipping restore for project '/tmp/DSMapStudio/StudioCore/StudioCore.csproj'. The project file may be invalid or missing targets required for restore. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/DSMapStudio/DSMapStudio.csproj : warning NU1503: Skipping restore for project '/tmp/DSMapStudio/DSMapStudio/DSMapStudio.csproj'. The project file may be invalid or missing targets required for restore. [/tmp/DSMapStudio/DSMapStudio.sln]
   Determining projects to restore...
/tmp/DSMapStudio/HKX2/HKX2.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/FSParam/FSParam.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/AddChr/AddChr.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/SoulsFormats/SoulsFormats/SoulsFormats.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version= v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0 -windows7.0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/HKXClassGen/HKXClassGen.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/ColBakeTest/ColBakeTest.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/HKX2ReadWrite/HKX2ReadWrite.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
   All projects are up-to-date for restore.
/tmp/DSMapStudio/DSMapStudio/DSMapStudio.csproj : error MSB4236: The specified SDK 'Microsoft.NET.Sdk.WindowsDesktop' could not be found.
/tmp/DSMapStudio/StudioCore/StudioCore.csproj : warning : The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
/tmp/DSMapStudio/StudioCore/StudioCore.csproj : error MSB4236: The specified SDK 'Microsoft.NET.Sdk.WindowsDesktop' could not be found.
/tmp/DSMapStudio/SoulsFormats/SoulsFormats/SoulsFormats.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version= v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0 -windows7.0'. Thispackage may not be fully compatible with your project.
   Veldrid.RenderDoc -> /tmp/DSMapStudio/Veldrid.RenderDoc/bin/Debug/netstandard2.0/Veldrid.RenderDoc.dll
   SoulsFormats -> /tmp/DSMapStudio/SoulsFormats/SoulsFormats/bin/Debug/net7.0-windows/SoulsFormats.dll
   Veldrid.SDL2 -> /tmp/DSMapStudio/Veldrid.SDL2/bin/Debug/netstandard2.0/Veldrid.SDL2.dll
/tmp/DSMapStudio/HKX2ReadWrite/HKX2ReadWrite.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/ColBakeTest/ColBakeTest.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/HKX2/HKX2.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/HKXClassGen/HKXClassGen.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/AddChr/AddChr.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/FSParam/FSParam.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project.
   HKXClassGen -> /tmp/DSMapStudio/HKXClassGen/bin/Debug/net7.0-windows/HKXClassGen.dll
   Veldrid -> /tmp/DSMapStudio/Veldrid/bin/Debug/net7.0-windows/Veldrid.dll
   HKX2 -> /tmp/DSMapStudio/HKX2/bin/Debug/net7.0-windows/HKX2.dll
   AddChr -> /tmp/DSMapStudio/AddChr/bin/Debug/net7.0-windows/AddChr.dll
   Veldrid.StartupUtilities -> /tmp/DSMapStudio/Veldrid.StartupUtilities/bin/Debug/net7.0-windows/Veldrid.StartupUtilities.dll
   Veldrid.Utilities -> /tmp/DSMapStudio/Veldrid.Utilities/bin/Debug/net7.0-windows/Veldrid.Utilities.dll
   SoapstoneLib -> /tmp/DSMapStudio/SoapstoneLib/SoapstoneLib/bin/Debug/net7.0/SoapstoneLib.dll
   Veldrid.ImGui -> /tmp/DSMapStudio/Veldrid.ImGui/bin/Debug/net7.0-windows/Veldrid.ImGui.dll
   Veldrid.SPIRV -> /tmp/DSMapStudio/Veldrid.SPIRV/bin/Debug/net7.0-windows/Veldrid.SPIRV.dll
   StudioUtils -> /tmp/DSMapStudio/StudioUtils/bin/Debug/net7.0/StudioUtils.dll
   HKX2ReadWrite -> /tmp/DSMapStudio/HKX2ReadWrite/bin/Debug/net7.0-windows/HKX2ReadWrite.dll
   Veldrid.SPIRV.VariantCompiler -> /tmp/DSMapStudio/Veldrid.SPIRV.VariantCompiler/bin/Debug/net7.0-windows/Veldrid.SPIRV.VariantCompiler.dll
   ColBakeTest -> /tmp/DSMapStudio/ColBakeTest/bin/Debug/net7.0-windows/ColBakeTest.dll
   Veldrid.SPIRV.VariantCompiler -> /tmp/DSMapStudio/Veldrid.SPIRV.VariantCompiler/bin/Debug/net7.0-windows/publish/
   FSParam -> /tmp/DSMapStudio/FSParam/bin/Debug/net7.0-windows/FSParam.dll

Compilation FAILURE.

/tmp/DSMapStudio/StudioCore/StudioCore.csproj : warning : The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
/tmp/DSMapStudio/StudioCore/StudioCore.csproj : warning NU1503: Skipping restore for project '/tmp/DSMapStudio/StudioCore/StudioCore.csproj'. The project file may be invalid or missing targets required for restore. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/DSMapStudio/DSMapStudio.csproj : warning NU1503: Skipping restore for project '/tmp/DSMapStudio/DSMapStudio/DSMapStudio.csproj'. The project file may be in
valid or missing targets required for restore. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/HKX2/HKX2.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/FSParam/FSParam.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/AddChr/AddChr.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/SoulsFormats/SoulsFormats/SoulsFormats.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version= v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0 -windows7.0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/HKXClassGen/HKXClassGen.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/ColBakeTest/ColBakeTest.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/HKX2ReadWrite/HKX2ReadWrite.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project. [/tmp/DSMapStudio/DSMapStudio.sln]
/tmp/DSMapStudio/StudioCore/StudioCore.csproj : warning : The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
/tmp/DSMapStudio/SoulsFormats/SoulsFormats/SoulsFormats.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version= v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0 -windows7.0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/HKX2ReadWrite/HKX2ReadWrite.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/ColBakeTest/ColBakeTest.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/HKX2/HKX2.csproj : warning NU1701: Package 'BouncyCastle1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4 .7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7.0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/HKXClassGen/HKXClassGen.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/AddChr/AddChr.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/FSParam/FSParam.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4. 7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0-windows7 .0'. This package may not be fully compatible with your project.
/tmp/DSMapStudio/DSMapStudio/DSMapStudio.csproj : error MSB4236: The specified SDK 'Microsoft.NET.Sdk.WindowsDesktop' could not be found.
/tmp/DSMapStudio/StudioCore/StudioCore.csproj : error MSB4236: The specified SDK 'Microsoft.NET.Sdk.WindowsDesktop' could not be found.
     18 Notice(s)
     2 error(s)

Elapsed Time 00:00:03.71

no its no

This has been solved since migrating from winforms. Desktop runtime is no longer required and the program is now a self-contained executable so it runs under wine. Building on linux should in theory also work.