Mal.Mdk2.PbPackager 2.0.10

There is a newer version of this package available.
See the version list below for details.
dotnet add package Mal.Mdk2.PbPackager --version 2.0.10                
NuGet\Install-Package Mal.Mdk2.PbPackager -Version 2.0.10                
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.PbPackager" Version="2.0.10">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mal.Mdk2.PbPackager --version 2.0.10                
#r "nuget: Mal.Mdk2.PbPackager, 2.0.10"                
#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.PbPackager as a Cake Addin
#addin nuget:?package=Mal.Mdk2.PbPackager&version=2.0.10

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

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 the Debug 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 to Release. You can either specify your own configuration, or you can set it to all 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 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.
  • .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 110 11/10/2024
2.0.13 984 10/5/2024
2.0.11 236 9/29/2024
2.0.10 117 9/28/2024
2.0.9 137 9/22/2024
2.0.8 198 8/31/2024
2.0.7 269 7/22/2024
2.0.6 945 7/21/2024
2.0.5 373 7/7/2024
2.0.4 361 6/22/2024
2.0.3 120 6/22/2024
2.0.2 228 6/9/2024
2.0.1 309 5/25/2024
2.0.0 247 5/13/2024
2.0.0-alpha073 194 4/28/2024
2.0.0-alpha062 197 4/14/2024
2.0.0-alpha054 178 3/31/2024
2.0.0-alpha052 129 3/30/2024
2.0.0-alpha051 123 3/28/2024
2.0.0-alpha032 175 3/10/2024
2.0.0-alpha031 142 3/4/2024
2.0.0-alpha030 116 3/3/2024
2.0.0-alpha028 94 3/2/2024
2.0.0-alpha027 99 3/2/2024

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.