From bb315ef3baac5098c03e91b580324a96b0708fa2 Mon Sep 17 00:00:00 2001 From: Frank Bakker Date: Thu, 17 Feb 2022 19:00:36 +0100 Subject: [PATCH 1/2] Add config for local codegen tool --- .../templates/netdaemon/.config/dotnet-tools.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/NetDaemon.Templates.Project/templates/netdaemon/.config/dotnet-tools.json diff --git a/src/NetDaemon.Templates.Project/templates/netdaemon/.config/dotnet-tools.json b/src/NetDaemon.Templates.Project/templates/netdaemon/.config/dotnet-tools.json new file mode 100644 index 0000000..831af08 --- /dev/null +++ b/src/NetDaemon.Templates.Project/templates/netdaemon/.config/dotnet-tools.json @@ -0,0 +1,12 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "joysoftware.netdaemon.hassmodel.codegen": { + "version": "22.6.3", + "commands": [ + "nd-codegen" + ] + } + } + } \ No newline at end of file From cd23f23b7c93306dd6c4b244984ce0322176fad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20Hellstr=C3=B6m?= Date: Mon, 6 Jun 2022 11:59:27 +0200 Subject: [PATCH 2/2] Adding local tool support --- .../templates/netdaemon/.config/dotnet-tools.json | 4 ++-- .../netdaemon_src/.config/dotnet-tools.json | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 src/NetDaemon.Templates.Project/templates/netdaemon_src/.config/dotnet-tools.json diff --git a/src/NetDaemon.Templates.Project/templates/netdaemon/.config/dotnet-tools.json b/src/NetDaemon.Templates.Project/templates/netdaemon/.config/dotnet-tools.json index 831af08..ac33e52 100644 --- a/src/NetDaemon.Templates.Project/templates/netdaemon/.config/dotnet-tools.json +++ b/src/NetDaemon.Templates.Project/templates/netdaemon/.config/dotnet-tools.json @@ -3,10 +3,10 @@ "isRoot": true, "tools": { "joysoftware.netdaemon.hassmodel.codegen": { - "version": "22.6.3", + "version": "22.23.0", "commands": [ "nd-codegen" ] } } - } \ No newline at end of file + } diff --git a/src/NetDaemon.Templates.Project/templates/netdaemon_src/.config/dotnet-tools.json b/src/NetDaemon.Templates.Project/templates/netdaemon_src/.config/dotnet-tools.json new file mode 100644 index 0000000..b6176d0 --- /dev/null +++ b/src/NetDaemon.Templates.Project/templates/netdaemon_src/.config/dotnet-tools.json @@ -0,0 +1,12 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "joysoftware.netdaemon.hassmodel.codegen": { + "version": "22.23.0", + "commands": [ + "nd-codegen" + ] + } + } + }