diff --git a/KNOWNISSUES.md b/KNOWNISSUES.md index 00e28ba29a..9b8f32d5ee 100644 --- a/KNOWNISSUES.md +++ b/KNOWNISSUES.md @@ -13,6 +13,15 @@ Windows builds currently use the native stub; this should be replaced with actual compilation of the managed C++ library on Windows (with the stub used on Linux). +## CorePS Eventing Library + +The Eventing library reimplementation for Core PowerShell does not exist on +Linux, and so the ETW stub is used via a `#if LINUX` guard. On Windows, this +library now exists, but its build needs to be ported to .NET CLI. Until then, +it should remain stubbed. Before then, the use of the Linux configuration +should be changed so it is stubbed in both Linux and Windows builds. For now, +Core PowerShell must be build with `--configuration Linux`. + ## xUnit The xUnit tests cannot currently be run; we are working to integrate the diff --git a/build.ps1 b/build.ps1 index cc1e3054fb..6d16718257 100755 --- a/build.ps1 +++ b/build.ps1 @@ -14,7 +14,7 @@ cd ../.. # Publish PowerShell cd src/Microsoft.PowerShell.Linux.Host -dotnet publish --framework dnxcore50 --output $BIN +dotnet publish --framework dnxcore50 --output $BIN --configuration Linux # Temporary fix for dotnet publish if (Test-Path $BIN/Debug/dnxcore50) { cp $BIN/Debug/dnxcore50/* $BIN } # Copy files that dotnet-publish does not currently deploy