We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e35bad commit 30aaca1Copy full SHA for 30aaca1
src/Adapter/PlatformServices.WinUI/Services/WinUIFileOperations.cs
@@ -108,7 +108,7 @@ public void DisposeNavigationSession(object navigationSession)
108
/// </returns>
109
public string GetFullFilePath(string assemblyFileName)
110
{
111
- return (SafeInvoke<string>(() => Path.GetFullPath(assemblyFileName)) as string) ?? assemblyFileName;
+ return (SafeInvoke<string>(() => Path.Combine(Windows.ApplicationModel.Package.Current.InstalledLocation.Path, assemblyFileName)) as string) ?? assemblyFileName;
112
}
113
114
private static object SafeInvoke<T>(Func<T> action, string messageFormatOnException = null)
0 commit comments