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
{{ message }}
Repository navigation
Use nameof(SRID.PropertyName) syntax instead of depending on GenerateResxSource.GenerateResourcesCodeAsConstants #1
The codebase currently uses SRID.PropertyName syntax pervasively. This is supplied by an Arcade build task GenerateResxSource to which I have added an additional support for this particular case via GenerateResourcesCodeAsConstants.
There are ~7k instances across the codebase, and ~1k instances of these are likely coming from generated code. Once we have all the code generators ported over to .NET Core, we need to clean up everything and switch them over to use nameof(SRID.PropertyName) syntax.
Thanks for the offer - that would be helpful. We will likely take this up post Preview 2 once the code generators have been onboarded (possibly rewritten in T4) and fully functional in the netcore codebase.
I assume it is must have for 3.0, right? (setting milestone to 3.0)
It sounds like something easy for community to help with (with @dotMorten as first volunteer :))
No, this is not a must-have for 3.0 - only nice-to-have. I opened this issue as a convenient way to reference it elsewhere in code. There are lots of other things that take precedence that will slowly show up here on GitHub as we start opening them now that we have created this repo here.
Activity
dotMorten commentedon Nov 2, 2018
I actually have a code analyzer that can do that work for us automatically so I'd be happy to do that bit.

vatsan-madhavan commentedon Nov 2, 2018
Thanks for the offer - that would be helpful. We will likely take this up post Preview 2 once the code generators have been onboarded (possibly rewritten in T4) and fully functional in the netcore codebase.
karelz commentedon Nov 2, 2018
I assume it is must have for 3.0, right? (setting milestone to 3.0)
It sounds like something easy for community to help with (with @dotMorten as first volunteer :))
vatsan-madhavan commentedon Nov 2, 2018
No, this is not a must-have for 3.0 - only nice-to-have. I opened this issue as a convenient way to reference it elsewhere in code. There are lots of other things that take precedence that will slowly show up here on GitHub as we start opening them now that we have created this repo here.
karelz commentedon Nov 2, 2018
Great, I recommend to set the milestone to Future right away in such case to communicate the urgency ;) (thanks @rladuca for doing that!)
# This is a combination of 7 commits.
Merge pull request #1 from dotnet/master
26 remaining items
Replace resource constants with properties in ReachFramework.
Replace resource constants with properties in ReachFramework. (#7463)
Replace resource constants with properties in PresentationCore.
Replace resource constants with properties in PresentationCore (#7519)
Cleanup following replacing resource constants with properties.
Cleanup following replacing resource constants with properties. (#7691)