Mal.Mdk2.PbPackager
2.0.14
dotnet add package Mal.Mdk2.PbPackager --version 2.0.14
NuGet\Install-Package Mal.Mdk2.PbPackager -Version 2.0.14
<PackageReference Include="Mal.Mdk2.PbPackager" Version="2.0.14"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Mal.Mdk2.PbPackager --version 2.0.14
#r "nuget: Mal.Mdk2.PbPackager, 2.0.14"
// Install Mal.Mdk2.PbPackager as a Cake Addin #addin nuget:?package=Mal.Mdk2.PbPackager&version=2.0.14 // Install Mal.Mdk2.PbPackager as a Cake Tool #tool nuget:?package=Mal.Mdk2.PbPackager&version=2.0.14
MDK Analyzers
The game Space Engineers (by Keen Software House, no affiliation) supports scripting and modding using the C# language. This project allows scripters to use full projects for their scripts, with separate code files and mixin (shared project) libraries, by reading the projects and compiling them into a single script file the game can use.
This package is part of the MDK2 project.
Usage:
Usage description pending: This is an emergency release due to the problems with MDK1 and the latest Visual Studio 2022 version. A more detailed description will be added later.
Important options:
Currently, modifying the options is a little bit cumbersome.
Right-click your project file in the solution explorer, and select "Unload Project". The project file should open in the editor. If it doesn't, right-click the project file and select "Edit Project File".
Make sure your input caret is at the very top of the file (ctrl+home
), and press ctrl+f
. Type in </PropertyG.
It should now highlight an end tag </PropertyGroup>
. This is the end of the first property group and where we will
add our options.
By default, MDK shows an informational bar at the bottom of the window, and will prompt you for input.
<MdkInteractive>no</MdkInteractive>
- This option will disable the interactive mode, and will switch off the informational bar at the bottom of the window. This is useful for CI/CD systems, or if you just don't want to be bothered by it.By default, MDK will only pack the project if you have selected the
Release
configuration, and not theDebug
configuration.<MdkBuildConfiguration>all</MdkBuildConfiguration>
- This option will allow you to specify at which configuration the packager should build the project. By default, this is set toRelease
. You can either specify your own configuration, or you can set it toall
to build all configurations.
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 | Versions 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. |
-
.NETStandard 2.0
- No dependencies.
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.0.14 | 214 | 11/10/2024 |
2.0.13 | 1,143 | 10/5/2024 |
2.0.11 | 241 | 9/29/2024 |
2.0.10 | 119 | 9/28/2024 |
2.0.9 | 139 | 9/22/2024 |
2.0.8 | 200 | 8/31/2024 |
2.0.7 | 271 | 7/22/2024 |
2.0.6 | 953 | 7/21/2024 |
2.0.5 | 375 | 7/7/2024 |
2.0.4 | 363 | 6/22/2024 |
2.0.3 | 122 | 6/22/2024 |
2.0.2 | 230 | 6/9/2024 |
2.0.1 | 311 | 5/25/2024 |
2.0.0 | 249 | 5/13/2024 |
2.0.0-alpha073 | 196 | 4/28/2024 |
2.0.0-alpha062 | 202 | 4/14/2024 |
2.0.0-alpha054 | 180 | 3/31/2024 |
2.0.0-alpha052 | 131 | 3/30/2024 |
2.0.0-alpha051 | 125 | 3/28/2024 |
2.0.0-alpha032 | 177 | 3/10/2024 |
2.0.0-alpha031 | 144 | 3/4/2024 |
2.0.0-alpha030 | 118 | 3/3/2024 |
2.0.0-alpha028 | 98 | 3/2/2024 |
2.0.0-alpha027 | 101 | 3/2/2024 |
v.2.0.14
- Fixed a problem where references to nested types would be replaced by a "var" by the minifier.
v.2.0.13
- Readded missing binaries
v.2.0.12
- Fixed test that failed due to missing references. Attempt to clean up files that shouldn't be committed.
- Update to gitignore
- Fixed a problem where object-initializing a generic type would cause a compile error after minification.
v.2.0.11
- Ignored documents were not always properly ignored in the project, which in certain rare cases could cause a
compile error.
v.2.0.10
- Fixed nuget version checks not working properly.
- Much improved qualified name handling in the minifier + leaving `var` as is.
v.2.0.9
- Fixed #40: missing MSBuild instance just crashing MDK rather than giving a meaningful error message.
- Fixed #42 verbatim variables was not renamed correctly in the minifier
v.2.0.8
- Added symbol map generation to trace mode to help with debugging minification issues.
- Fixed more problems with minifier not renaming things it should have and vice versa.
v.2.0.7
- Fixed a problem where the minifier replaced a `var` with an incorrect type reference. Now leaving `var` as is.
- Now removing `private` and `internal` access modifiers where they are redundant.
v.2.0.6
- Fixed a problem where a quirk in Roslyn behavior for indexers would cause a compile error after minification.
- Added the missing <mdk sortorder="#"/> feature.
v.2.0.5
- Package was not defined as a development dependency
v.2.0.4
- Reverted a convenience fix that caused more trouble than convenience...
v.2.0.3
- Fixed a problem where references to generic methods would not be renamed with the full minifier.
- Fixed a problem where delegates would not be renamed with the full minifier.
- Intermediate code files are now written to the \obj folder when trace is enabled.
v.2.0.2
- Fixed a problem where generic method declarations didn't get their generic parameters renamed with the full minifier.
- Fixed a problem where the full minifier did not rename catch clause variables
- Fixed a problem where the full minifier would rename references to protected symbols
v.2.0.1
- Simplified how project properties are defined and used as their complexity was unnecessary.
- Restore now checks the other packages for updates as well.
v.2.0.0
- Official release of MDK2 (Programmable Block Edition)
v.2.0.0-alpha073
- Minifiers Ahoy! (the two last major minifier components are now in place)
v.2.0.0-alpha072
- Fixed a bug where references to sub-namespaces would cause compile errors.
v.2.0.0-alpha061
- Fixed warning about unusable minifier
v.2.0.0-alpha060
- Wrong / confusing error message for a part of the minifier that isn't finished yet
v.2.0.0-alpha059
- Fixed type trimmer removing types it shouldn't have, and vice versa.
v.2.0.0-alpha058
- Fixed minifier specification being wrongly named in the package arguments (minifier instead of minify).
v.2.0.0-alpha057
- Fixed minifier specification being wrongly named in the MDK2 command line (minifier instead of minify).
v.2.0.0-alpha056
- Added the type trimmer minifier level to the MDK2 command line.
- Added the comment removal minifier level to the MDK2 command line.
v.2.0.0-alpha054
- Fixed an issue where the mdk2 .ini file ignores were made with ; as a separator rather than ,.
v.2.0.0-alpha052
- Added a warning if the final composed script exceeds the maximum allowed character count of the programmable block.
v.2.0.0-alpha051
- Final structure (I think) for MDK2 command line.
- Now notifying when new nuget packages are available (currently just Mal.MDK2.PbPackager).
- Changed to an .ini based configuration rather than an msbuild based one.
- Added an auto-migrator to add MDK2 support to MDK1 projects.
v.2.0.0-alpha1
- Emergency publish of a very early build due to the problems with MDK1 and the new version of Visual Studio 2022.
- This version is highly untested, and is missing the minifier.