diff --git a/build.ps1 b/build.ps1 index 9d41a26ca..40b19e32e 100755 --- a/build.ps1 +++ b/build.ps1 @@ -11,6 +11,8 @@ cd ../.. # Publish PowerShell cd src/Microsoft.PowerShell.Linux.Host dotnet publish --framework dnxcore50 --output $BIN +# Temporary fix for dotnet publish +cp $BIN/Debug/dnxcore50/* $BIN # Copy files that dotnet-publish does not currently deploy cp *_profile.ps1 $BIN cd ../.. diff --git a/build.sh b/build.sh index df4dafb3a..e0b2340c8 100755 --- a/build.sh +++ b/build.sh @@ -34,6 +34,8 @@ mkdir -p $BIN/Modules ( cd src/Microsoft.PowerShell.Linux.Host dotnet publish --framework dnxcore50 --output $BIN + # Temporary fix for dotnet publish + cp $BIN/Debug/dnxcore50/* $BIN # Copy files that dotnet-publish does not currently deploy cp *_profile.ps1 $BIN )