Building .NET nanoFramework - WIN32
⚠️ NOTE about the need to build .NET nanoFramework firmware ⚠️
You only need to build it if you plan to debug the CLR, interpreter, execution engine, drivers, add new targets or add new features at native level. If your goal is to code in C# you just have to flash your MCU with the appropriate firmware image using nanoff. There are available ready to flash firmware images for several targets, please check the Home repository.
The WIN32 version is meant to be used for high level debugging, feature testing and Unit Testing for other projects. It's a VC++ solution which can be build using Visual Studio.
Building
Clone the
nf-interpreter
repository.Open
targets\win32\nanoCLR.sln
solution with VS.Build the solution.
Make sure
nanoCLR
is the start project.Use either directly from the command line or starting a debug session.
To load assemblies use the following syntax:
-load <path-to-the-PE-file-1> -load <path-to-the-PE-file-2> ...