-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Milestone
Description
There is a need to allow dotnet-resgen to generate .NET Core compliant and strongly typed resource access code as part of the CLI infrastructure. The high-level principle is to ensure that there is an extensible way to generate the strongly type code for resource access as CLI is extended to support new languages. In this paradigm:
- Each language compiler that supports CLI will also support a dotnet-resgen- (e.g. Dotnet-resgen-cs) that will generate the language specific source code
- Dot net compile/build will support invoking dotnet-resgen- with the required inputs to generate the code
- The generated code will then be fed into the dotnet-compile pipeline where the language compiler is invoked to perform the actual app-source->IL compilation.
This will allow us to keep the model simple, support the scenario and extensible for future language support (e.g. F#).
This issue should be used to track the initial implementation for C#.
CC @piotrpMSFT @davidfowl @weshaggard @Petermarcu @jaredpar
dantraMSFT, ForNeVeR and philBrownandyleejordan