7 references to TargetFramework
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (7)
MSBuild\Constants\PropertyNames.cs (1)
62
public const string TargetFramework = nameof(
TargetFramework
);
MSBuild\ProjectFile\ProjectFile.cs (6)
58
var targetFrameworkValue = _loadedProject.GetPropertyValue(PropertyNames.
TargetFramework
);
69
if (!_loadedProject.GlobalProperties.TryGetValue(PropertyNames.
TargetFramework
, out var initialGlobalTargetFrameworkValue))
75
_loadedProject.SetGlobalProperty(PropertyNames.
TargetFramework
, targetFramework);
85
_loadedProject.RemoveGlobalProperty(PropertyNames.
TargetFramework
);
89
_loadedProject.SetGlobalProperty(PropertyNames.
TargetFramework
, initialGlobalTargetFrameworkValue);
154
var targetFramework = project.ReadPropertyString(PropertyNames.
TargetFramework
);