How to automate NanoFramework project modification: download, resource file change, NuGet addition, build, and obtain binaries in .NET Core APP? #1403
Unanswered
ijaznoufal
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You're description above is very clear. I don't see anything preventing you from doing it. It's a matter of coding those tasks of manipulating the required project files. The build can be accomplished by a call to msbuild. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
0
I'm working on a project where I need to automate the process of modifying a NanoFramework project. I want to create a generic .NET Core solution that can perform the following tasks:
Example :
I have a base NanoFramework firmware code in a repo with a Resource.resx file containing a client certificate. I need to automate the process of building custom firmware for different devices, each requiring a different client certificate and specific NuGet packages.
For example, I have two devices: ESP32-1 and ESP32-2. ESP32-1 needs a firmware bin with a client certificate change and specific NuGet packages for an ADXL sensor, while ESP32-2 requires a different certificate and NuGet packages for a BMP280 sensor.
How can I create a generic .NET Core solution that, on the fly, modifies the client certificate, adds the necessary NuGet packages, and builds the NanoFramework project, returning the customized firmware bin for each device?
Beta Was this translation helpful? Give feedback.
All reactions