Skip to content

Commit d45b771

Browse files
Merge pull request #12 from AndrewKeepCoding/AndrewKeepCoding-patch-1
Update README.md
2 parents 0374036 + 0065446 commit d45b771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Add this ItemGroup in the project file (\*.csproj) of your app.
5050
private async Task InitializeLocalizer()
5151
{
5252
// Initialize a "Strings" folder in the executables folder.
53-
StringsFolderPath StringsFolderPath = Path.Combine(Directory.GetCurrentDirectory(), "Strings");
53+
StringsFolderPath StringsFolderPath = Path.Combine(AppContext.BaseDirectory, "Strings");
5454
StorageFolder stringsFolder = await StorageFolder.GetFolderFromPathAsync(StringsFolderPath);
5555

5656
ILocalizer localizer = await new LocalizerBuilder()

0 commit comments

Comments
 (0)