changeDirectory fix for FX, not sure if works with core.
This commit is contained in:
parent
a9b598e254
commit
0ad83579fa
1 changed files with 1 additions and 2 deletions
|
|
@ -19,8 +19,7 @@ namespace Examples
|
||||||
var name = Path.GetFileNameWithoutExtension(filePath);
|
var name = Path.GetFileNameWithoutExtension(filePath);
|
||||||
|
|
||||||
Console.WriteLine("Running example " + filePath);
|
Console.WriteLine("Running example " + filePath);
|
||||||
|
ChangeDirectory(Path.GetDirectoryName(filePath));
|
||||||
ChangeDirectory(filePath);
|
|
||||||
Type.GetType(name)?.GetMethod("Main")?.Invoke(null, args);
|
Type.GetType(name)?.GetMethod("Main")?.Invoke(null, args);
|
||||||
|
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue