From 480f2dd3775e37c9eae67112ebe85b6b13d3d3d2 Mon Sep 17 00:00:00 2001 From: Livar Date: Fri, 24 Feb 2017 01:12:35 -0800 Subject: [PATCH] Fixing the exclude pattern used by the Migration to exclude WEB SDK globs. --- .../Rules/ItemsIncludedInTheWebSDK.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Rules/ItemsIncludedInTheWebSDK.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Rules/ItemsIncludedInTheWebSDK.cs index e2432fc61..f0cf1f25c 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Rules/ItemsIncludedInTheWebSDK.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Rules/ItemsIncludedInTheWebSDK.cs @@ -10,6 +10,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Rules return content.Equals("wwwroot") || content.Contains("web.config") || content.Equals("**/*.cshtml") || + content.Equals(@"**\*.cshtml") || content.Contains(".json"); } }