This is a working (all tests passing) implementation of the two-phase compilation system we will need for component discovery. This builds on top of work we've doing in Razor, including the Razor SDK, MSBuild tasks, and CLI/server. This currently *does* discovery components during the build process, but it doesn't use that data for anything yet. It works like this: 1. Generate class declarations (structure only, no method bodies) 2. Compile a 'temp' assembly using the .cs files and output of 1. 3. Do component discovery using the 'temp' assembly 4. Generate class definitions (including method bodies) 5. Compile the 'real' assembly using the .cs files and output of 4. |
||
|---|---|---|
| .. | ||
| Properties | ||
| wwwroot | ||
| Home.cshtml | ||
| HostedInAspNet.Client.csproj | ||
| Program.cs | ||