Update cshtml wildcard in publishOptions
Updating the publishOptions wildcard that used to publish everything in the views folder to now publish all .cshtml files. The problem was that the old wildcard only included the Views folder and didn't include anything in the Areas/*/Views folders (used by views inside areas). This change makes things much simpler, all .csthml files are published.
This commit is contained in:
parent
5d8aedebf3
commit
9646db0cc8
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@
|
|||
"publishOptions": {
|
||||
"include": [
|
||||
"wwwroot",
|
||||
"Views",
|
||||
"**/*.cshtml",
|
||||
"appsettings.json",
|
||||
"web.config"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue