|
77 | 77 | "path": "Company.RazorClassLibrary1.csproj" |
78 | 78 | }, |
79 | 79 | { |
80 | | - "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", |
| 80 | + "condition": "(SupportPagesAndViews && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", |
81 | 81 | "path": "Areas/MyFeature/Pages/Page1.cshtml" |
| 82 | + }, |
| 83 | + { |
| 84 | + "condition": "(!SupportPagesAndViews && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", |
| 85 | + "path": "Component1.razor" |
82 | 86 | } |
83 | 87 | ], |
84 | 88 | "defaultName": "RazorClassLibrary", |
|
96 | 100 | "continueOnError": true |
97 | 101 | }, |
98 | 102 | { |
99 | | - "id": "openInEditor", |
100 | | - "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", |
| 103 | + "id": "openPageInEditor", |
| 104 | + "condition": "(SupportPagesAndViews && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", |
101 | 105 | "description": "Opens Areas/MyFeature/Pages/Page1.cshtml in the editor", |
102 | 106 | "manualInstructions": [], |
103 | 107 | "actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6", |
104 | 108 | "args": { |
105 | 109 | "files": "1" |
106 | 110 | }, |
107 | 111 | "continueOnError": true |
| 112 | + }, |
| 113 | + { |
| 114 | + "id": "openComponentInEditor", |
| 115 | + "condition": "(!SupportPagesAndViews && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", |
| 116 | + "description": "Opens Component1.razor in the editor", |
| 117 | + "manualInstructions": [], |
| 118 | + "actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6", |
| 119 | + "args": { |
| 120 | + "files": "1" |
| 121 | + }, |
| 122 | + "continueOnError": true |
108 | 123 | } |
109 | 124 | ] |
110 | 125 | } |
0 commit comments