React to renaming TargetFramework to RuntimeFramework
This commit is contained in:
parent
29baf80161
commit
447336b4f3
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,9 +44,9 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public FrameworkName TargetFramework
|
public FrameworkName RuntimeFramework
|
||||||
{
|
{
|
||||||
get { return _originalAppEnvironment.TargetFramework; }
|
get { return _originalAppEnvironment.RuntimeFramework; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue