diff --git a/test/WebSites/HtmlGenerationWebSite/Startup.cs b/test/WebSites/HtmlGenerationWebSite/Startup.cs
index 7340488586..b196237007 100644
--- a/test/WebSites/HtmlGenerationWebSite/Startup.cs
+++ b/test/WebSites/HtmlGenerationWebSite/Startup.cs
@@ -25,7 +25,7 @@ namespace HtmlGenerationWebSite
public void Configure(IApplicationBuilder app)
{
app.UseCultureReplacer();
-
+ app.UseStaticFiles();
app.UseMvc(routes =>
{
routes.MapRoute(
@@ -41,6 +41,7 @@ namespace HtmlGenerationWebSite
template: "{controller}/{action}/{id?}",
defaults: new { controller = "HtmlGeneration_Home", action = "Index" });
});
+
}
public static void Main(string[] args)
diff --git a/test/WebSites/HtmlGenerationWebSite/project.json b/test/WebSites/HtmlGenerationWebSite/project.json
index 67c97fc381..151868db8d 100644
--- a/test/WebSites/HtmlGenerationWebSite/project.json
+++ b/test/WebSites/HtmlGenerationWebSite/project.json
@@ -13,7 +13,8 @@
"version": "1.1.0-preview4-final"
},
"Microsoft.AspNetCore.Server.IISIntegration": "1.2.0-*",
- "Microsoft.AspNetCore.Server.Kestrel": "1.2.0-*"
+ "Microsoft.AspNetCore.Server.Kestrel": "1.2.0-*",
+ "Microsoft.AspNetCore.StaticFiles": "1.2.0-*"
},
"frameworks": {
"net451": {},