avoid dropping deps file when publishing
also, avoid requiring a dependency on Microsoft.NETCore.Runtime fixes #157
This commit is contained in:
parent
11b43a37d6
commit
48cd38cd92
5 changed files with 86 additions and 9 deletions
14
scripts/dev-dotnet.ps1
Normal file
14
scripts/dev-dotnet.ps1
Normal file
|
@ -0,0 +1,14 @@
|
|||
$oldPath = $env:PATH
|
||||
try {
|
||||
# Put the stage2 output on the front of the path
|
||||
$stage2 = "$PSScriptRoot\..\artifacts\win7-x64\stage2\bin"
|
||||
if (Test-Path $stage2) {
|
||||
$env:PATH="$stage2;$env:PATH"
|
||||
} else {
|
||||
Write-Host "You don't have a dev build in the 'artifacts\win7-x64\stage2' folder!"
|
||||
}
|
||||
|
||||
dotnet @args
|
||||
} finally {
|
||||
$env:PATH = $oldPath
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue