SignInManager
-
-@{
- ViewData["Title"] = "Log in";
-}
-
-@ViewData["Title"].
-
-
-
-
- Use another service to log in.
-
- @{
- var loginProviders = SignInManager.GetExternalAuthenticationSchemes().ToList();
- if (loginProviders.Count == 0)
- {
-
-
- There are no external authentication services configured. See this article
- for details on setting up this ASP.NET application to support logging in via external services.
-
-
- }
- else
- {
-
- }
- }
-
-
-
-
-@section Scripts {
- @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/Register.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/Register.cshtml
deleted file mode 100644
index 2090f900e..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/Register.cshtml
+++ /dev/null
@@ -1,42 +0,0 @@
-@model RegisterViewModel
-@{
- ViewData["Title"] = "Register";
-}
-
-@ViewData["Title"].
-
-
-
-@section Scripts {
- @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/ResetPassword.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/ResetPassword.cshtml
deleted file mode 100644
index dd716d735..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/ResetPassword.cshtml
+++ /dev/null
@@ -1,43 +0,0 @@
-@model ResetPasswordViewModel
-@{
- ViewData["Title"] = "Reset password";
-}
-
-@ViewData["Title"].
-
-
-
-@section Scripts {
- @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/ResetPasswordConfirmation.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/ResetPasswordConfirmation.cshtml
deleted file mode 100644
index 6321d858e..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/ResetPasswordConfirmation.cshtml
+++ /dev/null
@@ -1,8 +0,0 @@
-@{
- ViewData["Title"] = "Reset password confirmation";
-}
-
-@ViewData["Title"].
-
- Your password has been reset. Please Click here to log in.
-
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/SendCode.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/SendCode.cshtml
deleted file mode 100644
index e85ca3c2b..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/SendCode.cshtml
+++ /dev/null
@@ -1,21 +0,0 @@
-@model SendCodeViewModel
-@{
- ViewData["Title"] = "Send Verification Code";
-}
-
-@ViewData["Title"].
-
-
-
-@section Scripts {
- @{await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/VerifyCode.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/VerifyCode.cshtml
deleted file mode 100644
index 60afb361d..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Account/VerifyCode.cshtml
+++ /dev/null
@@ -1,38 +0,0 @@
-@model VerifyCodeViewModel
-@{
- ViewData["Title"] = "Verify";
-}
-
-@ViewData["Title"].
-
-
-
-@section Scripts {
- @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Home/About.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Home/About.cshtml
deleted file mode 100644
index b653a26f1..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Home/About.cshtml
+++ /dev/null
@@ -1,7 +0,0 @@
-@{
- ViewData["Title"] = "About";
-}
-@ViewData["Title"].
-@ViewData["Message"]
-
-Use this area to provide additional information.
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Home/Contact.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Home/Contact.cshtml
deleted file mode 100644
index f953aa63d..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Home/Contact.cshtml
+++ /dev/null
@@ -1,17 +0,0 @@
-@{
- 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/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Home/Index.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Home/Index.cshtml
deleted file mode 100644
index 957b8c1da..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Home/Index.cshtml
+++ /dev/null
@@ -1,109 +0,0 @@
-@{
- 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
- - Gulp and Bower for managing client-side libraries
- - Theming using Bootstrap
-
-
-
-
-
-
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/AddPhoneNumber.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/AddPhoneNumber.cshtml
deleted file mode 100644
index 2feb93b22..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/AddPhoneNumber.cshtml
+++ /dev/null
@@ -1,27 +0,0 @@
-@model AddPhoneNumberViewModel
-@{
- ViewData["Title"] = "Add Phone Number";
-}
-
-@ViewData["Title"].
-
-
-@section Scripts {
- @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/ChangePassword.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/ChangePassword.cshtml
deleted file mode 100644
index 41c7960c8..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/ChangePassword.cshtml
+++ /dev/null
@@ -1,42 +0,0 @@
-@model ChangePasswordViewModel
-@{
- ViewData["Title"] = "Change Password";
-}
-
-@ViewData["Title"].
-
-
-
-@section Scripts {
- @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/Index.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/Index.cshtml
deleted file mode 100644
index 8419b2429..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/Index.cshtml
+++ /dev/null
@@ -1,71 +0,0 @@
-@model IndexViewModel
-@{
- ViewData["Title"] = "Manage your account";
-}
-
-@ViewData["Title"].
-@ViewData["StatusMessage"]
-
-
-
Change your account settings
-
-
- - Password:
- -
- @if (Model.HasPassword)
- {
- Change
- }
- else
- {
- Create
- }
-
- - External Logins:
- -
-
- @Model.Logins.Count Manage
-
- - Phone Number:
- -
-
- Phone Numbers can used as a second factor of verification in two-factor authentication.
- See this article
- for details on setting up this ASP.NET application to support two-factor authentication using SMS.
-
- @*@(Model.PhoneNumber ?? "None")
- @if (Model.PhoneNumber != null)
- {
-
- Change
-
- }
- else
- {
- Add
- }*@
-
-
- - Two-Factor Authentication:
- -
-
- There are no two-factor authentication providers configured. See this article
- for setting up this application to support two-factor authentication.
-
- @*@if (Model.TwoFactor)
- {
-
- }
- else
- {
-
- }*@
-
-
-
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/ManageLogins.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/ManageLogins.cshtml
deleted file mode 100644
index 35e12da68..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/ManageLogins.cshtml
+++ /dev/null
@@ -1,54 +0,0 @@
-@model ManageLoginsViewModel
-@using Microsoft.AspNetCore.Http.Authentication
-@{
- ViewData["Title"] = "Manage your external logins";
-}
-
-@ViewData["Title"].
-
-@ViewData["StatusMessage"]
-@if (Model.CurrentLogins.Count > 0)
-{
- Registered Logins
-
-
- @for (var index = 0; index < Model.CurrentLogins.Count; index++)
- {
-
- @Model.CurrentLogins[index].LoginProvider |
-
- @if ((bool)ViewData["ShowRemoveButton"])
- {
-
- }
- else
- {
- @:
- }
- |
-
- }
-
-
-}
-@if (Model.OtherLogins.Count > 0)
-{
- Add another service to log in.
-
-
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/SetPassword.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/SetPassword.cshtml
deleted file mode 100644
index cfa779160..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/SetPassword.cshtml
+++ /dev/null
@@ -1,38 +0,0 @@
-@model SetPasswordViewModel
-@{
- ViewData["Title"] = "Set Password";
-}
-
-
- You do not have a local username/password for this site. Add a local
- account so you can log in without an external login.
-
-
-
-
-@section Scripts {
- @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/VerifyPhoneNumber.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/VerifyPhoneNumber.cshtml
deleted file mode 100644
index af7cd0b1f..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Manage/VerifyPhoneNumber.cshtml
+++ /dev/null
@@ -1,30 +0,0 @@
-@model VerifyPhoneNumberViewModel
-@{
- ViewData["Title"] = "Verify Phone Number";
-}
-
-@ViewData["Title"].
-
-
-
-@section Scripts {
- @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/Error.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/Error.cshtml
deleted file mode 100644
index 229c2dead..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/Error.cshtml
+++ /dev/null
@@ -1,14 +0,0 @@
-@{
- ViewData["Title"] = "Error";
-}
-
-Error.
-An error occurred while processing your request.
-
-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/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/_Layout.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/_Layout.cshtml
deleted file mode 100644
index 56827ca52..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/_Layout.cshtml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
- @ViewData["Title"] - WebApplication
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- @await Html.PartialAsync("_LoginPartial")
-
-
-
-
- @RenderBody()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- @RenderSection("scripts", required: false)
-
-
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/_LoginPartial.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/_LoginPartial.cshtml
deleted file mode 100644
index f50d5e89e..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/_LoginPartial.cshtml
+++ /dev/null
@@ -1,26 +0,0 @@
-@using Microsoft.AspNetCore.Identity
-@using WebApplication.Models
-
-@inject SignInManager SignInManager
-@inject UserManager UserManager
-
-@if (SignInManager.IsSignedIn(User))
-{
-
-}
-else
-{
-
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/_ValidationScriptsPartial.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/_ValidationScriptsPartial.cshtml
deleted file mode 100644
index 289b22064..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/Shared/_ValidationScriptsPartial.cshtml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/_ViewImports.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/_ViewImports.cshtml
deleted file mode 100644
index dcca16cb0..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/_ViewImports.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-@using WebApplication
-@using WebApplication.Models
-@using WebApplication.Models.AccountViewModels
-@using WebApplication.Models.ManageViewModels
-@using Microsoft.AspNetCore.Identity
-@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/_ViewStart.cshtml b/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/_ViewStart.cshtml
deleted file mode 100644
index 820a2f6e0..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Views/_ViewStart.cshtml
+++ /dev/null
@@ -1,3 +0,0 @@
-@{
- Layout = "_Layout";
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/appsettings.json b/TestAssets/TestProjects/ProjectJsonWebTemplate/appsettings.json
deleted file mode 100644
index 53b17ae04..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/appsettings.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "ConnectionStrings": {
- "DefaultConnection": "Data Source=WebApplication.db"
- },
- "Logging": {
- "IncludeScopes": false,
- "LogLevel": {
- "Default": "Debug",
- "System": "Information",
- "Microsoft": "Information"
- }
- }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/bower.json b/TestAssets/TestProjects/ProjectJsonWebTemplate/bower.json
deleted file mode 100644
index 3891fce13..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/bower.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "name": "webapplication",
- "private": true,
- "dependencies": {
- "bootstrap": "3.3.6",
- "jquery": "2.2.3",
- "jquery-validation": "1.15.0",
- "jquery-validation-unobtrusive": "3.2.6"
- }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/gulpfile.js b/TestAssets/TestProjects/ProjectJsonWebTemplate/gulpfile.js
deleted file mode 100644
index faf295540..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/gulpfile.js
+++ /dev/null
@@ -1,45 +0,0 @@
-///
-"use strict";
-
-var gulp = require("gulp"),
- rimraf = require("rimraf"),
- concat = require("gulp-concat"),
- cssmin = require("gulp-cssmin"),
- uglify = require("gulp-uglify");
-
-var webroot = "./wwwroot/";
-
-var paths = {
- js: webroot + "js/**/*.js",
- minJs: webroot + "js/**/*.min.js",
- css: webroot + "css/**/*.css",
- minCss: webroot + "css/**/*.min.css",
- concatJsDest: webroot + "js/site.min.js",
- concatCssDest: webroot + "css/site.min.css"
-};
-
-gulp.task("clean:js", function (cb) {
- rimraf(paths.concatJsDest, cb);
-});
-
-gulp.task("clean:css", function (cb) {
- rimraf(paths.concatCssDest, cb);
-});
-
-gulp.task("clean", ["clean:js", "clean:css"]);
-
-gulp.task("min:js", function () {
- return gulp.src([paths.js, "!" + paths.minJs], { base: "." })
- .pipe(concat(paths.concatJsDest))
- .pipe(uglify())
- .pipe(gulp.dest("."));
-});
-
-gulp.task("min:css", function () {
- return gulp.src([paths.css, "!" + paths.minCss])
- .pipe(concat(paths.concatCssDest))
- .pipe(cssmin())
- .pipe(gulp.dest("."));
-});
-
-gulp.task("min", ["min:js", "min:css"]);
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/package.json b/TestAssets/TestProjects/ProjectJsonWebTemplate/package.json
deleted file mode 100644
index 4bb6c884c..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/package.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "webapplication",
- "version": "0.0.0",
- "private": true,
- "devDependencies": {
- "gulp": "3.9.1",
- "gulp-concat": "2.6.0",
- "gulp-cssmin": "0.1.7",
- "gulp-uglify": "1.5.3",
- "rimraf": "2.5.2"
- }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/project.json b/TestAssets/TestProjects/ProjectJsonWebTemplate/project.json
deleted file mode 100644
index e82212642..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/project.json
+++ /dev/null
@@ -1,113 +0,0 @@
-{
- "userSecretsId": "aspnet-WebApplication-0799fe3e-6eaf-4c5f-b40e-7c6bfd5dfa9a",
-
- "dependencies": {
- "Microsoft.NETCore.App": {
- "version": "1.1.0",
- "type": "platform"
- },
- "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0",
- "Microsoft.AspNetCore.Diagnostics": "1.0.0",
- "Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.0.0",
- "Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.0.0",
- "Microsoft.AspNetCore.Mvc": "1.0.1",
- "Microsoft.AspNetCore.Razor.Tools": {
- "version": "1.0.0-preview2-final",
- "type": "build"
- },
- "Microsoft.AspNetCore.Routing": "1.0.1",
- "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
- "Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
- "Microsoft.AspNetCore.StaticFiles": "1.0.0",
- "Microsoft.EntityFrameworkCore.Sqlite": "1.0.1",
- "Microsoft.EntityFrameworkCore.Tools": {
- "version": "1.0.0-preview2-final",
- "type": "build"
- },
- "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
- "Microsoft.Extensions.Configuration.Json": "1.0.0",
- "Microsoft.Extensions.Configuration.UserSecrets": "1.0.0",
- "Microsoft.Extensions.Logging": "1.0.0",
- "Microsoft.Extensions.Logging.Console": "1.0.0",
- "Microsoft.Extensions.Logging.Debug": "1.0.0",
- "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0",
- "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
- "version": "1.0.0-preview2-update1",
- "type": "build"
- },
- "Microsoft.VisualStudio.Web.CodeGenerators.Mvc": {
- "version": "1.0.0-preview2-update1",
- "type": "build"
- }
- },
-
- "tools": {
- "Microsoft.AspNetCore.Razor.Tools": {
- "version": "1.0.0-preview2-final",
- "imports": "portable-net45+win8+dnxcore50"
- },
- "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
- "version": "1.0.0-preview2-final",
- "imports": "portable-net45+win8+dnxcore50"
- },
- "Microsoft.EntityFrameworkCore.Tools": {
- "version": "1.0.0-preview2-final",
- "imports": [
- "portable-net45+win8+dnxcore50",
- "portable-net45+win8"
- ]
- },
- "Microsoft.Extensions.SecretManager.Tools": {
- "version": "1.0.0-preview2-final",
- "imports": "portable-net45+win8+dnxcore50"
- },
- "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
- "version": "1.0.0-preview2-final",
- "imports": [
- "portable-net45+win8+dnxcore50",
- "portable-net45+win8"
- ]
- }
- },
-
- "frameworks": {
- "netcoreapp1.1": {
- "imports": [
- "dotnet5.6",
- "dnxcore50",
- "portable-net45+win8"
- ]
- }
- },
-
- "buildOptions": {
- "debugType": "portable",
- "emitEntryPoint": true,
- "preserveCompilationContext": true
- },
-
- "runtimeOptions": {
- "configProperties": {
- "System.GC.Server": true
- }
- },
-
- "publishOptions": {
- "include": [
- "wwwroot",
- "**/*.cshtml",
- "appsettings.json",
- "web.config",
- "README.md"
- ]
- },
-
- "scripts": {
- "prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ],
- "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
- },
-
- "tooling": {
- "defaultNamespace": "WebApplication"
- }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/web.config b/TestAssets/TestProjects/ProjectJsonWebTemplate/web.config
deleted file mode 100644
index a8d667275..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/web.config
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/css/site.css b/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/css/site.css
deleted file mode 100644
index 6baa84da1..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/css/site.css
+++ /dev/null
@@ -1,44 +0,0 @@
-body {
- padding-top: 50px;
- padding-bottom: 20px;
-}
-
-/* Wrapping element */
-/* Set some basic padding to keep content from hitting the edges */
-.body-content {
- padding-left: 15px;
- padding-right: 15px;
-}
-
-/* Set widths on the form inputs since otherwise they're 100% wide */
-input,
-select,
-textarea {
- max-width: 280px;
-}
-
-/* Carousel */
-.carousel-caption p {
- font-size: 20px;
- line-height: 1.4;
-}
-
-/* buttons and links extension to use brackets: [ click me ] */
-.btn-bracketed::before {
- display:inline-block;
- content: "[";
- padding-right: 0.5em;
-}
-.btn-bracketed::after {
- display:inline-block;
- content: "]";
- padding-left: 0.5em;
-}
-
-/* Hide/rearrange for smaller screens */
-@media screen and (max-width: 767px) {
- /* Hide captions */
- .carousel-caption {
- display: none
- }
-}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/css/site.min.css b/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/css/site.min.css
deleted file mode 100644
index c8f600ac5..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/css/site.min.css
+++ /dev/null
@@ -1 +0,0 @@
-body{padding-top:50px;padding-bottom:20px}.body-content{padding-left:15px;padding-right:15px}input,select,textarea{max-width:280px}.carousel-caption p{font-size:20px;line-height:1.4}.btn-bracketed::before{display:inline-block;content:"[";padding-right:.5em}.btn-bracketed::after{display:inline-block;content:"]";padding-left:.5em}@media screen and (max-width:767px){.carousel-caption{display:none}}
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/favicon.ico b/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/favicon.ico
deleted file mode 100644
index a3a799985..000000000
Binary files a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/favicon.ico and /dev/null differ
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner1.svg b/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner1.svg
deleted file mode 100644
index 1ab32b60b..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner1.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner2.svg b/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner2.svg
deleted file mode 100644
index 9679c604d..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner2.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner3.svg b/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner3.svg
deleted file mode 100644
index 9be2c2503..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner3.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner4.svg b/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner4.svg
deleted file mode 100644
index 38b3d7cd1..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/images/banner4.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/js/site.js b/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/js/site.js
deleted file mode 100644
index e069226a1..000000000
--- a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/js/site.js
+++ /dev/null
@@ -1 +0,0 @@
-// Write your Javascript code.
diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/js/site.min.js b/TestAssets/TestProjects/ProjectJsonWebTemplate/wwwroot/js/site.min.js
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/global.json b/TestAssets/TestProjects/ProjectsWithGlobalJson/global.json
deleted file mode 100644
index 2b2293b26..000000000
--- a/TestAssets/TestProjects/ProjectsWithGlobalJson/global.json
+++ /dev/null
@@ -1,4 +0,0 @@
-
-{
- "projects": [ "src", "src with spaces", "src without projects" ]
-}
\ No newline at end of file
diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/.noautobuild b/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/Program.cs b/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/Program.cs
deleted file mode 100644
index db2c801fd..000000000
--- a/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/Program.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Diagnostics;
-
-namespace TestApp
-{
- public class Program
- {
- public static int Main(string[] args)
- {
- Console.WriteLine("This string came from ProjectJ");
- string helperStr = TestLibrary.ProjectI.GetMessage();
- Console.WriteLine(helperStr);
- return 0;
- }
- }
-}
diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json b/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json
deleted file mode 100644
index 89299337a..000000000
--- a/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "emitEntryPoint": true,
- "preserveCompilationContext": true
- },
- "dependencies": {
- "ProjectI": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "Microsoft.NETCore.App": {
- "type": "platform",
- "version": "1.1.1"
- }
- },
- "frameworks": {
- "netcoreapp1.1": {}
- }
-}
diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/.noautobuild b/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/Program.cs b/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/Program.cs
deleted file mode 100644
index 27e455e98..000000000
--- a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/Program.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Diagnostics;
-
-namespace TestApp
-{
- public class Program
- {
- public static int Main(string[] args)
- {
- Console.WriteLine("This string came from ProjectH");
- string helperStr = TestLibrary.ProjectI.GetMessage();
- Console.WriteLine(helperStr);
- return 0;
- }
- }
-}
diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/project.json b/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/project.json
deleted file mode 100644
index 003e499f1..000000000
--- a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/project.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "emitEntryPoint": true,
- "preserveCompilationContext": true
- },
- "dependencies": {
- "ProjectI": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "Microsoft.NETCore.App": {
- "type": "platform",
- "version": "1.1.0"
- }
- },
- "frameworks": {
- "netcoreapp1.1": {}
- }
-}
diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectI/.noautobuild b/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectI/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectI/Helper.cs b/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectI/Helper.cs
deleted file mode 100644
index d92100c45..000000000
--- a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectI/Helper.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace TestLibrary
-{
- public static class ProjectI
- {
- public static string GetMessage()
- {
- return "This string came from ProjectI";
- }
- }
-}
diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectI/project.json b/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectI/project.json
deleted file mode 100644
index 48bc772d8..000000000
--- a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectI/project.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "nowarn": [
- "CS1591"
- ],
- "xmlDoc": true,
- "additionalArguments": [
- "-highentropyva+"
- ]
- },
- "dependencies": {
- "NETStandard.Library": "1.6.0"
- },
- "frameworks": {
- "netstandard1.5": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/CsprojLibrary1.csproj b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/CsprojLibrary1.csproj
deleted file mode 100644
index cb6b4e876..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/CsprojLibrary1.csproj
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
- Library
- netstandard1.5
-
-
-
-
-
-
-
-
-
-
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/Helper.cs b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/Helper.cs
deleted file mode 100644
index a9734c078..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/Helper.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace TestLibrary
-{
- public static class ProjectC
- {
- public static string GetMessage()
- {
- return "This string came from CsprojLibrary1";
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/project.json
deleted file mode 100644
index bc57c51ff..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/project.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "dependencies": {},
- "frameworks": {
- "netstandard1.5": {
- "dependencies": {
- "Microsoft.NET.Sdk": "1.0.0-alpha-20161104-2",
- "NETStandard.Library": "1.6.0"
- }
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/CsprojLibrary2.csproj b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/CsprojLibrary2.csproj
deleted file mode 100644
index cb6b4e876..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/CsprojLibrary2.csproj
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
- Library
- netstandard1.5
-
-
-
-
-
-
-
-
-
-
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/Helper.cs b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/Helper.cs
deleted file mode 100644
index d32ed6e6b..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/Helper.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace TestLibrary
-{
- public static class ProjectC
- {
- public static string GetMessage()
- {
- return "This string came from CsprojLibrary2";
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/project.json
deleted file mode 100644
index bc57c51ff..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/project.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "dependencies": {},
- "frameworks": {
- "netstandard1.5": {
- "dependencies": {
- "Microsoft.NET.Sdk": "1.0.0-alpha-20161104-2",
- "NETStandard.Library": "1.6.0"
- }
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/CsprojLibrary3.csproj b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/CsprojLibrary3.csproj
deleted file mode 100644
index cb6b4e876..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/CsprojLibrary3.csproj
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
- Library
- netstandard1.5
-
-
-
-
-
-
-
-
-
-
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/Helper.cs b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/Helper.cs
deleted file mode 100644
index d7784a65d..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/Helper.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace TestLibrary
-{
- public static class ProjectC
- {
- public static string GetMessage()
- {
- return "This string came from CsprojLibrary3";
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/project.json
deleted file mode 100644
index bc57c51ff..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/project.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "dependencies": {},
- "frameworks": {
- "netstandard1.5": {
- "dependencies": {
- "Microsoft.NET.Sdk": "1.0.0-alpha-20161104-2",
- "NETStandard.Library": "1.6.0"
- }
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/Program.cs b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/Program.cs
deleted file mode 100644
index 1d1f78b84..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/Program.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Diagnostics;
-using TestLibrary;
-
-namespace TestApp
-{
- public class Program
- {
- public static int Main(string[] args)
- {
- Console.WriteLine("This string came from ProjectA");
- Console.WriteLine($"{ProjectD.GetMessage()}");
- return 0;
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/project.json
deleted file mode 100644
index ab0e331eb..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/project.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "emitEntryPoint": true,
- "preserveCompilationContext": true
- },
- "dependencies": {
- "ProjectB": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "ProjectC": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "Microsoft.NETCore.App": "1.1.0"
- },
- "frameworks": {
- "netcoreapp1.1": {}
- },
- "runtimes": {
- "win7-x64": {},
- "win7-x86": {},
- "osx.10.10-x64": {},
- "osx.10.11-x64": {},
- "ubuntu.14.04-x64": {},
- "ubuntu.16.04-x64": {},
- "centos.7-x64": {},
- "rhel.7.2-x64": {},
- "debian.8-x64": {},
- "fedora.23-x64": {},
- "opensuse.13.2-x64": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectB/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectB/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectB/Helper.cs b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectB/Helper.cs
deleted file mode 100644
index 5a986d891..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectB/Helper.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace TestLibrary
-{
- public static class ProjectB
- {
- public static string GetMessage()
- {
- return "This string came from ProjectB";
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectB/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectB/project.json
deleted file mode 100644
index 1eb055cca..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectB/project.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "nowarn": [
- "CS1591"
- ],
- "xmlDoc": true,
- "additionalArguments": [
- "-highentropyva+"
- ]
- },
- "dependencies": {
- "ProjectC": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "ProjectD": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "NETStandard.Library": "1.6.0"
- },
- "frameworks": {
- "netstandard1.5": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectC/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectC/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectC/Helper.cs b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectC/Helper.cs
deleted file mode 100644
index 317f57fc2..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectC/Helper.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace TestLibrary
-{
- public static class ProjectC
- {
- public static string GetMessage()
- {
- return "This string came from ProjectC";
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectC/ProjectC.xproj b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectC/ProjectC.xproj
deleted file mode 100644
index 47fef9e1d..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectC/ProjectC.xproj
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- 14.0
- $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
-
-
-
- 084222f1-7909-48f4-81e8-a97398b26b1c
- ProjectC
- obj
- bin
- v4.6
-
-
- 2.0
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectC/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectC/project.json
deleted file mode 100644
index 3dab0b9a6..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectC/project.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "nowarn": [
- "CS1591"
- ],
- "xmlDoc": true,
- "additionalArguments": [
- "-highentropyva+"
- ]
- },
- "dependencies": {
- "ProjectD": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "ProjectE": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "CsprojLibrary1": {
- "target": "project"
- },
- "CsprojLibrary2": {
- "target": "project"
- },
- "NETStandard.Library": "1.6.0"
- },
- "frameworks": {
- "netstandard1.5": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectD/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectD/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectD/Helper.cs b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectD/Helper.cs
deleted file mode 100644
index 0c0422913..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectD/Helper.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace TestLibrary
-{
- public static class ProjectD
- {
- public static string GetMessage()
- {
- return "This string came from ProjectD";
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectD/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectD/project.json
deleted file mode 100644
index 48bc772d8..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectD/project.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "nowarn": [
- "CS1591"
- ],
- "xmlDoc": true,
- "additionalArguments": [
- "-highentropyva+"
- ]
- },
- "dependencies": {
- "NETStandard.Library": "1.6.0"
- },
- "frameworks": {
- "netstandard1.5": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectE/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectE/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectE/Helper.cs b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectE/Helper.cs
deleted file mode 100644
index b91a23164..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectE/Helper.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace TestLibrary
-{
- public static class ProjectE
- {
- public static string GetMessage()
- {
- return "This string came from ProjectE";
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectE/ProjectE.xproj b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectE/ProjectE.xproj
deleted file mode 100644
index 3cd98ff52..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectE/ProjectE.xproj
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- 14.0
- $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
-
-
-
- 7fb8f138-ffb0-4eec-af9e-2e6ff9979593
- ProjectE
- obj
- bin
- v4.6
-
-
- 2.0
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectE/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectE/project.json
deleted file mode 100644
index f21f103f3..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectE/project.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "nowarn": [
- "CS1591"
- ],
- "xmlDoc": true,
- "additionalArguments": [
- "-highentropyva+"
- ]
- },
- "dependencies": {
- "CsprojLibrary2": {
- "target": "project"
- },
- "CsprojLibrary3": {
- "target": "project"
- },
- "NETStandard.Library": "1.6.0"
- },
- "frameworks": {
- "netstandard1.5": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/Program.cs b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/Program.cs
deleted file mode 100644
index 5f68b57d5..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/Program.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Diagnostics;
-
-namespace TestApp
-{
- public class Program
- {
- public static int Main(string[] args)
- {
- Console.WriteLine("This string came from ProjectF");
- string helperStr = TestLibrary.ProjectG.GetMessage();
- Console.WriteLine(helperStr);
- return 0;
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/project.json
deleted file mode 100644
index 585da58f6..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/project.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "emitEntryPoint": true,
- "preserveCompilationContext": true
- },
- "dependencies": {
- "ProjectG": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "Microsoft.NETCore.App": {
- "type": "platform",
- "version": "1.1.0"
- }
- },
- "frameworks": {
- "netcoreapp1.1": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectG/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectG/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectG/Helper.cs b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectG/Helper.cs
deleted file mode 100644
index 055698989..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectG/Helper.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace TestLibrary
-{
- public static class ProjectG
- {
- public static string GetMessage()
- {
- return "This string came from ProjectG";
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectG/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectG/project.json
deleted file mode 100644
index 48bc772d8..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectG/project.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "nowarn": [
- "CS1591"
- ],
- "xmlDoc": true,
- "additionalArguments": [
- "-highentropyva+"
- ]
- },
- "dependencies": {
- "NETStandard.Library": "1.6.0"
- },
- "frameworks": {
- "netstandard1.5": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/global.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/global.json
deleted file mode 100644
index 2b2293b26..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/global.json
+++ /dev/null
@@ -1,4 +0,0 @@
-
-{
- "projects": [ "src", "src with spaces", "src without projects" ]
-}
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/Program.cs b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/Program.cs
deleted file mode 100644
index db2c801fd..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/Program.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Diagnostics;
-
-namespace TestApp
-{
- public class Program
- {
- public static int Main(string[] args)
- {
- Console.WriteLine("This string came from ProjectJ");
- string helperStr = TestLibrary.ProjectI.GetMessage();
- Console.WriteLine(helperStr);
- return 0;
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json
deleted file mode 100644
index 003e499f1..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "emitEntryPoint": true,
- "preserveCompilationContext": true
- },
- "dependencies": {
- "ProjectI": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "Microsoft.NETCore.App": {
- "type": "platform",
- "version": "1.1.0"
- }
- },
- "frameworks": {
- "netcoreapp1.1": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/Program.cs b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/Program.cs
deleted file mode 100644
index 27e455e98..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/Program.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Diagnostics;
-
-namespace TestApp
-{
- public class Program
- {
- public static int Main(string[] args)
- {
- Console.WriteLine("This string came from ProjectH");
- string helperStr = TestLibrary.ProjectI.GetMessage();
- Console.WriteLine(helperStr);
- return 0;
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/project.json
deleted file mode 100644
index 003e499f1..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/project.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "emitEntryPoint": true,
- "preserveCompilationContext": true
- },
- "dependencies": {
- "ProjectI": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "Microsoft.NETCore.App": {
- "type": "platform",
- "version": "1.1.0"
- }
- },
- "frameworks": {
- "netcoreapp1.1": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectI/.noautobuild b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectI/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectI/Helper.cs b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectI/Helper.cs
deleted file mode 100644
index d92100c45..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectI/Helper.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace TestLibrary
-{
- public static class ProjectI
- {
- public static string GetMessage()
- {
- return "This string came from ProjectI";
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectI/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectI/project.json
deleted file mode 100644
index 48bc772d8..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectI/project.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "nowarn": [
- "CS1591"
- ],
- "xmlDoc": true,
- "additionalArguments": [
- "-highentropyva+"
- ]
- },
- "dependencies": {
- "NETStandard.Library": "1.6.0"
- },
- "frameworks": {
- "netstandard1.5": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/global.json b/TestAssets/TestProjects/TestAppDependencyGraph/global.json
deleted file mode 100644
index 9e26dfeeb..000000000
--- a/TestAssets/TestProjects/TestAppDependencyGraph/global.json
+++ /dev/null
@@ -1 +0,0 @@
-{}
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithContents/Program.cs b/TestAssets/TestProjects/TestAppWithContents/Program.cs
deleted file mode 100644
index dc54ad2be..000000000
--- a/TestAssets/TestProjects/TestAppWithContents/Program.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace ConsoleApplication
-{
- public class Program
- {
- public static int Main(string[] args)
- {
- Console.WriteLine("Hello World!");
- return 0;
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithContents/TestAppWithContents.xproj b/TestAssets/TestProjects/TestAppWithContents/TestAppWithContents.xproj
deleted file mode 100644
index fa06ff0b3..000000000
--- a/TestAssets/TestProjects/TestAppWithContents/TestAppWithContents.xproj
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- 14.0.23107
- $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
-
-
-
- 0138cb8f-4aa9-4029-a21e-c07c30f425ba
- TestAppWithContents
- ..\..\..\artifacts\obj\$(MSBuildProjectName)
- ..\..\..\artifacts\
-
-
- 2.0
-
-
-
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithContents/project.json b/TestAssets/TestProjects/TestAppWithContents/project.json
deleted file mode 100644
index b23cbdc8b..000000000
--- a/TestAssets/TestProjects/TestAppWithContents/project.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "emitEntryPoint": true,
- "copyToOutput": {
- "include": "testcontentfile.txt",
- "mappings": {
- "dir/mappingfile.txt":{
- "include": "testcontentfile2.txt"
- },
- "out/": {
- "include": ["Program.cs"],
- "exclude": ["Program.cs"],
- "includeFiles": ["Program.cs"],
- "excludeFiles": ["Program.cs"]
- }
- }
- }
- },
- "dependencies": {
- "Microsoft.NETCore.App": {
- "version": "1.1.0",
- "type": "platform"
- }
- },
- "frameworks": {
- "netcoreapp1.1": {}
- },
- "publishOptions": {
- "include": "testcontentfile.txt"
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithContents/testcontentfile.txt b/TestAssets/TestProjects/TestAppWithContents/testcontentfile.txt
deleted file mode 100644
index 9a1cc0232..000000000
--- a/TestAssets/TestProjects/TestAppWithContents/testcontentfile.txt
+++ /dev/null
@@ -1 +0,0 @@
-This is to test if contents are copied correctly by the dotnet tools
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithContents/testcontentfile2.txt b/TestAssets/TestProjects/TestAppWithContents/testcontentfile2.txt
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppWithEmbeddedResources/Program.cs b/TestAssets/TestProjects/TestAppWithEmbeddedResources/Program.cs
deleted file mode 100755
index 9d31ed2c9..000000000
--- a/TestAssets/TestProjects/TestAppWithEmbeddedResources/Program.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Linq;
-using System.Reflection;
-
-namespace ConsoleApplication
-{
- public class Program
- {
- public static void Main(string[] args)
- {
- var thisAssembly = typeof(Program).GetTypeInfo().Assembly;
- var resources = from resourceName in thisAssembly.GetManifestResourceNames()
- select resourceName;
-
- if (resources.Count() > 1)
- {
- throw new Exception($"{resources.Count()} found in the assembly. Was expecting only 1.");
- }
-
- var resourceNames = string.Join(",", resources);
- Console.WriteLine($"{resources.Count()} Resources Found: {resourceNames}");
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithEmbeddedResources/Resources/Strings.resx b/TestAssets/TestProjects/TestAppWithEmbeddedResources/Resources/Strings.resx
deleted file mode 100644
index 1f24a372f..000000000
--- a/TestAssets/TestProjects/TestAppWithEmbeddedResources/Resources/Strings.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Hello World!
-
-
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithEmbeddedResources/project.json b/TestAssets/TestProjects/TestAppWithEmbeddedResources/project.json
deleted file mode 100755
index 4f97537d9..000000000
--- a/TestAssets/TestProjects/TestAppWithEmbeddedResources/project.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "debugType": "portable",
- "emitEntryPoint": true,
- "embed": [ "Resources/*.resx" ]
- },
- "dependencies": {},
- "frameworks": {
- "netcoreapp1.1": {
- "dependencies": {
- "Microsoft.NETCore.App": {
- "type": "platform",
- "version": "1.1.0"
- }
- },
- "imports": "dnxcore50"
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithExplicitInclude/Program.cs b/TestAssets/TestProjects/TestAppWithExplicitInclude/Program.cs
deleted file mode 100644
index 7e52efa0e..000000000
--- a/TestAssets/TestProjects/TestAppWithExplicitInclude/Program.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-class Program
-{
- static void Main(string[] args)
- {
- Console.WriteLine("Hello World!");
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithExplicitInclude/project.json b/TestAssets/TestProjects/TestAppWithExplicitInclude/project.json
deleted file mode 100644
index bd75d882b..000000000
--- a/TestAssets/TestProjects/TestAppWithExplicitInclude/project.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "debugType": "portable",
- "emitEntryPoint": true,
- "compile": {
- "include": [
- "Program.cs"
- ]
- }
- },
- "dependencies": {},
- "frameworks": {
- "netcoreapp1.1": {
- "dependencies": {
- "Microsoft.NETCore.App": {
- "type": "platform",
- "version": "1.1.0"
- }
- },
- "imports": "dnxcore50"
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/Program.cs b/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/Program.cs
deleted file mode 100644
index 7e52efa0e..000000000
--- a/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/Program.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-class Program
-{
- static void Main(string[] args)
- {
- Console.WriteLine("Hello World!");
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/project.json b/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/project.json
deleted file mode 100644
index 56f3433fc..000000000
--- a/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/project.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "debugType": "portable",
- "emitEntryPoint": true,
- "compile": {
- "include": [
- "**/*.cs"
- ]
- }
- },
- "dependencies": {},
- "frameworks": {
- "netcoreapp1.1": {
- "dependencies": {
- "Microsoft.NETCore.App": {
- "type": "platform",
- "version": "1.1.0"
- }
- },
- "imports": "dnxcore50"
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithLibrary/TestApp/Program.cs b/TestAssets/TestProjects/TestAppWithLibrary/TestApp/Program.cs
deleted file mode 100644
index ac3163a58..000000000
--- a/TestAssets/TestProjects/TestAppWithLibrary/TestApp/Program.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Diagnostics;
-
-namespace TestApp
-{
- public class Program
- {
- public static int Main(string[] args)
- {
- Console.WriteLine(TestLibrary.Helper.GetMessage());
- return 100;
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithLibrary/TestApp/TestApp.xproj b/TestAssets/TestProjects/TestAppWithLibrary/TestApp/TestApp.xproj
deleted file mode 100644
index 53f0c8b7a..000000000
--- a/TestAssets/TestProjects/TestAppWithLibrary/TestApp/TestApp.xproj
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- 14.0.23107
- $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
-
-
-
- 0138cb8f-4aa9-4029-a21e-c07c30f425ba
- TestAppWithContents
- ..\..\..\artifacts\obj\$(MSBuildProjectName)
- ..\..\..\artifacts\
-
-
- 2.0
-
-
-
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithLibrary/TestApp/TestApp.xproj.user b/TestAssets/TestProjects/TestAppWithLibrary/TestApp/TestApp.xproj.user
deleted file mode 100644
index efbe88aa6..000000000
--- a/TestAssets/TestProjects/TestAppWithLibrary/TestApp/TestApp.xproj.user
+++ /dev/null
@@ -1 +0,0 @@
-Ok, it's true. Didn't have an xproj user file handy and needed the file to exist so a test can show it gets moved to backup.
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithLibrary/TestApp/project.json b/TestAssets/TestProjects/TestAppWithLibrary/TestApp/project.json
deleted file mode 100644
index 8edb9fd32..000000000
--- a/TestAssets/TestProjects/TestAppWithLibrary/TestApp/project.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "emitEntryPoint": true,
- "preserveCompilationContext": true
- },
- "dependencies": {
- "TestLibrary": {
- "target": "project",
- "version": "1.0.0-*"
- },
- "Microsoft.NETCore.App": "1.1.0"
- },
- "frameworks": {
- "netcoreapp1.1": {}
- },
- "runtimes": {
- "win7-x64": {},
- "win7-x86": {},
- "osx.10.10-x64": {},
- "osx.10.11-x64": {},
- "ubuntu.14.04-x64": {},
- "ubuntu.16.04-x64": {},
- "centos.7-x64": {},
- "rhel.7.2-x64": {},
- "debian.8-x64": {},
- "fedora.23-x64": {},
- "opensuse.13.2-x64": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/.noautobuild b/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/Helper.cs b/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/Helper.cs
deleted file mode 100644
index 8c643796b..000000000
--- a/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/Helper.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace TestLibrary
-{
- public static class Helper
- {
- ///
- /// Gets the message from the helper. This comment is here to help test XML documentation file generation, please do not remove it.
- ///
- /// A message
- public static string GetMessage()
- {
- return "This string came from the test library!";
- }
-
- public static void SayHi()
- {
- Console.WriteLine("Hello there!");
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/TestLibrary.xproj b/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/TestLibrary.xproj
deleted file mode 100644
index 53f0c8b7a..000000000
--- a/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/TestLibrary.xproj
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- 14.0.23107
- $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
-
-
-
- 0138cb8f-4aa9-4029-a21e-c07c30f425ba
- TestAppWithContents
- ..\..\..\artifacts\obj\$(MSBuildProjectName)
- ..\..\..\artifacts\
-
-
- 2.0
-
-
-
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/TestLibrary.xproj.user b/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/TestLibrary.xproj.user
deleted file mode 100644
index efbe88aa6..000000000
--- a/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/TestLibrary.xproj.user
+++ /dev/null
@@ -1 +0,0 @@
-Ok, it's true. Didn't have an xproj user file handy and needed the file to exist so a test can show it gets moved to backup.
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/project.json b/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/project.json
deleted file mode 100644
index 48bc772d8..000000000
--- a/TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/project.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "nowarn": [
- "CS1591"
- ],
- "xmlDoc": true,
- "additionalArguments": [
- "-highentropyva+"
- ]
- },
- "dependencies": {
- "NETStandard.Library": "1.6.0"
- },
- "frameworks": {
- "netstandard1.5": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithLibrary/global.json b/TestAssets/TestProjects/TestAppWithLibrary/global.json
deleted file mode 100644
index 3a4684c26..000000000
--- a/TestAssets/TestProjects/TestAppWithLibrary/global.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "projects": [ "."]
-}
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithRuntimeOptions/Program.cs b/TestAssets/TestProjects/TestAppWithRuntimeOptions/Program.cs
deleted file mode 100644
index 2130cd0a7..000000000
--- a/TestAssets/TestProjects/TestAppWithRuntimeOptions/Program.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace ConsoleApplication
-{
- public class Program
- {
- public static void Main(string[] args)
- {
- Console.WriteLine("Hello World!");
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithRuntimeOptions/project.json b/TestAssets/TestProjects/TestAppWithRuntimeOptions/project.json
deleted file mode 100644
index 3727b2ece..000000000
--- a/TestAssets/TestProjects/TestAppWithRuntimeOptions/project.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "emitEntryPoint": true
- },
- "dependencies": {
- "Microsoft.NETCore.App": {
- "version": "1.1.0",
- "type": "platform"
- }
- },
- "frameworks": {
- "netcoreapp1.1": {}
- },
- "runtimeOptions": {
- "somethingString": "anything",
- "somethingBoolean": true,
- "someArray": [
- "one",
- "two"
- ],
- "someObject": {
- "someProperty": "someValue"
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithSigning/Program.cs b/TestAssets/TestProjects/TestAppWithSigning/Program.cs
deleted file mode 100644
index 2130cd0a7..000000000
--- a/TestAssets/TestProjects/TestAppWithSigning/Program.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace ConsoleApplication
-{
- public class Program
- {
- public static void Main(string[] args)
- {
- Console.WriteLine("Hello World!");
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestAppWithSigning/key.snk b/TestAssets/TestProjects/TestAppWithSigning/key.snk
deleted file mode 100644
index fe413a523..000000000
Binary files a/TestAssets/TestProjects/TestAppWithSigning/key.snk and /dev/null differ
diff --git a/TestAssets/TestProjects/TestAppWithSigning/project.json b/TestAssets/TestProjects/TestAppWithSigning/project.json
deleted file mode 100644
index fa84e6e50..000000000
--- a/TestAssets/TestProjects/TestAppWithSigning/project.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "emitEntryPoint": true,
- "keyFile": "./key.snk"
- },
- "dependencies": {
- "Microsoft.NETCore.App": {
- "version": "1.1.0",
- "type": "platform"
- },
- },
- "frameworks": {
- "netcoreapp1.1": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestLibraryWithAnalyzer/.noautobuild b/TestAssets/TestProjects/TestLibraryWithAnalyzer/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestLibraryWithAnalyzer/Program.cs b/TestAssets/TestProjects/TestLibraryWithAnalyzer/Program.cs
deleted file mode 100644
index 0eeb0eb96..000000000
--- a/TestAssets/TestProjects/TestLibraryWithAnalyzer/Program.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-
-namespace ConsoleApplication
-{
- public class Program
- {
- public static void Main(string[] args)
- {
- Console.WriteLine("Hello World!");
- }
- }
-
- public class TT : Attribute
- {}
-}
diff --git a/TestAssets/TestProjects/TestLibraryWithAnalyzer/project.json b/TestAssets/TestProjects/TestLibraryWithAnalyzer/project.json
deleted file mode 100644
index 73a907775..000000000
--- a/TestAssets/TestProjects/TestLibraryWithAnalyzer/project.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "version": "1.0.0-*",
- "dependencies": {
- "NETStandard.Library": "1.6.0",
- "System.Runtime.Analyzers": {
- "version": "1.1.0",
- "type": "build"
- }
- },
- "frameworks": {
- "netstandard1.5": {}
- }
-}
diff --git a/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/.noautobuild b/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/.noautobuild
deleted file mode 100644
index e69de29bb..000000000
diff --git a/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/Program.cs b/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/Program.cs
deleted file mode 100644
index 4582f6761..000000000
--- a/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/Program.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Xml;
-
-namespace ConsoleApplication
-{
- public class Program
- {
- public static void Main()
- {
- Console.WriteLine("Hello World!");
- }
- }
-}
diff --git a/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/project.json b/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/project.json
deleted file mode 100644
index 33104dede..000000000
--- a/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/project.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "version": "1.0.0-*",
- "buildOptions": {
- "emitEntryPoint": false
- },
- "dependencies": {},
- "frameworks": {
- "netcoreapp1.0": {
- "imports": "dnxcore50",
- "dependencies": {
- "NETStandard.Library": "1.6.0"
- }
- },
- "netstandard1.5": {
- "imports": "dnxcore50",
- "dependencies": {
- "NETStandard.Library": "1.6.0"
- }
- }
- }
-}
diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/.bowerrc b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/.bowerrc
deleted file mode 100755
index 6406626ab..000000000
--- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/.bowerrc
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "directory": "wwwroot/lib"
-}
diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/.gitignore b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/.gitignore
deleted file mode 100755
index 0ca27f04e..000000000
--- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/.gitignore
+++ /dev/null
@@ -1,234 +0,0 @@
-## Ignore Visual Studio temporary files, build results, and
-## files generated by popular Visual Studio add-ons.
-
-# User-specific files
-*.suo
-*.user
-*.userosscache
-*.sln.docstates
-
-# User-specific files (MonoDevelop/Xamarin Studio)
-*.userprefs
-
-# Build results
-[Dd]ebug/
-[Dd]ebugPublic/
-[Rr]elease/
-[Rr]eleases/
-x64/
-x86/
-build/
-bld/
-[Bb]in/
-[Oo]bj/
-
-# Visual Studio 2015 cache/options directory
-.vs/
-# Uncomment if you have tasks that create the project's static files in wwwroot
-#wwwroot/
-
-# MSTest test Results
-[Tt]est[Rr]esult*/
-[Bb]uild[Ll]og.*
-
-# NUNIT
-*.VisualState.xml
-TestResult.xml
-
-# Build Results of an ATL Project
-[Dd]ebugPS/
-[Rr]eleasePS/
-dlldata.c
-
-# DNX
-project.lock.json
-artifacts/
-
-*_i.c
-*_p.c
-*_i.h
-*.ilk
-*.meta
-*.obj
-*.pch
-*.pdb
-*.pgc
-*.pgd
-*.rsp
-*.sbr
-*.tlb
-*.tli
-*.tlh
-*.tmp
-*.tmp_proj
-*.log
-*.vspscc
-*.vssscc
-.builds
-*.pidb
-*.svclog
-*.scc
-
-# Chutzpah Test files
-_Chutzpah*
-
-# Visual C++ cache files
-ipch/
-*.aps
-*.ncb
-*.opendb
-*.opensdf
-*.sdf
-*.cachefile
-
-# Visual Studio profiler
-*.psess
-*.vsp
-*.vspx
-*.sap
-
-# TFS 2012 Local Workspace
-$tf/
-
-# Guidance Automation Toolkit
-*.gpState
-
-# ReSharper is a .NET coding add-in
-_ReSharper*/
-*.[Rr]e[Ss]harper
-*.DotSettings.user
-
-# JustCode is a .NET coding add-in
-.JustCode
-
-# TeamCity is a build add-in
-_TeamCity*
-
-# DotCover is a Code Coverage Tool
-*.dotCover
-
-# NCrunch
-_NCrunch_*
-.*crunch*.local.xml
-nCrunchTemp_*
-
-# MightyMoose
-*.mm.*
-AutoTest.Net/
-
-# Web workbench (sass)
-.sass-cache/
-
-# Installshield output folder
-[Ee]xpress/
-
-# DocProject is a documentation generator add-in
-DocProject/buildhelp/
-DocProject/Help/*.HxT
-DocProject/Help/*.HxC
-DocProject/Help/*.hhc
-DocProject/Help/*.hhk
-DocProject/Help/*.hhp
-DocProject/Help/Html2
-DocProject/Help/html
-
-# Click-Once directory
-publish/
-
-# Publish Web Output
-*.[Pp]ublish.xml
-*.azurePubxml
-# TODO: Comment the next line if you want to checkin your web deploy settings
-# but database connection strings (with potential passwords) will be unencrypted
-*.pubxml
-*.publishproj
-
-# NuGet Packages
-*.nupkg
-# The packages folder can be ignored because of Package Restore
-**/packages/*
-# except build/, which is used as an MSBuild target.
-!**/packages/build/
-# Uncomment if necessary however generally it will be regenerated when needed
-#!**/packages/repositories.config
-
-# Microsoft Azure Build Output
-csx/
-*.build.csdef
-
-# Microsoft Azure Emulator
-ecf/
-rcf/
-
-# Microsoft Azure ApplicationInsights config file
-ApplicationInsights.config
-
-# Windows Store app package directory
-AppPackages/
-BundleArtifacts/
-
-# Visual Studio cache files
-# files ending in .cache can be ignored
-*.[Cc]ache
-# but keep track of directories ending in .cache
-!*.[Cc]ache/
-
-# Others
-ClientBin/
-~$*
-*~
-*.dbmdl
-*.dbproj.schemaview
-*.pfx
-*.publishsettings
-node_modules/
-orleans.codegen.cs
-
-# RIA/Silverlight projects
-Generated_Code/
-
-# Backup & report files from converting an old project file
-# to a newer Visual Studio version. Backup files are not needed,
-# because we have git ;-)
-_UpgradeReport_Files/
-Backup*/
-UpgradeLog*.XML
-UpgradeLog*.htm
-
-# SQL Server files
-*.mdf
-*.ldf
-
-# Business Intelligence projects
-*.rdl.data
-*.bim.layout
-*.bim_*.settings
-
-# Microsoft Fakes
-FakesAssemblies/
-
-# GhostDoc plugin setting file
-*.GhostDoc.xml
-
-# Node.js Tools for Visual Studio
-.ntvs_analysis.dat
-
-# Visual Studio 6 build log
-*.plg
-
-# Visual Studio 6 workspace options file
-*.opt
-
-# Visual Studio LightSwitch build output
-**/*.HTMLClient/GeneratedArtifacts
-**/*.DesktopClient/GeneratedArtifacts
-**/*.DesktopClient/ModelManifest.xml
-**/*.Server/GeneratedArtifacts
-**/*.Server/ModelManifest.xml
-_Pvt_Extensions
-
-# Paket dependency manager
-.paket/paket.exe
-
-# FAKE - F# Make
-.fake/
diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/AccountController.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/AccountController.cs
deleted file mode 100755
index a6b81482d..000000000
--- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/AccountController.cs
+++ /dev/null
@@ -1,471 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Security.Claims;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Identity;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Mvc.Rendering;
-using Microsoft.Extensions.Logging;
-using WebApplication.Models;
-using WebApplication.Models.AccountViewModels;
-using WebApplication.Services;
-
-namespace WebApplication.Controllers
-{
- [Authorize]
- public class AccountController : Controller
- {
- private readonly UserManager _userManager;
- private readonly SignInManager _signInManager;
- private readonly IEmailSender _emailSender;
- private readonly ISmsSender _smsSender;
- private readonly ILogger _logger;
-
- public AccountController(
- UserManager userManager,
- SignInManager signInManager,
- IEmailSender emailSender,
- ISmsSender smsSender,
- ILoggerFactory loggerFactory)
- {
- _userManager = userManager;
- _signInManager = signInManager;
- _emailSender = emailSender;
- _smsSender = smsSender;
- _logger = loggerFactory.CreateLogger();
- }
-
- //
- // GET: /Account/Login
- [HttpGet]
- [AllowAnonymous]
- public IActionResult Login(string returnUrl = null)
- {
- ViewData["ReturnUrl"] = returnUrl;
- return View();
- }
-
- //
- // POST: /Account/Login
- [HttpPost]
- [AllowAnonymous]
- [ValidateAntiForgeryToken]
- public async Task Login(LoginViewModel model, string returnUrl = null)
- {
- ViewData["ReturnUrl"] = returnUrl;
- if (ModelState.IsValid)
- {
- // This doesn't count login failures towards account lockout
- // To enable password failures to trigger account lockout, set lockoutOnFailure: true
- var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, lockoutOnFailure: false);
- if (result.Succeeded)
- {
- _logger.LogInformation(1, "User logged in.");
- return RedirectToLocal(returnUrl);
- }
- if (result.RequiresTwoFactor)
- {
- return RedirectToAction(nameof(SendCode), new { ReturnUrl = returnUrl, RememberMe = model.RememberMe });
- }
- if (result.IsLockedOut)
- {
- _logger.LogWarning(2, "User account locked out.");
- return View("Lockout");
- }
- else
- {
- ModelState.AddModelError(string.Empty, "Invalid login attempt.");
- return View(model);
- }
- }
-
- // If we got this far, something failed, redisplay form
- return View(model);
- }
-
- //
- // GET: /Account/Register
- [HttpGet]
- [AllowAnonymous]
- public IActionResult Register(string returnUrl = null)
- {
- ViewData["ReturnUrl"] = returnUrl;
- return View();
- }
-
- //
- // POST: /Account/Register
- [HttpPost]
- [AllowAnonymous]
- [ValidateAntiForgeryToken]
- public async Task Register(RegisterViewModel model, string returnUrl = null)
- {
- ViewData["ReturnUrl"] = returnUrl;
- if (ModelState.IsValid)
- {
- var user = new ApplicationUser { UserName = model.Email, Email = model.Email };
- var result = await _userManager.CreateAsync(user, model.Password);
- if (result.Succeeded)
- {
- // For more information on how to enable account confirmation and password reset please visit https://go.microsoft.com/fwlink/?LinkID=532713
- // Send an email with this link
- //var code = await _userManager.GenerateEmailConfirmationTokenAsync(user);
- //var callbackUrl = Url.Action("ConfirmEmail", "Account", new { userId = user.Id, code = code }, protocol: HttpContext.Request.Scheme);
- //await _emailSender.SendEmailAsync(model.Email, "Confirm your account",
- // $"Please confirm your account by clicking this link: link");
- await _signInManager.SignInAsync(user, isPersistent: false);
- _logger.LogInformation(3, "User created a new account with password.");
- return RedirectToLocal(returnUrl);
- }
- AddErrors(result);
- }
-
- // If we got this far, something failed, redisplay form
- return View(model);
- }
-
- //
- // POST: /Account/LogOff
- [HttpPost]
- [ValidateAntiForgeryToken]
- public async Task LogOff()
- {
- await _signInManager.SignOutAsync();
- _logger.LogInformation(4, "User logged out.");
- return RedirectToAction(nameof(HomeController.Index), "Home");
- }
-
- //
- // POST: /Account/ExternalLogin
- [HttpPost]
- [AllowAnonymous]
- [ValidateAntiForgeryToken]
- public IActionResult ExternalLogin(string provider, string returnUrl = null)
- {
- // Request a redirect to the external login provider.
- var redirectUrl = Url.Action("ExternalLoginCallback", "Account", new { ReturnUrl = returnUrl });
- var properties = _signInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl);
- return Challenge(properties, provider);
- }
-
- //
- // GET: /Account/ExternalLoginCallback
- [HttpGet]
- [AllowAnonymous]
- public async Task ExternalLoginCallback(string returnUrl = null, string remoteError = null)
- {
- if (remoteError != null)
- {
- ModelState.AddModelError(string.Empty, $"Error from external provider: {remoteError}");
- return View(nameof(Login));
- }
- var info = await _signInManager.GetExternalLoginInfoAsync();
- if (info == null)
- {
- return RedirectToAction(nameof(Login));
- }
-
- // Sign in the user with this external login provider if the user already has a login.
- var result = await _signInManager.ExternalLoginSignInAsync(info.LoginProvider, info.ProviderKey, isPersistent: false);
- if (result.Succeeded)
- {
- _logger.LogInformation(5, "User logged in with {Name} provider.", info.LoginProvider);
- return RedirectToLocal(returnUrl);
- }
- if (result.RequiresTwoFactor)
- {
- return RedirectToAction(nameof(SendCode), new { ReturnUrl = returnUrl });
- }
- if (result.IsLockedOut)
- {
- return View("Lockout");
- }
- else
- {
- // If the user does not have an account, then ask the user to create an account.
- ViewData["ReturnUrl"] = returnUrl;
- ViewData["LoginProvider"] = info.LoginProvider;
- var email = info.Principal.FindFirstValue(ClaimTypes.Email);
- return View("ExternalLoginConfirmation", new ExternalLoginConfirmationViewModel { Email = email });
- }
- }
-
- //
- // POST: /Account/ExternalLoginConfirmation
- [HttpPost]
- [AllowAnonymous]
- [ValidateAntiForgeryToken]
- public async Task ExternalLoginConfirmation(ExternalLoginConfirmationViewModel model, string returnUrl = null)
- {
- if (ModelState.IsValid)
- {
- // Get the information about the user from the external login provider
- var info = await _signInManager.GetExternalLoginInfoAsync();
- if (info == null)
- {
- return View("ExternalLoginFailure");
- }
- var user = new ApplicationUser { UserName = model.Email, Email = model.Email };
- var result = await _userManager.CreateAsync(user);
- if (result.Succeeded)
- {
- result = await _userManager.AddLoginAsync(user, info);
- if (result.Succeeded)
- {
- await _signInManager.SignInAsync(user, isPersistent: false);
- _logger.LogInformation(6, "User created an account using {Name} provider.", info.LoginProvider);
- return RedirectToLocal(returnUrl);
- }
- }
- AddErrors(result);
- }
-
- ViewData["ReturnUrl"] = returnUrl;
- return View(model);
- }
-
- // GET: /Account/ConfirmEmail
- [HttpGet]
- [AllowAnonymous]
- public async Task ConfirmEmail(string userId, string code)
- {
- if (userId == null || code == null)
- {
- return View("Error");
- }
- var user = await _userManager.FindByIdAsync(userId);
- if (user == null)
- {
- return View("Error");
- }
- var result = await _userManager.ConfirmEmailAsync(user, code);
- return View(result.Succeeded ? "ConfirmEmail" : "Error");
- }
-
- //
- // GET: /Account/ForgotPassword
- [HttpGet]
- [AllowAnonymous]
- public IActionResult ForgotPassword()
- {
- return View();
- }
-
- //
- // POST: /Account/ForgotPassword
- [HttpPost]
- [AllowAnonymous]
- [ValidateAntiForgeryToken]
- public async Task ForgotPassword(ForgotPasswordViewModel model)
- {
- if (ModelState.IsValid)
- {
- var user = await _userManager.FindByNameAsync(model.Email);
- if (user == null || !(await _userManager.IsEmailConfirmedAsync(user)))
- {
- // Don't reveal that the user does not exist or is not confirmed
- return View("ForgotPasswordConfirmation");
- }
-
- // For more information on how to enable account confirmation and password reset please visit https://go.microsoft.com/fwlink/?LinkID=532713
- // Send an email with this link
- //var code = await _userManager.GeneratePasswordResetTokenAsync(user);
- //var callbackUrl = Url.Action("ResetPassword", "Account", new { userId = user.Id, code = code }, protocol: HttpContext.Request.Scheme);
- //await _emailSender.SendEmailAsync(model.Email, "Reset Password",
- // $"Please reset your password by clicking here: link");
- //return View("ForgotPasswordConfirmation");
- }
-
- // If we got this far, something failed, redisplay form
- return View(model);
- }
-
- //
- // GET: /Account/ForgotPasswordConfirmation
- [HttpGet]
- [AllowAnonymous]
- public IActionResult ForgotPasswordConfirmation()
- {
- return View();
- }
-
- //
- // GET: /Account/ResetPassword
- [HttpGet]
- [AllowAnonymous]
- public IActionResult ResetPassword(string code = null)
- {
- return code == null ? View("Error") : View();
- }
-
- //
- // POST: /Account/ResetPassword
- [HttpPost]
- [AllowAnonymous]
- [ValidateAntiForgeryToken]
- public async Task ResetPassword(ResetPasswordViewModel model)
- {
- if (!ModelState.IsValid)
- {
- return View(model);
- }
- var user = await _userManager.FindByNameAsync(model.Email);
- if (user == null)
- {
- // Don't reveal that the user does not exist
- return RedirectToAction(nameof(AccountController.ResetPasswordConfirmation), "Account");
- }
- var result = await _userManager.ResetPasswordAsync(user, model.Code, model.Password);
- if (result.Succeeded)
- {
- return RedirectToAction(nameof(AccountController.ResetPasswordConfirmation), "Account");
- }
- AddErrors(result);
- return View();
- }
-
- //
- // GET: /Account/ResetPasswordConfirmation
- [HttpGet]
- [AllowAnonymous]
- public IActionResult ResetPasswordConfirmation()
- {
- return View();
- }
-
- //
- // GET: /Account/SendCode
- [HttpGet]
- [AllowAnonymous]
- public async Task SendCode(string returnUrl = null, bool rememberMe = false)
- {
- var user = await _signInManager.GetTwoFactorAuthenticationUserAsync();
- if (user == null)
- {
- return View("Error");
- }
- var userFactors = await _userManager.GetValidTwoFactorProvidersAsync(user);
- var factorOptions = userFactors.Select(purpose => new SelectListItem { Text = purpose, Value = purpose }).ToList();
- return View(new SendCodeViewModel { Providers = factorOptions, ReturnUrl = returnUrl, RememberMe = rememberMe });
- }
-
- //
- // POST: /Account/SendCode
- [HttpPost]
- [AllowAnonymous]
- [ValidateAntiForgeryToken]
- public async Task SendCode(SendCodeViewModel model)
- {
- if (!ModelState.IsValid)
- {
- return View();
- }
-
- var user = await _signInManager.GetTwoFactorAuthenticationUserAsync();
- if (user == null)
- {
- return View("Error");
- }
-
- // Generate the token and send it
- var code = await _userManager.GenerateTwoFactorTokenAsync(user, model.SelectedProvider);
- if (string.IsNullOrWhiteSpace(code))
- {
- return View("Error");
- }
-
- var message = "Your security code is: " + code;
- if (model.SelectedProvider == "Email")
- {
- await _emailSender.SendEmailAsync(await _userManager.GetEmailAsync(user), "Security Code", message);
- }
- else if (model.SelectedProvider == "Phone")
- {
- await _smsSender.SendSmsAsync(await _userManager.GetPhoneNumberAsync(user), message);
- }
-
- return RedirectToAction(nameof(VerifyCode), new { Provider = model.SelectedProvider, ReturnUrl = model.ReturnUrl, RememberMe = model.RememberMe });
- }
-
- //
- // GET: /Account/VerifyCode
- [HttpGet]
- [AllowAnonymous]
- public async Task VerifyCode(string provider, bool rememberMe, string returnUrl = null)
- {
- // Require that the user has already logged in via username/password or external login
- var user = await _signInManager.GetTwoFactorAuthenticationUserAsync();
- if (user == null)
- {
- return View("Error");
- }
- return View(new VerifyCodeViewModel { Provider = provider, ReturnUrl = returnUrl, RememberMe = rememberMe });
- }
-
- //
- // POST: /Account/VerifyCode
- [HttpPost]
- [AllowAnonymous]
- [ValidateAntiForgeryToken]
- public async Task VerifyCode(VerifyCodeViewModel model)
- {
- if (!ModelState.IsValid)
- {
- return View(model);
- }
-
- // The following code protects for brute force attacks against the two factor codes.
- // If a user enters incorrect codes for a specified amount of time then the user account
- // will be locked out for a specified amount of time.
- var result = await _signInManager.TwoFactorSignInAsync(model.Provider, model.Code, model.RememberMe, model.RememberBrowser);
- if (result.Succeeded)
- {
- return RedirectToLocal(model.ReturnUrl);
- }
- if (result.IsLockedOut)
- {
- _logger.LogWarning(7, "User account locked out.");
- return View("Lockout");
- }
- else
- {
- ModelState.AddModelError(string.Empty, "Invalid code.");
- return View(model);
- }
- }
-
- #region Helpers
-
- private void AddErrors(IdentityResult result)
- {
- foreach (var error in result.Errors)
- {
- ModelState.AddModelError(string.Empty, error.Description);
- }
- }
-
- private Task GetCurrentUserAsync()
- {
- return _userManager.GetUserAsync(HttpContext.User);
- }
-
- private IActionResult RedirectToLocal(string returnUrl)
- {
- if (Url.IsLocalUrl(returnUrl))
- {
- return Redirect(returnUrl);
- }
- else
- {
- return RedirectToAction(nameof(HomeController.Index), "Home");
- }
- }
-
- #endregion
- }
-}
diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/HomeController.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/HomeController.cs
deleted file mode 100755
index 67d139496..000000000
--- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/HomeController.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Mvc;
-
-namespace WebApplication.Controllers
-{
- public class HomeController : Controller
- {
- public IActionResult Index()
- {
- return View();
- }
-
- public IActionResult About()
- {
- ViewData["Message"] = "Your application description page.";
-
- return View();
- }
-
- public IActionResult Contact()
- {
- ViewData["Message"] = "Your contact page.";
-
- return View();
- }
-
- public IActionResult Error()
- {
- return View();
- }
- }
-}
diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/ManageController.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/ManageController.cs
deleted file mode 100755
index f7ff98504..000000000
--- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/ManageController.cs
+++ /dev/null
@@ -1,350 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Identity;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.Extensions.Logging;
-using WebApplication.Models;
-using WebApplication.Models.ManageViewModels;
-using WebApplication.Services;
-
-namespace WebApplication.Controllers
-{
- [Authorize]
- public class ManageController : Controller
- {
- private readonly UserManager _userManager;
- private readonly SignInManager _signInManager;
- private readonly IEmailSender _emailSender;
- private readonly ISmsSender _smsSender;
- private readonly ILogger _logger;
-
- public ManageController(
- UserManager userManager,
- SignInManager signInManager,
- IEmailSender emailSender,
- ISmsSender smsSender,
- ILoggerFactory loggerFactory)
- {
- _userManager = userManager;
- _signInManager = signInManager;
- _emailSender = emailSender;
- _smsSender = smsSender;
- _logger = loggerFactory.CreateLogger();
- }
-
- //
- // GET: /Manage/Index
- [HttpGet]
- public async Task Index(ManageMessageId? message = null)
- {
- ViewData["StatusMessage"] =
- message == ManageMessageId.ChangePasswordSuccess ? "Your password has been changed."
- : message == ManageMessageId.SetPasswordSuccess ? "Your password has been set."
- : message == ManageMessageId.SetTwoFactorSuccess ? "Your two-factor authentication provider has been set."
- : message == ManageMessageId.Error ? "An error has occurred."
- : message == ManageMessageId.AddPhoneSuccess ? "Your phone number was added."
- : message == ManageMessageId.RemovePhoneSuccess ? "Your phone number was removed."
- : "";
-
- var user = await GetCurrentUserAsync();
- var model = new IndexViewModel
- {
- HasPassword = await _userManager.HasPasswordAsync(user),
- PhoneNumber = await _userManager.GetPhoneNumberAsync(user),
- TwoFactor = await _userManager.GetTwoFactorEnabledAsync(user),
- Logins = await _userManager.GetLoginsAsync(user),
- BrowserRemembered = await _signInManager.IsTwoFactorClientRememberedAsync(user)
- };
- return View(model);
- }
-
- //
- // POST: /Manage/RemoveLogin
- [HttpPost]
- [ValidateAntiForgeryToken]
- public async Task RemoveLogin(RemoveLoginViewModel account)
- {
- ManageMessageId? message = ManageMessageId.Error;
- var user = await GetCurrentUserAsync();
- if (user != null)
- {
- var result = await _userManager.RemoveLoginAsync(user, account.LoginProvider, account.ProviderKey);
- if (result.Succeeded)
- {
- await _signInManager.SignInAsync(user, isPersistent: false);
- message = ManageMessageId.RemoveLoginSuccess;
- }
- }
- return RedirectToAction(nameof(ManageLogins), new { Message = message });
- }
-
- //
- // GET: /Manage/AddPhoneNumber
- public IActionResult AddPhoneNumber()
- {
- return View();
- }
-
- //
- // POST: /Manage/AddPhoneNumber
- [HttpPost]
- [ValidateAntiForgeryToken]
- public async Task AddPhoneNumber(AddPhoneNumberViewModel model)
- {
- if (!ModelState.IsValid)
- {
- return View(model);
- }
- // Generate the token and send it
- var user = await GetCurrentUserAsync();
- var code = await _userManager.GenerateChangePhoneNumberTokenAsync(user, model.PhoneNumber);
- await _smsSender.SendSmsAsync(model.PhoneNumber, "Your security code is: " + code);
- return RedirectToAction(nameof(VerifyPhoneNumber), new { PhoneNumber = model.PhoneNumber });
- }
-
- //
- // POST: /Manage/EnableTwoFactorAuthentication
- [HttpPost]
- [ValidateAntiForgeryToken]
- public async Task EnableTwoFactorAuthentication()
- {
- var user = await GetCurrentUserAsync();
- if (user != null)
- {
- await _userManager.SetTwoFactorEnabledAsync(user, true);
- await _signInManager.SignInAsync(user, isPersistent: false);
- _logger.LogInformation(1, "User enabled two-factor authentication.");
- }
- return RedirectToAction(nameof(Index), "Manage");
- }
-
- //
- // POST: /Manage/DisableTwoFactorAuthentication
- [HttpPost]
- [ValidateAntiForgeryToken]
- public async Task DisableTwoFactorAuthentication()
- {
- var user = await GetCurrentUserAsync();
- if (user != null)
- {
- await _userManager.SetTwoFactorEnabledAsync(user, false);
- await _signInManager.SignInAsync(user, isPersistent: false);
- _logger.LogInformation(2, "User disabled two-factor authentication.");
- }
- return RedirectToAction(nameof(Index), "Manage");
- }
-
- //
- // GET: /Manage/VerifyPhoneNumber
- [HttpGet]
- public async Task VerifyPhoneNumber(string phoneNumber)
- {
- var code = await _userManager.GenerateChangePhoneNumberTokenAsync(await GetCurrentUserAsync(), phoneNumber);
- // Send an SMS to verify the phone number
- return phoneNumber == null ? View("Error") : View(new VerifyPhoneNumberViewModel { PhoneNumber = phoneNumber });
- }
-
- //
- // POST: /Manage/VerifyPhoneNumber
- [HttpPost]
- [ValidateAntiForgeryToken]
- public async Task VerifyPhoneNumber(VerifyPhoneNumberViewModel model)
- {
- if (!ModelState.IsValid)
- {
- return View(model);
- }
- var user = await GetCurrentUserAsync();
- if (user != null)
- {
- var result = await _userManager.ChangePhoneNumberAsync(user, model.PhoneNumber, model.Code);
- if (result.Succeeded)
- {
- await _signInManager.SignInAsync(user, isPersistent: false);
- return RedirectToAction(nameof(Index), new { Message = ManageMessageId.AddPhoneSuccess });
- }
- }
- // If we got this far, something failed, redisplay the form
- ModelState.AddModelError(string.Empty, "Failed to verify phone number");
- return View(model);
- }
-
- //
- // POST: /Manage/RemovePhoneNumber
- [HttpPost]
- [ValidateAntiForgeryToken]
- public async Task RemovePhoneNumber()
- {
- var user = await GetCurrentUserAsync();
- if (user != null)
- {
- var result = await _userManager.SetPhoneNumberAsync(user, null);
- if (result.Succeeded)
- {
- await _signInManager.SignInAsync(user, isPersistent: false);
- return RedirectToAction(nameof(Index), new { Message = ManageMessageId.RemovePhoneSuccess });
- }
- }
- return RedirectToAction(nameof(Index), new { Message = ManageMessageId.Error });
- }
-
- //
- // GET: /Manage/ChangePassword
- [HttpGet]
- public IActionResult ChangePassword()
- {
- return View();
- }
-
- //
- // POST: /Manage/ChangePassword
- [HttpPost]
- [ValidateAntiForgeryToken]
- public async Task ChangePassword(ChangePasswordViewModel model)
- {
- if (!ModelState.IsValid)
- {
- return View(model);
- }
- var user = await GetCurrentUserAsync();
- if (user != null)
- {
- var result = await _userManager.ChangePasswordAsync(user, model.OldPassword, model.NewPassword);
- if (result.Succeeded)
- {
- await _signInManager.SignInAsync(user, isPersistent: false);
- _logger.LogInformation(3, "User changed their password successfully.");
- return RedirectToAction(nameof(Index), new { Message = ManageMessageId.ChangePasswordSuccess });
- }
- AddErrors(result);
- return View(model);
- }
- return RedirectToAction(nameof(Index), new { Message = ManageMessageId.Error });
- }
-
- //
- // GET: /Manage/SetPassword
- [HttpGet]
- public IActionResult SetPassword()
- {
- return View();
- }
-
- //
- // POST: /Manage/SetPassword
- [HttpPost]
- [ValidateAntiForgeryToken]
- public async Task SetPassword(SetPasswordViewModel model)
- {
- if (!ModelState.IsValid)
- {
- return View(model);
- }
-
- var user = await GetCurrentUserAsync();
- if (user != null)
- {
- var result = await _userManager.AddPasswordAsync(user, model.NewPassword);
- if (result.Succeeded)
- {
- await _signInManager.SignInAsync(user, isPersistent: false);
- return RedirectToAction(nameof(Index), new { Message = ManageMessageId.SetPasswordSuccess });
- }
- AddErrors(result);
- return View(model);
- }
- return RedirectToAction(nameof(Index), new { Message = ManageMessageId.Error });
- }
-
- //GET: /Manage/ManageLogins
- [HttpGet]
- public async Task ManageLogins(ManageMessageId? message = null)
- {
- ViewData["StatusMessage"] =
- message == ManageMessageId.RemoveLoginSuccess ? "The external login was removed."
- : message == ManageMessageId.AddLoginSuccess ? "The external login was added."
- : message == ManageMessageId.Error ? "An error has occurred."
- : "";
- var user = await GetCurrentUserAsync();
- if (user == null)
- {
- return View("Error");
- }
- var userLogins = await _userManager.GetLoginsAsync(user);
- var otherLogins = _signInManager.GetExternalAuthenticationSchemes().Where(auth => userLogins.All(ul => auth.AuthenticationScheme != ul.LoginProvider)).ToList();
- ViewData["ShowRemoveButton"] = user.PasswordHash != null || userLogins.Count > 1;
- return View(new ManageLoginsViewModel
- {
- CurrentLogins = userLogins,
- OtherLogins = otherLogins
- });
- }
-
- //
- // POST: /Manage/LinkLogin
- [HttpPost]
- [ValidateAntiForgeryToken]
- public IActionResult LinkLogin(string provider)
- {
- // Request a redirect to the external login provider to link a login for the current user
- var redirectUrl = Url.Action("LinkLoginCallback", "Manage");
- var properties = _signInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl, _userManager.GetUserId(User));
- return Challenge(properties, provider);
- }
-
- //
- // GET: /Manage/LinkLoginCallback
- [HttpGet]
- public async Task LinkLoginCallback()
- {
- var user = await GetCurrentUserAsync();
- if (user == null)
- {
- return View("Error");
- }
- var info = await _signInManager.GetExternalLoginInfoAsync(await _userManager.GetUserIdAsync(user));
- if (info == null)
- {
- return RedirectToAction(nameof(ManageLogins), new { Message = ManageMessageId.Error });
- }
- var result = await _userManager.AddLoginAsync(user, info);
- var message = result.Succeeded ? ManageMessageId.AddLoginSuccess : ManageMessageId.Error;
- return RedirectToAction(nameof(ManageLogins), new { Message = message });
- }
-
- #region Helpers
-
- private void AddErrors(IdentityResult result)
- {
- foreach (var error in result.Errors)
- {
- ModelState.AddModelError(string.Empty, error.Description);
- }
- }
-
- public enum ManageMessageId
- {
- AddPhoneSuccess,
- AddLoginSuccess,
- ChangePasswordSuccess,
- SetTwoFactorSuccess,
- SetPasswordSuccess,
- RemoveLoginSuccess,
- RemovePhoneSuccess,
- Error
- }
-
- private Task GetCurrentUserAsync()
- {
- return _userManager.GetUserAsync(HttpContext.User);
- }
-
- #endregion
- }
-}
diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/ApplicationDbContext.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/ApplicationDbContext.cs
deleted file mode 100755
index 329199667..000000000
--- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/ApplicationDbContext.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore;
-using WebApplication.Models;
-
-namespace WebApplication.Data
-{
- public class ApplicationDbContext : IdentityDbContext
- {
- public ApplicationDbContext(DbContextOptions options)
- : base(options)
- {
- }
-
- protected override void OnModelCreating(ModelBuilder builder)
- {
- base.OnModelCreating(builder);
- // Customize the ASP.NET Identity model and override the defaults if needed.
- // For example, you can rename the ASP.NET Identity table names and more.
- // Add your customizations after calling base.OnModelCreating(builder);
- }
- }
-}
diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs
deleted file mode 100755
index 5262b9296..000000000
--- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs
+++ /dev/null
@@ -1,215 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using WebApplication.Data;
-
-namespace WebApplication.Data.Migrations
-{
- [DbContext(typeof(ApplicationDbContext))]
- [Migration("00000000000000_CreateIdentitySchema")]
- partial class CreateIdentitySchema
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
- modelBuilder
- .HasAnnotation("ProductVersion", "1.0.0-rc2-20901");
-
- modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole", b =>
- {
- b.Property("Id");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken();
-
- b.Property("Name")
- .HasAnnotation("MaxLength", 256);
-
- b.Property("NormalizedName")
- .HasAnnotation("MaxLength", 256);
-
- b.HasKey("Id");
-
- b.HasIndex("NormalizedName")
- .HasName("RoleNameIndex");
-
- b.ToTable("AspNetRoles");
- });
-
- modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ClaimType");
-
- b.Property("ClaimValue");
-
- b.Property("RoleId")
- .IsRequired();
-
- b.HasKey("Id");
-
- b.HasIndex("RoleId");
-
- b.ToTable("AspNetRoleClaims");
- });
-
- modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ClaimType");
-
- b.Property("ClaimValue");
-
- b.Property("UserId")
- .IsRequired();
-
- b.HasKey("Id");
-
- b.HasIndex("UserId");
-
- b.ToTable("AspNetUserClaims");
- });
-
- modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin", b =>
- {
- b.Property("LoginProvider");
-
- b.Property("ProviderKey");
-
- b.Property("ProviderDisplayName");
-
- b.Property("UserId")
- .IsRequired();
-
- b.HasKey("LoginProvider", "ProviderKey");
-
- b.HasIndex("UserId");
-
- b.ToTable("AspNetUserLogins");
- });
-
- modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole", b =>
- {
- b.Property("UserId");
-
- b.Property("RoleId");
-
- b.HasKey("UserId", "RoleId");
-
- b.HasIndex("RoleId");
-
- b.HasIndex("UserId");
-
- b.ToTable("AspNetUserRoles");
- });
-
- modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserToken", b =>
- {
- b.Property("UserId");
-
- b.Property("LoginProvider");
-
- b.Property("Name");
-
- b.Property("Value");
-
- b.HasKey("UserId", "LoginProvider", "Name");
-
- b.ToTable("AspNetUserTokens");
- });
-
- modelBuilder.Entity("WebApplication.Models.ApplicationUser", b =>
- {
- b.Property("Id");
-
- b.Property("AccessFailedCount");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken();
-
- b.Property("Email")
- .HasAnnotation("MaxLength", 256);
-
- b.Property("EmailConfirmed");
-
- b.Property("LockoutEnabled");
-
- b.Property("LockoutEnd");
-
- b.Property