diff --git a/samples/AntiforgerySample/project.json b/samples/AntiforgerySample/project.json
index 4ff0ec051e..a6bf3398de 100644
--- a/samples/AntiforgerySample/project.json
+++ b/samples/AntiforgerySample/project.json
@@ -30,5 +30,14 @@
"content": [
"wwwroot",
"web.config"
- ]
+ ],
+ "tools": {
+ "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
+ "version": "1.0.0-*",
+ "imports": "portable-net45+wp80+win8+wpa81+dnxcore50"
+ }
+ },
+ "scripts": {
+ "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%"
+ }
}
\ No newline at end of file
diff --git a/samples/AntiforgerySample/web.config b/samples/AntiforgerySample/web.config
index 22a337cbe2..f7ac679334 100644
--- a/samples/AntiforgerySample/web.config
+++ b/samples/AntiforgerySample/web.config
@@ -4,6 +4,6 @@
-
+
\ No newline at end of file