Public/Nuget/Paket/Get-PaketFiles.ps1

function Get-PaketFiles {
    [CmdletBinding()]
    [CmdLetTag(("#nuget","#paket"))]
    param (
        [switch]$Strict   
    )
    
    begin {
        $nugetFolder=Get-NugetInstallationFolder GlobalPackagesFolder
        "FSharp.Core.dll","Paket.Core.dll","Chessie.dll"|ForEach-Object{
            $paketFolder=(Get-ChildItem "$nugetFolder\paket" |Select-Object -Last 1).FullName
            "$paketFolder\tools\netcoreapp3.1\any\$_"
        }|Mount-Assembly|Out-Null
        
    }
    
    process {
        $a = @{
            Strict = $Strict
        }
        Get-PaketDependenciesPath @a|ForEach-Object{
            $files=[Paket.PaketFiles]::LocateFromDirectory($_.DirectoryName)
            [PSCustomObject]@{
                DepsFile=$files.Item1
                LockFile=$files.Item2
            }
        }   
    }
    
    end {
        
    }
}