![]() |
VOOZH | about |
dotnet add package nanoFramework.CoreLibrary --version 1.17.11
NuGet\Install-Package nanoFramework.CoreLibrary -Version 1.17.11
<PackageReference Include="nanoFramework.CoreLibrary" Version="1.17.11" />
<PackageVersion Include="nanoFramework.CoreLibrary" Version="1.17.11" />Directory.Packages.props
<PackageReference Include="nanoFramework.CoreLibrary" />Project file
paket add nanoFramework.CoreLibrary --version 1.17.11
#r "nuget: nanoFramework.CoreLibrary, 1.17.11"
#:package nanoFramework.CoreLibrary@1.17.11
#addin nuget:?package=nanoFramework.CoreLibrary&version=1.17.11Install as a Cake Addin
#tool nuget:?package=nanoFramework.CoreLibrary&version=1.17.11Install as a Cake Tool
👁 Quality Gate Status
👁 Reliability Rating
👁 NuGet
👁 #yourfirstpr
👁 Discord
| Component | Build Status | NuGet Package |
|---|---|---|
| Base Class Library | 👁 Build Status |
👁 NuGet |
| Base Class Library w/o reflection | 👁 Build Status |
👁 NuGet |
The .NET nanoFramework Base Class Library is provided in two flavours: with or without support for System.Reflection namespace. The reason for this is that the reflection API adds up a significant size to the DLL and image size. For targets with smaller flash this can be prohibitive.
nanoFramework has a dedicated Unit Test framework. This repository has Unit Test and you will find all of them under the Tests folder. The main solution embed all all the tests as well. You can run them directly from Visual Studio and create new tests. For more information on the Unit Test Framework.
CoreLibrary has specific needs that differ from what you'll find in the documentation:
You can then run the test either on a real device, either in the emulator as described in the documentation. You may have to manually flash your device for the mscorlib version to match the one you are building on.
Important: Any new code checked in this repository will have to:
All the projects are referenced based and to be able to run the tests in the pipeline, in command line and in Visual Studio, it does require a specific structure:
NFUnitTestAdapter project must be present and untouched. It does contains the core elements needed to have the nanoCLR Win32 application present.nano.runsettings file in each sub directory you want to run the tests on from Visual StudioDeveloper Command Prompt for VS 2019 then you can use from the home cloned lib-CoreLibrary directory a command line like this one:vstest.console.exe .\Tests\NFUnitTestBitConverter\bin\Release\NFUnitTest.dll /Settings:.\Tests\NFUnitTestAdapater\nano.runsettings /TestAdapterPath:.\nanoFramework.TestFramework\source\TestAdapter\bin\Debug\net4.8 /Diag:.\log.txt /Logger:trx
Notes:
For documentation, providing feedback, issues and finding out how to contribute please refer to the Home repo.
Join our Discord community here.
The list of contributors to this project can be found at CONTRIBUTORS.
The nanoFramework Class Libraries are licensed under the .
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community. For more information see the .NET Foundation Code of Conduct.
This project is supported by the .NET Foundation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net net is compatible. |
This package has no dependencies.
Showing the top 5 NuGet packages that depend on nanoFramework.CoreLibrary:
| Package | Downloads |
|---|---|
|
nanoFramework.Runtime.Events
This package includes the nanoFramework.Runtime.Events assembly for nanoFramework C# projects. This package requires a target with nanoFramework.Runtime.Events v100.2.0.1 (checksum 0x825875FF). |
|
|
nanoFramework.System.Device.I2c
This package includes the System.Device.I2c assembly for nanoFramework C# projects. This package requires a target with System.Device.I2c v100.2.0.1 (checksum 0xACDDB100). |
|
|
nanoFramework.System.Math
This package includes the nanoFramework.System.Math assembly for .NET nanoFramework C# projects. This package requires a target with System.Math v100.2.0.1 (checksum 0x5FEF7548). |
|
|
nanoFramework.System.Text
This package includes the System.Text assembly for nanoFramework C# projects. This package requires a target with System.Text v100.2.0.1 (checksum 0x86EC2A29). |
|
|
nanoFramework.System.Device.Gpio
This package includes the System.Device.Gpio assembly for .NET nanoFramework C# projects. This package requires a target with System.Device.Gpio v100.2.0.1 (checksum 0xDE01CEA1). |
Showing the top 6 popular GitHub repositories that depend on nanoFramework.CoreLibrary:
| Repository | Stars |
|---|---|
|
dotnet/samples
Sample code referenced by the .NET documentation
|
|
|
angularsen/UnitsNet
Makes life working with units of measurement just a little bit better.
|
|
|
nanoframework/Samples
🍬 Code samples from the nanoFramework team used in testing, proof of concepts and other explorational endeavours
|
|
|
Azure/amqpnetlite
AMQP 1.0 .NET Library
|
|
|
nanoframework/nanoFramework.IoT.Device
📦 This repo includes .NET nanoFramework implementations for various sensors, chips, displays, hats and drivers
|
|
|
nanoframework/nanoFramework.M5Stack
📦 Board support package for M5Stack, M5StickC and M5StickCPlus for .NET nanoFramework
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-preview.52 | 4,227 | 5/25/2026 |
| 2.0.0-preview.49 | 4,842 | 5/8/2026 |
| 2.0.0-preview.43 | 2,435 | 4/27/2026 |
| 2.0.0-preview.39 | 1,233 | 4/16/2026 |
| 2.0.0-preview.35 | 2,478 | 1/14/2026 |
| 2.0.0-preview.33 | 439 | 1/8/2026 |
| 2.0.0-preview.32 | 319 | 1/6/2026 |
| 2.0.0-preview.30 | 797 | 12/12/2025 |
| 2.0.0-preview.29 | 736 | 12/6/2025 |
| 2.0.0-preview.28 | 180 | 12/5/2025 |
| 2.0.0-preview.20 | 359 | 11/6/2025 |
| 2.0.0-preview.18 | 185 | 9/27/2025 |
| 2.0.0-preview.17 | 267 | 9/25/2025 |
| 2.0.0-preview.9 | 220 | 9/11/2025 |
| 2.0.0-preview.6 | 519 | 4/30/2025 |
| 2.0.0-preview.4 | 350 | 4/21/2025 |
| 1.17.11 | 89,703 | 4/2/2025 |
| 1.17.7 | 23,654 | 3/10/2025 |
| 1.17.1 | 35,297 | 2/25/2025 |