Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

React to renaming TargetFramework to RuntimeFramework #1118

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public CompilationResult Compile(IFileInfo fileInfo, string compilationContent)
{
var sourceText = SourceText.From(compilationContent, Encoding.UTF8);
var syntaxTrees = new[] { CSharpSyntaxTree.ParseText(sourceText, path: fileInfo.PhysicalPath) };
var targetFramework = _environment.TargetFramework;
var runtimeFramework = _environment.RuntimeFramework;

var references = _applicationReferences.Value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public string Configuration
}
}

public FrameworkName TargetFramework
public FrameworkName RuntimeFramework
{
get { return _originalAppEnvironment.TargetFramework; }
get { return _originalAppEnvironment.RuntimeFramework; }
}
}
}