Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidfowl/vnextlanguagesupport
A project that has examples of how to support different languages in the vNext project system
https://github.com/davidfowl/vnextlanguagesupport
Last synced: 2 months ago
JSON representation
A project that has examples of how to support different languages in the vNext project system
- Host: GitHub
- URL: https://github.com/davidfowl/vnextlanguagesupport
- Owner: davidfowl
- Created: 2014-06-13T14:46:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-10T09:47:34.000Z (about 10 years ago)
- Last Synced: 2023-03-11T19:23:34.751Z (almost 2 years ago)
- Language: C#
- Homepage:
- Size: 289 KB
- Stars: 16
- Watchers: 6
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Custom project loaders
==============================ASP.NET vNext supports a new project system that is powered by project.json. The default loader is the roslyn compiler which is built
into the runtime. This means that if you put a project.json in a folder with C# source, at runtime it will become an assembly
compiled on the fly with the built in roslyn compiler.This sample shows how you can specify the loader for a particular project with a few examples:
- A custom loader that resolves references but does nothing with then and returns null
- An F# loader that will use fsc to compile F# sources and load the resulting assemblyMind not blown yet?
- The F# loader is a project reference in the same solution, written in C# source code. The F# loader is being compiled with
roslyn into an assembly that is then executed to produce an assembly using the f# compiler (fsc.exe), which is then returned to
the system.