-
Notifications
You must be signed in to change notification settings - Fork 640
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
CoreCLR: avoid project.json for simple cases #351
Comments
That should be possible, yes. We actually already add a loader for the compiler's project.json (https://github.com/tjanczuk/edge/blob/master/src/CoreCLREmbedding/coreclrembedding.cs#L259-L268), but without a project.json for the application itself, it throws an exception before it can reach that point. We can distribute the project.json for Edge.js itself (https://github.com/tjanczuk/edge/blob/master/src/CoreCLREmbedding/project.json), run |
Perfect, that would be a much better user experience! |
Great question and an even better answer. I look forward seeing this implemented |
@lstratman The CoreCLR requirement for project.json even for the simplest of scenarios is in rather stark contrast to the experience Node users are used to. Is there a reasonable way of avoiding this requirement? Can the project.json be specified imperatively via an API, perhaps one that covers at least the built-in dependencies: https://github.com/tjanczuk/edge-cs/blob/master/src/edge-cs-coreclr/EdgeCompiler.cs#L67-L74?
The text was updated successfully, but these errors were encountered: