From a1d8cf510d6d3b34957a3ddd60a3ab1965e3a944 Mon Sep 17 00:00:00 2001 From: Daniil Pavliuchyk Date: Wed, 11 Jan 2023 05:37:12 +0200 Subject: [PATCH] Revert post actions for xplat templates --- .../xplat/.template.config/template.json | 30 +------------------ .../xplat/.template.config/template.json | 30 +------------------ 2 files changed, 2 insertions(+), 58 deletions(-) diff --git a/templates/csharp/xplat/.template.config/template.json b/templates/csharp/xplat/.template.config/template.json index ec80951e..0badf600 100644 --- a/templates/csharp/xplat/.template.config/template.json +++ b/templates/csharp/xplat/.template.config/template.json @@ -27,34 +27,6 @@ ], "replaces": "FrameworkParameter", "defaultValue": "net7.0" - }, - "HostIdentifier": { - "type": "bind", - "binding": "HostIdentifier" } - }, - "primaryOutputs": [ - { "path": "AvaloniaTest/AvaloniaTest.csproj" }, - { - "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "path": "AvaloniaTest/ViewModels/MainViewModel.cs" - }, - { - "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "path": "AvaloniaTest/Views/MainView.axaml" - } - ], - "postActions": [ - { - "id": "editor", - "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "description": "Opens MainView and MainViewModel in the editor", - "manualInstructions": [ ], - "actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6", - "args": { - "files": "1;2" - }, - "continueOnError": true - } - ] + } } \ No newline at end of file diff --git a/templates/fsharp/xplat/.template.config/template.json b/templates/fsharp/xplat/.template.config/template.json index 8aec2a9c..ac581123 100644 --- a/templates/fsharp/xplat/.template.config/template.json +++ b/templates/fsharp/xplat/.template.config/template.json @@ -27,34 +27,6 @@ ], "replaces": "FrameworkParameter", "defaultValue": "net7.0" - }, - "HostIdentifier": { - "type": "bind", - "binding": "HostIdentifier" } - }, - "primaryOutputs": [ - { "path": "AvaloniaTest/AvaloniaTest.fsproj" }, - { - "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "path": "AvaloniaTest/ViewModels/MainViewModel.fs" - }, - { - "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "path": "AvaloniaTest/Views/MainView.axaml" - } - ], - "postActions": [ - { - "id": "editor", - "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "description": "Opens MainView and MainViewModel in the editor", - "manualInstructions": [ ], - "actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6", - "args": { - "files": "1;2" - }, - "continueOnError": true - } - ] + } } \ No newline at end of file