Morgan's CLR Advanced Runtime is a set of functions, extensions, and modules that I have found useful throughout my years of experience with .Net languages, particularly with Visual Basic. It aims to add features that are not easily available in .Net Framework, and also adds controls, windows, resources, and other utility objects.


Keywords
async, extension, helper, mcart, network, runtime, security, api, gtk, mono, win32, wpf
License
MIT
Install
Install-Package TheXDS.MCART -Version 0.18.0-alpha.9

Documentation

MCART

CodeFactor codecov Build MCART Publish MCART Issues MIT Ask DeepWiki

Introduction

MCART is a set of functions, extensions, and modules that I have found useful throughout my years of experience with .Net languages, particularly with Visual Basic. It aims to add features that are not easily available in the .Net Framework, and also adds controls, windows, resources, and other utility objects.

Currently, it is in a very early Alpha phase, so it may have bugs or serious performance issues. I have put a lot of effort into maintaining functional code and, hopefully, free of obvious errors. However, I cannot guarantee that MCART can be used in a software package in its current state.

Project Composition

MCART consists of several projects, and different shared code projects across platforms. Here lies the root of most features that can work in different CIL environments. The functionality has been tested with .Net 6.0; which should be sufficient to create applications based on Win32, WPF, Gtk#, console, and even websites developed in ASP .Net.

Releases

MCART is available on NuGet.

Release Link
Latest stable version: Stable Version
Latest development version: Development version

Package Manager

Install-Package TheXDS.MCART

.NET CLI

dotnet add package TheXDS.MCART

Paket CLI

paket add TheXDS.MCART

Package reference

<PackageReference Include="TheXDS.MCART" Version="0.18.0" />

Compilation

To compile MCART, the SDK for .NET 8.0 or a later version with a targeting pack for .NET 8.0 must be installed on the system.

Compiling MCART

dotnet build ./src/MCART.sln

The binaries will be found in the Build folder at the root of the repository.

Executing tests

dotnet test ./src/MCART.sln

Coverage Report

It is possible to obtain a local code coverage report. To do this, it is necessary to install ReportGenerator, which will read the results of the test execution and generate a web page with the coverage results.

To install ReportGenerator, run:

dotnet tool install -g dotnet-reportgenerator-globaltool

After installing ReportGenerator, it will be possible to run the following command:

dotnet test ./src/MCART.sln --collect:"XPlat Code Coverage" --results-directory:./Build/Tests ; reportgenerator.exe -reports:./Build/Tests/*/coverage.cobertura.xml -targetdir:./Build/Coverage/

The coverage results will be stored in ./Build/Coverage

Contribute

ko-fi

If MCART has been useful to you, or if you are interested in donating to support the development of the project, feel free to make a donation via PayPal, Ko-fi, or contact me directly.

Unfortunately, I cannot offer other means of donation at the moment because my country (Honduras) is not supported by any platform.