Closed LosManos closed 4 years ago
Is it the wrong solution? Should we instead make it possible to create something "LehmanLaidun.FileSystem" and call appropriate function from Powershell?
I have problem creating Logic
.
To put in a FileSystem for $temp = [LehmanLaidun.FileSystem.LogicFactory]::CreateForPath($null, '.')
we need to create one. Typcially through Add-Type -Path System.IO.Abstractions.dll
.
But that results in something like
LoaderExceptions: System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
Create a console command like
-ox
This way the user can
LehmanLaidun.Console.exe /DriveA -ox > myoutput.xml
to get a file with the structure ofDriveA
.