7 references to TargetFramework
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (7)
MSBuild\Constants\PropertyNames.cs (1)
62public const string TargetFramework = nameof(TargetFramework);
MSBuild\ProjectFile\ProjectFile.cs (6)
58var targetFrameworkValue = _loadedProject.GetPropertyValue(PropertyNames.TargetFramework); 69if (!_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); 154var targetFramework = project.ReadPropertyString(PropertyNames.TargetFramework);