LosManos / LehmanLaidun

A solution for comparing contents of two folder structures.
Other
1 stars 0 forks source link

Allow for dumping the structure as XML #5

Closed LosManos closed 4 years ago

LosManos commented 4 years ago

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 of DriveA.

LosManos commented 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?

LosManos commented 4 years ago

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'