diff --git a/scripts/publish/publish.ps1 b/scripts/publish/publish.ps1
index 4b433a8..f2c14b4 100644
--- a/scripts/publish/publish.ps1
+++ b/scripts/publish/publish.ps1
@@ -169,7 +169,9 @@ Copy-Item $(Join-Path $(Get-SolutionDirectory) scripts/setup) $OutputPath -Recur
Copy-Item $(Join-Path $(Get-SolutionDirectory) ThirdPartyNotices.txt) $OutputPath -ErrorAction Stop
# Remove all unnecessary files
-Get-ChildItem $OutputPath *.pdb -Recurse | Remove-Item -Force | Out-Null
+if (-not($ConfigDebug)) {
+ Get-ChildItem $OutputPath *.pdb -Recurse | Remove-Item -Force | Out-Null
+}
# Remove non-windows runtime dlls
$runtimeDirs = Get-ChildItem -Recurse $OutputPath runtimes
@@ -182,7 +184,8 @@ Get-ChildItem $outputPluginsFolder -File | where {-not($_.Name -match ".dll$")}
Remove-Item (Join-Path $outputPluginsFolder Bundle.dll) -Force
$mainDlls = Get-ChildItem $applicationPath *.dll
-$pluginDlls = Get-ChildItem $outputPluginsFolder *.dll
+$mainDlls += $(Get-ChildItem -Recurse $applicationPath/runtimes/*.dll)
+$pluginDlls = Get-ChildItem -Recurse $outputPluginsFolder *.dll
# Ensure no intersection between plugin dlls and application dlls
foreach ($pluginDll in $pluginDlls) {
diff --git a/src/Microsoft.IIS.Administration.AccessManagement/Microsoft.IIS.Administration.AccessManagement.csproj b/src/Microsoft.IIS.Administration.AccessManagement/Microsoft.IIS.Administration.AccessManagement.csproj
index 1657750..a1f8d75 100644
--- a/src/Microsoft.IIS.Administration.AccessManagement/Microsoft.IIS.Administration.AccessManagement.csproj
+++ b/src/Microsoft.IIS.Administration.AccessManagement/Microsoft.IIS.Administration.AccessManagement.csproj
@@ -5,6 +5,7 @@
1.1.0
Microsoft
netstandard1.6
+ 1.6.0
Microsoft.IIS.Administration.AccessManagement
Microsoft.IIS.Administration.AccessManagement
$(PackageTargetFallback);dotnet5.6;dnxcore50;portable-net45+win8
diff --git a/src/Microsoft.IIS.Administration.Certificates/Microsoft.IIS.Administration.Certificates.csproj b/src/Microsoft.IIS.Administration.Certificates/Microsoft.IIS.Administration.Certificates.csproj
index 0bef307..5e04e73 100644
--- a/src/Microsoft.IIS.Administration.Certificates/Microsoft.IIS.Administration.Certificates.csproj
+++ b/src/Microsoft.IIS.Administration.Certificates/Microsoft.IIS.Administration.Certificates.csproj
@@ -5,6 +5,7 @@
1.1.0
Microsoft
netstandard1.6
+ 1.6.0
Microsoft.IIS.Administration.Certificates
Microsoft.IIS.Administration.Certificates
$(PackageTargetFallback);dotnet5.6;dnxcore50;portable-net45+win8
@@ -15,7 +16,7 @@
-
+
diff --git a/src/Microsoft.IIS.Administration.Files.Core/Microsoft.IIS.Administration.Files.Core.csproj b/src/Microsoft.IIS.Administration.Files.Core/Microsoft.IIS.Administration.Files.Core.csproj
index 5dad659..5d17cf9 100644
--- a/src/Microsoft.IIS.Administration.Files.Core/Microsoft.IIS.Administration.Files.Core.csproj
+++ b/src/Microsoft.IIS.Administration.Files.Core/Microsoft.IIS.Administration.Files.Core.csproj
@@ -5,6 +5,7 @@
1.1.0
Microsoft
netstandard1.6
+ 1.6.0
Microsoft.IIS.Administration.Files.Core
Microsoft.IIS.Administration.Files.Core
$(PackageTargetFallback);dotnet5.6;dnxcore50;portable-net45+win8
diff --git a/src/Microsoft.IIS.Administration.Files/Microsoft.IIS.Administration.Files.csproj b/src/Microsoft.IIS.Administration.Files/Microsoft.IIS.Administration.Files.csproj
index 89cfea0..624f545 100644
--- a/src/Microsoft.IIS.Administration.Files/Microsoft.IIS.Administration.Files.csproj
+++ b/src/Microsoft.IIS.Administration.Files/Microsoft.IIS.Administration.Files.csproj
@@ -5,6 +5,7 @@
1.1.0
Microsoft
netstandard1.6
+ 1.6.0
Microsoft.IIS.Administration.Files
Microsoft.IIS.Administration.Files
$(PackageTargetFallback);dotnet5.6;dnxcore50;portable-net45+win8
diff --git a/src/Microsoft.IIS.Administration.WebServer.AppPools/Controllers/AppPoolsController.cs b/src/Microsoft.IIS.Administration.WebServer.AppPools/Controllers/AppPoolsController.cs
index a3e664d..1819038 100644
--- a/src/Microsoft.IIS.Administration.WebServer.AppPools/Controllers/AppPoolsController.cs
+++ b/src/Microsoft.IIS.Administration.WebServer.AppPools/Controllers/AppPoolsController.cs
@@ -16,10 +16,10 @@ namespace Microsoft.IIS.Administration.WebServer.AppPools
using System;
using Microsoft.AspNetCore.Authorization;
using System.Threading.Tasks;
- using System.Security.Claims;
public class AppPoolsController : ApiBaseController {
- private const string HIDDEN_FIELDS = "model.identity.password";
+ private const string AUDIT_FIELDS = "*,model.recycling.log_events.private_memory,model.recycling.periodic_restart.private_memory";
+ private const string MASKED_FIELDS = "model.identity.password";
private IAuthorizationService _authorization;
public AppPoolsController(IAuthorizationService svc) {
@@ -60,7 +60,7 @@ namespace Microsoft.IIS.Administration.WebServer.AppPools
}
[HttpPost]
- [Audit(AuditAttribute.ALL, HIDDEN_FIELDS)]
+ [Audit(fields: AUDIT_FIELDS, maskedFields: MASKED_FIELDS)]
[ResourceInfo(Name = Defines.AppPoolName)]
public async Task