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 was archived by the owner on Dec 19, 2018. It is now read-only.
We use the JsonConfiguration source to parse the project.json file to read wwwroot. When the project.json contains an JSON element that this configuration source cannot read it throws an exception and returns an incorrect wwwroot.
Today nodes like code, exclude, resource and shared in project.json supports arrays. Which means any project.json with these will fail to work. aspnet/dnx#133
There is a work item to remove support for string on these elements. aspnet/dnx#604
We use the
JsonConfiguration
source to parse theproject.json
file to readwwwroot
. When theproject.json
contains an JSON element that this configuration source cannot read it throws an exception and returns an incorrectwwwroot
.For example:
Have an authors element the
project.json
andwwwroot
element. Hosting code here will fail to return the rightwwwroot
. It throws the following exception.https://github.com/aspnet/Hosting/blob/dev/src/Microsoft.AspNet.Hosting/HostingUtilities.cs#L43
The text was updated successfully, but these errors were encountered: