Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeremylindsayni/RaspberryPi.Template
An empty project template for dotnet core IoT applications deployed to the RaspberryPi.
https://github.com/jeremylindsayni/RaspberryPi.Template
dotnet-core dotnet-template raspberry-pi raspberry-pi-template
Last synced: 3 months ago
JSON representation
An empty project template for dotnet core IoT applications deployed to the RaspberryPi.
- Host: GitHub
- URL: https://github.com/jeremylindsayni/RaspberryPi.Template
- Owner: jeremylindsayni
- License: mit
- Created: 2017-03-19T11:49:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-10T21:54:52.000Z (about 7 years ago)
- Last Synced: 2024-03-28T11:33:10.494Z (8 months ago)
- Topics: dotnet-core, dotnet-template, raspberry-pi, raspberry-pi-template
- Language: C#
- Size: 11.7 KB
- Stars: 29
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A Raspberry Pi Template for .NET Core 2 projects
An empty project template for .NET Core 2 IoT applications deployed to the RaspberryPi.I started this project after reading this post:
https://www.thurrott.com/dev/106624/net-core-comes-quietly-raspberry-pi## How to install the template
TL;DR
dotnet new -i RaspberryPi.Template::*
I wrote about how to use this template and install it into your development environment in this post:
https://jeremylindsayni.wordpress.com/2017/03/21/how-to-a-net-core-template-to-create-a-new-project-from-the-command-line-with-dotnet-new-i/You need .NET Core 2 installed - you can get the most recent previews from here:
https://github.com/dotnet/cli/tree/masterYou can install from nuget using the command:
dotnet new -i RaspberryPi.Template::*
Or if you want to install the source code and modify it, clone the repo to a directory (I put mine in the folder below but you can clone it anywhere):
C:\Users\Jeremy\Documents\Visual Studio 2017\Templates\ProjectTemplates\Raspberry Pi
Then install the template using the command below:
dotnet new -i "C:\Users\Jeremy\Documents\Visual Studio 2017\Templates\ProjectTemplates\Raspberry Pi\RaspberryPiTemplate\RaspberryPiCore"
Now you can see the list of templates you have installed with this command:
dotnet new --list
And you can create a new project (called "MyNewProject") for your IoT device with the command:
dotnet new coreiot -n MyNewProject
## More
See more examples of running .NET Core apps the RaspberryPi ARM device here.
https://www.hackster.io/Ra5tko/running-native-net-core-apps-on-raspberry-pi-arm-0bb717