File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
samples/Myra.Samples.AssetManagement Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public static string ExecutingAssemblyDirectory
1111 get
1212 {
1313 string codeBase = Assembly . GetExecutingAssembly ( ) . Location ;
14- UriBuilder uri = new UriBuilder ( codeBase ) ;
14+ UriBuilder uri = new UriBuilder ( $ "path: { codeBase } " ) ;
1515 string path = Uri . UnescapeDataString ( uri . Path ) ;
1616 return Path . GetDirectoryName ( path ) ;
1717 }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public static string ExecutingAssemblyDirectory
1111 get
1212 {
1313 string codeBase = Assembly . GetExecutingAssembly ( ) . Location ;
14- UriBuilder uri = new UriBuilder ( codeBase ) ;
14+ UriBuilder uri = new UriBuilder ( $ "path: { codeBase } " ) ;
1515 string path = Uri . UnescapeDataString ( uri . Path ) ;
1616 return Path . GetDirectoryName ( path ) ;
1717 }
You can’t perform that action at this time.
0 commit comments