You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're going to need to either port resgen to coreclr or just write a new command that replicates some of the functionality. Today in the DNX we replicate some of it and pass data to the roslyn APIs. I'd imagine compile would work like this:
I'm going to put something temporary together for the sake of dnu parity but we need to think about the responsibilities of each of the tools. The steps are:
Get the list of resources
Convert resx -> .resources in a temp folder (or intermediate folder)
Gather .resources and embedded resources as compiler arguments
As part of the conversion, the logical name inferred from the file names are usually language specific (C#/VB etc). We could hand wave this for now but it's worth a mention.
Does this (or will it one day) provide the second feature of ResGen, that is, to create the strongly typed classes (either generating the .cs files or just emit the code) ?
Activity
davidfowl commentedon Oct 18, 2015
I'm going to put something temporary together for the sake of dnu parity but we need to think about the responsibilities of each of the tools. The steps are:
fearthecowboy commentedon Nov 19, 2015
Does this (or will it one day) provide the second feature of ResGen, that is, to create the strongly typed classes (either generating the .cs files or just emit the code) ?
(Desperately to know :) )
TheRealPiotrP commentedon Dec 1, 2015
This tool needs to be renamed dotnet-resgen until it's at parity with resgen. It's clashing on paths.
TheRealPiotrP commentedon Dec 30, 2015
@davidfowl what's left here for Beta milestone?
andyleejordan commentedon Jan 15, 2016
@davidfowl @piotrpMSFT Will strongly typed classes be part of the beta milestone?
TheRealPiotrP commentedon Jan 16, 2016
Beta is basically done. We will be branching soon.
andyleejordan commentedon Feb 16, 2016
@davidfowl What's the status on strongly typed class generation? I thought we were tracking that here, shall I make a new issue?
davidfowl commentedon Feb 16, 2016
Yes, make a new one.
andyleejordan commentedon Feb 16, 2016
I think dotnet/cli#819 is it.
Merge pull request #68 from dotnet/brthor/documentation-file-1