React to renaming TargetFramework to RuntimeFramework

This commit is contained in:
Wei Wang 2014-09-10 12:30:43 -07:00
parent 29baf80161
commit 447336b4f3
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ namespace Microsoft.AspNet.Mvc.Razor.Compilation
{ {
var sourceText = SourceText.From(compilationContent, Encoding.UTF8); var sourceText = SourceText.From(compilationContent, Encoding.UTF8);
var syntaxTrees = new[] { CSharpSyntaxTree.ParseText(sourceText, path: fileInfo.PhysicalPath) }; var syntaxTrees = new[] { CSharpSyntaxTree.ParseText(sourceText, path: fileInfo.PhysicalPath) };
var targetFramework = _environment.TargetFramework; var runtimeFramework = _environment.RuntimeFramework;
var references = _applicationReferences.Value; var references = _applicationReferences.Value;

View File

@ -44,9 +44,9 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
} }
} }
public FrameworkName TargetFramework public FrameworkName RuntimeFramework
{ {
get { return _originalAppEnvironment.TargetFramework; } get { return _originalAppEnvironment.RuntimeFramework; }
} }
} }
} }