diff --git a/samples/StaticFileSample/project.json b/samples/StaticFileSample/project.json
index 6d3da367f7..13cc9cb976 100644
--- a/samples/StaticFileSample/project.json
+++ b/samples/StaticFileSample/project.json
@@ -26,5 +26,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/StaticFileSample/web.config b/samples/StaticFileSample/web.config
index f432a3c245..f7ac679334 100644
--- a/samples/StaticFileSample/web.config
+++ b/samples/StaticFileSample/web.config
@@ -4,6 +4,6 @@
-
+
\ No newline at end of file