You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.
According to this wiki, https://github.com/aspnet/Home/wiki/Project.json-file, the type of the exclude element is string. But it actually it supports both of array and string. And, when we can specifiy multiple items like
1)
"exclude": [ "Controllers/.cs", "Dispatcher/.cs", "Filters/.cs", "Formatting/.cs",
"Http/.cs", "MessageHandlers/.cs", "Model/.cs", "ModelBinding/.cs"]
or
2) "exclude": "Controllers/.cs;Dispatcher/.cs;Filters/.cs;Formatting/.cs;Http/.cs;MessageHandlers/.cs;Model/.cs;ModelBinding/.cs;"
I think it could be a bit confusing if one element supports both types. (VS reports a warning when array is used for the exclude element, but kre builds this without any problem.)
If we want to pick one of the type, I think it should be array instead of string; array is clearer than string when specifying mutlple items to exclude.
The text was updated successfully, but these errors were encountered:
According to this wiki, https://github.com/aspnet/Home/wiki/Project.json-file, the type of the exclude element is string. But it actually it supports both of array and string. And, when we can specifiy multiple items like
1)
"exclude": [ "Controllers/.cs", "Dispatcher/.cs", "Filters/.cs", "Formatting/.cs",
"Http/.cs", "MessageHandlers/.cs", "Model/.cs", "ModelBinding/.cs"]
or
2) "exclude": "Controllers/.cs;Dispatcher/.cs;Filters/.cs;Formatting/.cs;Http/.cs;MessageHandlers/.cs;Model/.cs;ModelBinding/.cs;"
I think it could be a bit confusing if one element supports both types. (VS reports a warning when array is used for the exclude element, but kre builds this without any problem.)
If we want to pick one of the type, I think it should be array instead of string; array is clearer than string when specifying mutlple items to exclude.
The text was updated successfully, but these errors were encountered: