Skip to content

Commit

Permalink
Merge pull request #279 from AvaloniaUI/template-constrains
Browse files Browse the repository at this point in the history
Add avalonia constrains on item tempaltes
  • Loading branch information
maxkatz6 authored Nov 15, 2024
2 parents 66839b0 + 972cd1c commit 11d9a54
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@
},
"continueOnError": true
}
]
],
"constraints": {
"Avalonia": {
"type": "project-capability",
"args": "Avalonia"
}
}
}
8 changes: 7 additions & 1 deletion templates/csharp/usercontrol/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@
},
"continueOnError": true
}
]
],
"constraints": {
"Avalonia": {
"type": "project-capability",
"args": "Avalonia"
}
}
}
8 changes: 7 additions & 1 deletion templates/csharp/window/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@
},
"continueOnError": true
}
]
],
"constraints": {
"Avalonia": {
"type": "project-capability",
"args": "Avalonia"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@
},
"continueOnError": true
}
]
],
"constraints": {
"Avalonia": {
"type": "project-capability",
"args": "Avalonia"
}
}
}
8 changes: 7 additions & 1 deletion templates/fsharp/usercontrol/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@
},
"continueOnError": true
}
]
],
"constraints": {
"Avalonia": {
"type": "project-capability",
"args": "Avalonia"
}
}
}
8 changes: 7 additions & 1 deletion templates/fsharp/window/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@
},
"continueOnError": true
}
]
],
"constraints": {
"Avalonia": {
"type": "project-capability",
"args": "Avalonia"
}
}
}
8 changes: 7 additions & 1 deletion templates/resource-dictionary/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,11 @@
},
"continueOnError": true
}
]
],
"constraints": {
"Avalonia": {
"type": "project-capability",
"args": "Avalonia"
}
}
}
8 changes: 7 additions & 1 deletion templates/styles/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,11 @@
},
"continueOnError": true
}
]
],
"constraints": {
"Avalonia": {
"type": "project-capability",
"args": "Avalonia"
}
}
}

0 comments on commit 11d9a54

Please sign in to comment.