Is it possible to configure a different folder to replace wwwrootwwwroot
in ASP.NET Core? And, if yes, how and? And are there any side effects to this change?
The only config that currently includes wwwroot
in the entire project is found in project.json
as seen in the code below; but replacing the value with the name of the new folder is not enough for the static file (ex: index.html
) to be read.
"publishOptions": {
"include": [
"wwwroot",
"web.config"
]
},
"publishOptions": {
"include": [
"wwwroot",
"web.config"
]
},