- $(StandardTestTfms)
+ $(StandardTestTfms);netstandard2.0
true
diff --git a/test/testapps/SimpleMvc/Models/ErrorViewModel.cs b/test/testapps/SimpleMvc/Models/ErrorViewModel.cs
new file mode 100644
index 0000000000..b4aa044914
--- /dev/null
+++ b/test/testapps/SimpleMvc/Models/ErrorViewModel.cs
@@ -0,0 +1,11 @@
+using System;
+
+namespace SimpleMvc.Models
+{
+ public class ErrorViewModel
+ {
+ public string RequestId { get; set; }
+
+ public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
+ }
+}
\ No newline at end of file
diff --git a/test/testapps/SimpleMvc/Program.cs b/test/testapps/SimpleMvc/Program.cs
new file mode 100644
index 0000000000..3e58606bdf
--- /dev/null
+++ b/test/testapps/SimpleMvc/Program.cs
@@ -0,0 +1,10 @@
+
+namespace SimpleMvc
+{
+ public class Program
+ {
+ public static void Main(string[] args)
+ {
+ }
+ }
+}
diff --git a/test/testapps/SimpleMvc/SimpleMvc.csproj b/test/testapps/SimpleMvc/SimpleMvc.csproj
new file mode 100644
index 0000000000..266f837eb9
--- /dev/null
+++ b/test/testapps/SimpleMvc/SimpleMvc.csproj
@@ -0,0 +1,11 @@
+
+
+ netcoreapp2.0
+
+
+
+
+
+
+
+
diff --git a/test/testapps/SimpleMvc/Views/Home/About.cshtml b/test/testapps/SimpleMvc/Views/Home/About.cshtml
new file mode 100644
index 0000000000..3674e37a86
--- /dev/null
+++ b/test/testapps/SimpleMvc/Views/Home/About.cshtml
@@ -0,0 +1,7 @@
+@{
+ ViewData["Title"] = "About";
+}
+@ViewData["Title"]
+@ViewData["Message"]
+
+Use this area to provide additional information.
diff --git a/test/testapps/SimpleMvc/Views/Home/Contact.cshtml b/test/testapps/SimpleMvc/Views/Home/Contact.cshtml
new file mode 100644
index 0000000000..a11a1867cf
--- /dev/null
+++ b/test/testapps/SimpleMvc/Views/Home/Contact.cshtml
@@ -0,0 +1,17 @@
+@{
+ ViewData["Title"] = "Contact";
+}
+@ViewData["Title"]
+@ViewData["Message"]
+
+
+ One Microsoft Way
+ Redmond, WA 98052-6399
+ P:
+ 425.555.0100
+
+
+
+ Support: Support@example.com
+ Marketing: Marketing@example.com
+
diff --git a/test/testapps/SimpleMvc/Views/Home/Index.cshtml b/test/testapps/SimpleMvc/Views/Home/Index.cshtml
new file mode 100644
index 0000000000..00afab6a0c
--- /dev/null
+++ b/test/testapps/SimpleMvc/Views/Home/Index.cshtml
@@ -0,0 +1,108 @@
+@{
+ ViewData["Title"] = "Home Page";
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Learn how to build ASP.NET apps that can run anywhere.
+
+ Learn More
+
+
+
+
+
+
+
+
+ There are powerful new features in Visual Studio for building modern web apps.
+
+ Learn More
+
+
+
+
+
+
+
+
+ Bring in libraries from NuGet, Bower, and npm, and automate tasks using Grunt or Gulp.
+
+ Learn More
+
+
+
+
+
+
+
+
+ Learn how Microsoft's Azure cloud platform allows you to build, deploy, and scale web apps.
+
+ Learn More
+
+
+
+
+
+
+
+ Previous
+
+
+
+ Next
+
+
+
+
+
+
Application uses
+
+ Sample pages using ASP.NET Core MVC
+ Bower for managing client-side libraries
+ Theming using Bootstrap
+
+
+
+
+
+
diff --git a/test/testapps/SimpleMvc/Views/Shared/Error.cshtml b/test/testapps/SimpleMvc/Views/Shared/Error.cshtml
new file mode 100644
index 0000000000..ec2ea6bd03
--- /dev/null
+++ b/test/testapps/SimpleMvc/Views/Shared/Error.cshtml
@@ -0,0 +1,22 @@
+@model ErrorViewModel
+@{
+ ViewData["Title"] = "Error";
+}
+
+Error.
+An error occurred while processing your request.
+
+@if (Model.ShowRequestId)
+{
+
+ Request ID: @Model.RequestId
+
+}
+
+Development Mode
+
+ Swapping to Development environment will display more detailed information about the error that occurred.
+
+
+ Development environment should not be enabled in deployed applications , as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development , and restarting the application.
+
diff --git a/test/testapps/SimpleMvc/Views/Shared/_Layout.cshtml b/test/testapps/SimpleMvc/Views/Shared/_Layout.cshtml
new file mode 100644
index 0000000000..1a9473e464
--- /dev/null
+++ b/test/testapps/SimpleMvc/Views/Shared/_Layout.cshtml
@@ -0,0 +1,71 @@
+
+
+
+
+
+ @ViewData["Title"] - SimpleMvc
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @RenderSection("Scripts", required: false)
+
+
diff --git a/test/testapps/SimpleMvc/Views/Shared/_ValidationScriptsPartial.cshtml b/test/testapps/SimpleMvc/Views/Shared/_ValidationScriptsPartial.cshtml
new file mode 100644
index 0000000000..a699aafa97
--- /dev/null
+++ b/test/testapps/SimpleMvc/Views/Shared/_ValidationScriptsPartial.cshtml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
diff --git a/test/testapps/SimpleMvc/Views/_ViewImports.cshtml b/test/testapps/SimpleMvc/Views/_ViewImports.cshtml
new file mode 100644
index 0000000000..da00289ea5
--- /dev/null
+++ b/test/testapps/SimpleMvc/Views/_ViewImports.cshtml
@@ -0,0 +1,3 @@
+@using SimpleMvc
+@using SimpleMvc.Models
+@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
diff --git a/test/testapps/SimpleMvc/Views/_ViewStart.cshtml b/test/testapps/SimpleMvc/Views/_ViewStart.cshtml
new file mode 100644
index 0000000000..a5f10045db
--- /dev/null
+++ b/test/testapps/SimpleMvc/Views/_ViewStart.cshtml
@@ -0,0 +1,3 @@
+@{
+ Layout = "_Layout";
+}