-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find the root folder on disk of the project hosting R4MVC #5
Comments
Unfortunately the project object isn't on the interface for IBeforeCompileContext but is does exist via some casting against the Concrete type
An alternative might be get the FilePath from a syntax tree and work it out using that |
That issue seems to be obsolete/unnecessary at this point, since writing generated.cs files is now working. If getting the root path for the project is necessary in other scenarios, it can easily be picked up from the |
We need to find where on disk the
project.json
file is for the project hosting R4MVC, so we write out our generated.cs
files.At the moment it is hard coded here.
The text was updated successfully, but these errors were encountered: