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 }}
This repository was archived by the owner on Nov 6, 2018. It is now read-only.
If you have embeded resource in folder containing dash "-" in its name it gets translated into underscore inside an assembly. EmbededFileProvider is not respecting that.
I've put together quick (and probably dirty) fix:
var sc = tsp.Count(c => c == '/' || c == '\\');
var sp = 0;
for (var i = _baseNamespace.Length; i < builder.Length; i++) {
if (builder[i] == '/' || builder[i] == '\\') {
sp++;
builder[i] = '.';
} else if (builder[i] == '-' && sp < sc) {
builder[i] = '_';
}
}