Regenerate baselines for precompilation test (#7766)

* Regenerate baselines for precompilation test

Fixes https://github.com/aspnet/AspNetCore-Internal/issues/1822
This commit is contained in:
Pranav K 2019-02-20 15:21:45 -08:00 committed by GitHub
parent bd4af873b0
commit b2a84b7b5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -23,8 +23,7 @@ namespace FunctionalTests
if (!string.Equals(expected, normalizedContent, System.StringComparison.Ordinal)) if (!string.Equals(expected, normalizedContent, System.StringComparison.Ordinal))
{ {
var solutionRoot = ApplicationPaths.SolutionDirectory; var solutionRoot = ApplicationPaths.SolutionDirectory;
var projectName = typeof(TestEmbeddedResource).GetTypeInfo().Assembly.GetName().Name; var fullPath = Path.Combine(solutionRoot, "ViewCompilation", "test", "FunctionalTests", "Resources", resourceFile);
var fullPath = Path.Combine(solutionRoot, "test", ProjectName, "Resources", resourceFile);
lock (_writeLock) lock (_writeLock)
{ {
// Write content to the file, creating it if necessary. // Write content to the file, creating it if necessary.