We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f4e9d3 commit e1ea3b3Copy full SHA for e1ea3b3
WinUI3Localizer.SampleApp/App.xaml.cs
@@ -116,9 +116,7 @@ private async Task InitializeLocalizer()
116
{
117
#if IS_NON_PACKAGED
118
// Initialize a "Strings" folder in the executables folder.
119
- StringsFolderPath = Path.Combine(Directory.GetCurrentDirectory(), "Strings");
120
-
121
- //StorageFolder localFolder = await StorageFolder.GetFolderFromPathAsync(Directory.GetCurrentDirectory());
+ StringsFolderPath = Path.Combine(AppContext.BaseDirectory, "Strings");
122
StorageFolder stringsFolder = await StorageFolder.GetFolderFromPathAsync(StringsFolderPath);
123
#else
124
// Initialize a "Strings" folder in the "LocalFolder" for the packaged app.
0 commit comments