Maslow
❔ github action step loop over .nupkg files
I've got a step downloading X number of nuget packages. the next step is 3rd party and seemingly only takes in one file at a time. How can I loop over all the files found in a directory on the next step? Matrix won't share step output and requires you use different jobs rather than steps
2 replies
Wpf Resx files
I'm using in a C# Wpf Project's Properties -> Resources.resx
var rm = new ResourceManager(typeof(MyClient.WPF.Properties.Resources));
rm.GetString("foo", System.Globalization.CultureInfo.DefaultThreadCurrentUICulture)
Using this to get the list of available cultures so they can be changed for one section of the app on the fly: https://stackoverflow.com/questions/553244/programmatic-way-to-get-all-the-available-languages-in-satellite-assemblies/11047894#11047894
I added a Resources.es.resx
initially both resource files were set to EmbeddedResource
with copy never.
but I wanted them to be simple editable xml files so the client could customize translations. I tried changing it to Resource
instead of embedded but that doesn't seem to be detected at runtime, and it dumps into a /Properties
folder. even when I copy the Resources.es.resx
up to the app root, it doesn't detect it as being available
Any idea how to get this to work with xml .resx files?1 replies
Blazor - DisplayNameAttribute alternate option
Is there a way built-in to provide attributes like
DisplayName
that razor automation will pick up without having to use the attributes directly on every property? like a metadata provider hook-up (I think there was something like that in razor) I can tap into somewhere to provide custom labels for certain properties on types?1 replies