diff --git a/src/Mvc/ViewCompilation/test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs b/src/Mvc/ViewCompilation/test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs index c98cd4c348..1872da2d39 100644 --- a/src/Mvc/ViewCompilation/test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs +++ b/src/Mvc/ViewCompilation/test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs @@ -23,8 +23,7 @@ namespace FunctionalTests if (!string.Equals(expected, normalizedContent, System.StringComparison.Ordinal)) { var solutionRoot = ApplicationPaths.SolutionDirectory; - var projectName = typeof(TestEmbeddedResource).GetTypeInfo().Assembly.GetName().Name; - var fullPath = Path.Combine(solutionRoot, "test", ProjectName, "Resources", resourceFile); + var fullPath = Path.Combine(solutionRoot, "ViewCompilation", "test", "FunctionalTests", "Resources", resourceFile); lock (_writeLock) { // Write content to the file, creating it if necessary. @@ -55,4 +54,4 @@ namespace FunctionalTests } } } -} \ No newline at end of file +} diff --git a/src/Mvc/ViewCompilation/test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt b/src/Mvc/ViewCompilation/test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt index fe83fc7f9d..b826e19386 100644 --- a/src/Mvc/ViewCompilation/test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt +++ b/src/Mvc/ViewCompilation/test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt @@ -157,9 +157,9 @@ SimpleApp.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=nul + - - + SimpleApp.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null