From 83bb5189cbfcd230230af9ac5020b57b6036f342 Mon Sep 17 00:00:00 2001 From: Nice3point Date: Tue, 21 May 2024 15:53:41 +0300 Subject: [PATCH] Removed isEnabled property --- Changelog.md | 6 ++++++ build/Build.Configuration.cs | 2 +- .../.template.config/template.json | 3 +-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Changelog.md b/Changelog.md index 2732c03..875a788 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,9 @@ +# 4.0.4 + +- Removed template engine "isEnabled" property. Visual Studio does not support it compared to Jetbrains Rider. + This property caused an exception to create a Module project without UI. + Thanks to @SergeyNefyodov for finding this bug + # 4.0.3 - Remove Core folder. It's seldom used, especially in small plugins, so it's removed by default. Thank you for your feedback diff --git a/build/Build.Configuration.cs b/build/Build.Configuration.cs index 8e30f89..6f8bb7f 100644 --- a/build/Build.Configuration.cs +++ b/build/Build.Configuration.cs @@ -1,6 +1,6 @@ sealed partial class Build { - const string Version = "4.0.3"; + const string Version = "4.0.4"; readonly AbsolutePath ArtifactsDirectory = RootDirectory / "output"; readonly AbsolutePath ChangeLogPath = RootDirectory / "Changelog.md"; diff --git a/source/Nice3point.Revit.AddIn.Module/.template.config/template.json b/source/Nice3point.Revit.AddIn.Module/.template.config/template.json index 6a572f7..9c74227 100644 --- a/source/Nice3point.Revit.AddIn.Module/.template.config/template.json +++ b/source/Nice3point.Revit.AddIn.Module/.template.config/template.json @@ -50,8 +50,7 @@ "displayName": "Inject dependencies", "datatype": "bool", "description": "Inject dependencies into a command to call from the host application. Applies if the user interface is enabled", - "defaultValue": "false", - "isEnabled": "window != \"none\"" + "defaultValue": "false" }, "NoWindow": { "type": "computed",