Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Parse the project.json file with Newtonsoft directly. #75

Merged
merged 1 commit into from
Sep 15, 2014
Merged

Conversation

Tratcher
Copy link
Member

#74

config.AddJsonFile(Path.Combine(applicationBasePath, "project.json"));
var webroot = config.Get("webroot") ?? string.Empty;
return Path.GetFullPath(Path.Combine(applicationBasePath, webroot));
using (var stream = new FileStream(Path.Combine(applicationBasePath, "project.json"), FileMode.Open, FileAccess.Read))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File.OpenRead

@Tratcher
Copy link
Member Author

Updated.

@davidfowl
Copy link
Member

:shipit:

@Tratcher Tratcher merged commit c47d6d0 into dev Sep 15, 2014
@Tratcher Tratcher deleted the Json branch September 15, 2014 21:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants