nanoclr 1.0.685
dotnet tool install --global nanoclr --version 1.0.685
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local nanoclr --version 1.0.685
#tool dotnet:?package=nanoclr&version=1.0.685
nuke :add-package nanoclr --version 1.0.685
.NET nanoFramework nanoCLR
This .NET Core Tool allows running nanoCLR in Windows machines. This can be useful to have virtual devices for development purposes, performing automated tests on pipelines or other environments and other uses that benefit from having a virtual device opposed to real physical hardware. The virtual device can be accessed just like a real one through a virtual serial port, a named pipe or a TCP/IP port.
Is part of .NET nanoFramework toolbox, along with other various tools that are required in .NET nanoFramework development, usage or repository management.
Install .NET nanoFramework nanoCLR
Perform a one-time install of the .NET nanoFramework nanoCLR tool using the following .NET Core CLI command:
dotnet tool install -g nanoclr
After a successful installation a message is displayed showing the command that's to be used to call the tool along with the version installed. Similar to the following example:
You can invoke the tool using the following command: nanoff
Tool 'nanoclr' (version '9.9.9') was successfully installed.
Update .NET nanoFramework nanoCLR
To update .NET nanoFramework nanoCLR tool use the following .NET Core CLI command:
dotnet tool update -g nanoclr
Usage
Once the tool is installed, you can call it by using its command nanoclr
, which is a short version of the name to ease typing.
nanoclr [command] [args]
The tool includes help for all available commands. You can see a list of all available ones by entering:
nanoclr --help
Virtual Serial Ports
This verb allows managing the virtual serial port exposing the virtual device. The virtual serial port it's only available in Windows machines. It's made available with the sponsorship of HHD Software which has kindly sponsored a free license for running their tool.
List Virtual Serial ports
This command lists the installed virtual serial port bridges in the system.
nanoclr virtualserial --list
Create Virtual Serial port
This command creates a virtual serial port that will be used to expose the nanoCLR instance. A random COM port will be created. A COM port can be optionally specified as an option. In this case, if that COM port it's not being used, it will be created.
nanoclr virtualserial --create [COM99]
Remove Virtual Serial port
This command removes an existing virtual serial port.
nanoclr virtualserial --remove [COM99]
Install Virtual Serial Port tools
This command installs HHD Software Virtual Serial Port Tools software. The installer is downloaded from their website and executed. Executing the installer requires "Install Driver" privilege and must be elevated. If the process running it doesn't have the required permissions an UAC prompt will be show.
nanoclr virtualserial --install
Running the virtual nanoCLR
These options run the nanoCRL instance loading the specified assemblies and exposing the device on a specified interface. Please note that for successfully running a nanoCLR instance it's require to load a set of assemblies and specify an interface to expose it, otherwise it has no use.
Load a set of assemblies
This loads a set of .NET nanoFramework assemblies and runs the nanoCLR. These have to be in .NET nanoFramework PE (Portable Executable) format.
They are found in the output folder of a Visual Studio project (typically bin\Debug
or bin\Release
). Full path of the PE files is required.
nanoclr run --assemblies "C:\nano\my_nice_project\bin\Debug\mscorlib.pe" "C:\nano\my_nice_project\bin\Debug\my_nice_project.pe"
Specify Serial Port
This option specifies the COM port that will be used to expose the virtual nanoCLR that will be running. It requires a previous setup of a Virtual Serial Port (see Create Virtual Serial port).
nanoclr run --serialport COM99 (--assemblies ...)
Specify Named Pipe
This option specifies a Named Pipe that will be used to expose the virtual nanoCLR that will be running.
nanoclr run --namedpipe MyNanoDevice (--assemblies ...)
Resolve references
This option tries to resolve cross-assembly references between the loaded assemblies.
nanoclr run --resolve (--assemblies ...)
Options to control debugger connection
There are two options that control how the nanoCLR execution interacts with a debugger. If it's intended that after a program terminates and exits the execution a debugger will be connecting, the option --loopafterexit
should be included.
In case it's expected that imediatly after nanoCLR is started,a debugger is to connect to it, the option --waitfordebugger
should be included.
Maintenance operations with the nanoCLR
The nanoCLR it's, in fact, a wrapper to the nanoCLR instance that is distributed as DLL so it can be easily updated. The following operations are available to manage this.
Version of nanoCLR
Gets the version of the current nanoCLR instance.
nanoclr instance --getversion
Update nanoCLR instance
Checks for stable versions of nanoCLR and updates it, if there is one. A version can be specified. To check preview versions add the --preview
option.
nanoclr instance --update [--preview] [--clrversion 1.22.333.4444]
Uninstall .NET nanoFramework nanoCLR
To uninstall the .NET nanoFramework nanoCLR tool use the following .NET Core CLI command:
dotnet tool uninstall -g nanoclr
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.0.685 | 176 | 12/17/2024 |
1.0.676 | 211 | 12/6/2024 |
1.0.671 | 304 | 11/21/2024 |
1.0.664 | 348 | 11/8/2024 |
1.0.662 | 88 | 11/8/2024 |
1.0.659 | 266 | 10/23/2024 |
1.0.657 | 324 | 10/10/2024 |
1.0.656 | 169 | 10/3/2024 |
1.0.655 | 224 | 9/26/2024 |
1.0.654 | 140 | 9/26/2024 |
1.0.653 | 121 | 9/25/2024 |
1.0.650 | 207 | 9/20/2024 |
1.0.643 | 476 | 8/28/2024 |
1.0.637 | 426 | 8/7/2024 |
1.0.632 | 127 | 8/3/2024 |
1.0.630 | 108 | 8/2/2024 |
1.0.623 | 105 | 8/1/2024 |
1.0.618 | 91 | 7/30/2024 |
1.0.616 | 74 | 7/30/2024 |
1.0.615 | 82 | 7/30/2024 |
1.0.613 | 82 | 7/30/2024 |
1.0.612 | 85 | 7/29/2024 |
1.0.608 | 146 | 7/24/2024 |
1.0.606 | 78 | 7/24/2024 |
1.0.603 | 121 | 7/23/2024 |
1.0.601 | 143 | 7/19/2024 |
1.0.597 | 244 | 7/10/2024 |
1.0.591 | 237 | 6/26/2024 |
1.0.580 | 196 | 6/18/2024 |
1.0.573 | 235 | 6/12/2024 |
1.0.572 | 164 | 6/10/2024 |
1.0.569 | 199 | 6/7/2024 |
1.0.555 | 515 | 5/22/2024 |
1.0.554 | 127 | 5/22/2024 |
1.0.543 | 291 | 5/13/2024 |
1.0.530 | 224 | 5/7/2024 |
1.0.520 | 388 | 4/10/2024 |
1.0.515 | 494 | 3/22/2024 |
1.0.510 | 262 | 3/21/2024 |
1.0.509 | 268 | 3/14/2024 |
1.0.501 | 285 | 3/4/2024 |
1.0.494 | 319 | 2/22/2024 |
1.0.492 | 272 | 2/15/2024 |
1.0.488 | 237 | 2/9/2024 |
1.0.479 | 218 | 2/6/2024 |
1.0.473 | 319 | 1/26/2024 |
1.0.467 | 335 | 1/16/2024 |
1.0.455 | 507 | 12/22/2023 |
1.0.443 | 372 | 12/8/2023 |
1.0.430 | 522 | 11/16/2023 |
1.0.426 | 321 | 11/11/2023 |
1.0.425 | 241 | 11/10/2023 |
1.0.422 | 169 | 11/10/2023 |
1.0.421 | 211 | 11/9/2023 |
1.0.417 | 211 | 11/8/2023 |
1.0.412 | 215 | 11/7/2023 |
1.0.396 | 389 | 10/30/2023 |
1.0.392 | 352 | 10/24/2023 |
1.0.385 | 310 | 10/18/2023 |
1.0.381 | 332 | 10/12/2023 |
1.0.363 | 538 | 9/27/2023 |
1.0.334 | 478 | 8/31/2023 |
1.0.318 | 397 | 8/16/2023 |
1.0.317 | 329 | 8/7/2023 |
1.0.303 | 260 | 7/26/2023 |
1.0.302 | 171 | 7/26/2023 |
1.0.301 | 201 | 7/26/2023 |
1.0.292 | 205 | 7/26/2023 |
1.0.281 | 222 | 7/14/2023 |
1.0.267 | 356 | 6/16/2023 |
1.0.259 | 279 | 6/5/2023 |
1.0.256 | 191 | 5/31/2023 |
1.0.252 | 231 | 5/30/2023 |
1.0.250 | 191 | 5/29/2023 |
1.0.238 | 389 | 5/19/2023 |
1.0.237 | 191 | 5/19/2023 |
1.0.234 | 182 | 5/18/2023 |
1.0.233 | 188 | 5/17/2023 |
1.0.230 | 284 | 5/11/2023 |
1.0.225 | 314 | 5/5/2023 |
1.0.217 | 409 | 4/18/2023 |
1.0.216 | 203 | 4/17/2023 |
1.0.212 | 294 | 4/14/2023 |
1.0.211 | 330 | 4/11/2023 |
1.0.208 | 363 | 4/3/2023 |
1.0.205 | 282 | 3/30/2023 |
1.0.201 | 318 | 3/25/2023 |
1.0.200 | 270 | 3/22/2023 |
1.0.197 | 350 | 3/15/2023 |
1.0.196 | 272 | 3/15/2023 |
1.0.193 | 251 | 3/15/2023 |
1.0.190 | 252 | 3/14/2023 |
1.0.184 | 302 | 3/10/2023 |
1.0.182 | 259 | 3/10/2023 |
1.0.180 | 245 | 3/9/2023 |
1.0.179 | 279 | 3/9/2023 |
1.0.159 | 488 | 2/20/2023 |
1.0.151 | 311 | 2/17/2023 |
1.0.148 | 333 | 2/16/2023 |
1.0.145 | 294 | 2/15/2023 |
1.0.117 | 401 | 2/3/2023 |
1.0.116 | 294 | 2/3/2023 |
1.0.114 | 358 | 1/31/2023 |
1.0.111 | 349 | 1/30/2023 |
1.0.105 | 453 | 1/17/2023 |
1.0.104 | 501 | 1/5/2023 |
1.0.103 | 346 | 1/4/2023 |
1.0.100 | 345 | 1/3/2023 |
1.0.98 | 370 | 1/2/2023 |
1.0.95 | 394 | 1/2/2023 |
1.0.93 | 371 | 1/2/2023 |
1.0.92 | 429 | 12/22/2022 |
1.0.84 | 428 | 12/14/2022 |
1.0.63 | 468 | 12/5/2022 |
1.0.62 | 351 | 12/5/2022 |
1.0.55 | 383 | 12/2/2022 |
1.0.53 | 378 | 12/2/2022 |
1.0.50 | 362 | 12/2/2022 |
1.0.47 | 396 | 12/2/2022 |
1.0.45 | 383 | 12/2/2022 |
1.0.41 | 395 | 12/2/2022 |
1.0.39 | 368 | 12/2/2022 |
1.0.38 | 394 | 12/1/2022 |
1.0.37 | 392 | 12/1/2022 |
1.0.36 | 407 | 12/1/2022 |
1.0.34 | 392 | 11/30/2022 |
1.0.28 | 360 | 11/30/2022 |
1.0.25 | 449 | 11/29/2022 |
1.0.23 | 372 | 12/13/2022 |
1.0.22 | 368 | 12/13/2022 |
1.0.19 | 372 | 11/29/2022 |
1.0.15 | 395 | 11/29/2022 |
1.0.14 | 380 | 11/29/2022 |
1.0.13 | 368 | 11/29/2022 |
1.0.12 | 335 | 12/8/2022 |
1.0.11 | 374 | 12/7/2022 |
1.0.9 | 370 | 12/7/2022 |
1.0.3 | 342 | 12/5/2022 |
1.0.1 | 335 | 12/5/2022 |