N
Nikhilesh Olety
Guest
I have an application and i store the resource files with names of culture for localization.
But if i set the name of the resource file as "System.Tools.Wpf.de.resx", it is not listed out in the assembly.GetManifestResourceNames() method.
Here is the code i use
public MainWindow()
{
InitializeComponent();
var assembly = Assembly.GetExecutingAssembly();
foreach (var resourceName in assembly.GetManifestResourceNames())
{
}
}
And if the cut the name up to "System.Tools.Wpf.resx" (.de removed), it is showing in the list. Can some one suggest a solution.
Sample - https://www.syncfusion.com/downloads/support/directtrac/general/ze/WpfApp8-1007737893
Note: I already asked this in WPF forums, they said it might be a limitation in Visual studio and told me ask here
Previous Link : Resource file with complex name is not detected in assembly.GetManifestResourceNames()
Continue reading...
But if i set the name of the resource file as "System.Tools.Wpf.de.resx", it is not listed out in the assembly.GetManifestResourceNames() method.
Here is the code i use
public MainWindow()
{
InitializeComponent();
var assembly = Assembly.GetExecutingAssembly();
foreach (var resourceName in assembly.GetManifestResourceNames())
{
}
}
And if the cut the name up to "System.Tools.Wpf.resx" (.de removed), it is showing in the list. Can some one suggest a solution.
Sample - https://www.syncfusion.com/downloads/support/directtrac/general/ze/WpfApp8-1007737893
Note: I already asked this in WPF forums, they said it might be a limitation in Visual studio and told me ask here
Previous Link : Resource file with complex name is not detected in assembly.GetManifestResourceNames()
Continue reading...