Mal.Mdk2.References 2.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Mal.Mdk2.References --version 2.2.2                
NuGet\Install-Package Mal.Mdk2.References -Version 2.2.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mal.Mdk2.References" Version="2.2.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mal.Mdk2.References --version 2.2.2                
#r "nuget: Mal.Mdk2.References, 2.2.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Mal.Mdk2.References as a Cake Addin
#addin nuget:?package=Mal.Mdk2.References&version=2.2.2

// Install Mal.Mdk2.References as a Cake Tool
#tool nuget:?package=Mal.Mdk2.References&version=2.2.2                

MDK References


Note: It does seem like VS2022 is required for stable performance. However this is unconfirmed.

The game Space Engineers (by Keen Software House, no affiliation) supports scripting and modding using the C# language. This package aims to automatically detect the location of the Space Engineers installation, and referencing the assembly DLLs required to write scripts and mods.

This package is part of the MDK2 project.


Usage:

Simply reference the nuget package in your mod project. It should automatically do its thing.

Copying DLLs locally

By default, the assemblies are referenced directly from their location in the Space Engineers game installation folder. If you want to run unit tests, you will need to have those assemblies copied locally. To do so, add the following to the initial PropertyGroup in your project file:

 <SpaceEngineersBinCopyLocal>true</SpaceEngineersBinCopyLocal>

Keep in mind: These assemblies belong to Keen Software House. You are not allowed to pack and redistribute these dlls, this is the entire reason why this package exist to automate their reference for you.

Overriding the binary path

To manually specify where to get the Space Engineers binaries from, add a file named <projectname>.mdk.local.ini to the project directory. For example; if your project is named MyMod, the file should be named MyMod.mdk.local.ini. In this file, add the following line:

[mdk]
binarypath = C:\Path\To\SpaceEngineers\Bin

Note: Make sure you add this file to your .gitignore file, or any other version control ignore file you use. The binary path is usually different for each developer. If, against all odds, this does not apply to you, you should use the file name pattern <projectname>.mdk.ini instead.


Disclaimer:

These tools are an independent creation and is not endorsed, sponsored, nor affiliated with Keen Software House. "Space Engineers" is a trademark of Keen Software House. All trademarks and copyrights used are properties of their respective owners. The use of "Space Engineers" in these tools is for reference purposes only and does not imply any association or endorsement.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.3 1,504 7/7/2024
2.2.2 1,090 5/27/2024
2.2.1 138 5/25/2024
2.1.9 563 11/19/2023
2.1.9-alpha1 120 11/19/2023
2.1.8 130 11/19/2023
2.1.8-alpha1 117 11/18/2023
2.1.7 128 11/18/2023
2.1.6 206 11/18/2023
2.1.5 179 11/17/2023
2.1.4 202 11/17/2023

v.2.2.2
- Some numbnuts (me) forgot to move the OS type check below the local binarypath override.

v.2.2.1
- Binary directory can now be overridden by the MDK2 ini file(s)

v.2.1.9
- Package didn't work properly in Visual Studio

v.2.1.8
- Added missing assembly
- Attempt at fixing strange integer overflow error

v.2.1.7
- Fixed harmless warnings

v.2.1.6
- Fixed bad heading in the readme.md

v.2.1.5
- Fixed SpaceEngineersBinCopyLocal not working

v.2.1.4
- Legal crap, version parity

v.1.0.0
- Initial release