mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-07 15:36:20 +00:00
Replace Path.GetFullPath
This commit is contained in:
parent
7b69215a30
commit
a342f98334
3 changed files with 9 additions and 4 deletions
|
|
@ -50,9 +50,11 @@ namespace MapControl
|
|||
{
|
||||
ImageSource image = null;
|
||||
|
||||
path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, path);
|
||||
|
||||
if (File.Exists(path))
|
||||
{
|
||||
var file = await StorageFile.GetFileFromPathAsync(Path.GetFullPath(path));
|
||||
var file = await StorageFile.GetFileFromPathAsync(path);
|
||||
|
||||
using (var stream = await file.OpenReadAsync())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue