Skip to content

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWonders committed Oct 31, 2024
1 parent ae07572 commit d284bd5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CheckMissingDLLs.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
$SolutionDir = "$((Get-Location).Path)\..\.."
$TargetDir = "$((Get-Location).Path)"
if ($ghAction -ne "yes")
{
$SolutionDir = "$((Get-Location).Path)\..\.."
$TargetDir = "$((Get-Location).Path)"
}

if (-not (Test-Path ".\bin\Debug\System.IO.dll" -PathType Leaf)) {
Copy-Item "$($SolutionDir)\packages\System.IO.4.3.0\lib\net462\System.IO.dll" "$($TargetDir)\System.IO.dll"
Expand Down

0 comments on commit d284bd5

Please sign in to comment.