18 references to TargetFrameworkHelper
dotnet-svcutil-lib (18)
Bootstrapper\SvcutilBootstrapper.cs (2)
49return targetFramework.IsDnx && references.Where(r => !r.IsFramework).Except(TargetFrameworkHelper.ServiceModelPackages).Count() > 0; 110bool isSupportedTFM = TargetFrameworkHelper.IsSupportedFramework(this.Options.TargetFramework.FullName, out var frameworkInfo);
CommandProcessorOptions.cs (3)
677if (TargetFrameworkHelper.IsEndofLifeFramework(this.TargetFramework?.FullName)) 715ProcessToolArg(() => this.TargetFramework = TargetFrameworkHelper.GetValidFrameworkInfo(targetFrameworkMoniker)); 828var loadableReferences = this.References.Where(r => !TargetFrameworkHelper.ServiceModelPackages.Any(s => s.Name == r.Name));
Shared\MSBuildProj.cs (8)
201if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out FrameworkInfo fxInfo)) 226msbuildProj._targetFramework = TargetFrameworkHelper.GetBestFitTargetFramework(msbuildProj._targetFrameworks); 236msbuildProj._targetFramework = string.Concat("net", TargetFrameworkHelper.s_currentSupportedVersions.First()); 243FrameworkInfo frameworkInfo = TargetFrameworkHelper.GetValidFrameworkInfo(msbuildProj.TargetFramework); 327if (!TargetFrameworkHelper.ContainsFullFrameworkTarget(msbuildProj._targetFrameworks)) 365if(TargetFrameworkHelper.IsEndofLifeFramework(tfx)) 644TargetFrameworkHelper.GetValidFrameworkInfo(targetFramework); 763if (_targetFrameworks.Count >= 1 && TargetFrameworkHelper.IsSupportedFramework(this.TargetFramework, out var frameworkInfo) && frameworkInfo.IsDnx)
Shared\Options\OptionValueParser.cs (1)
68value = CreateValue<FrameworkInfo>(() => TargetFrameworkHelper.GetValidFrameworkInfo(stringValue), option, stringValue);
Shared\ProjectDependency.cs (1)
438if (dependency.IsFramework || TargetFrameworkHelper.ServiceModelPackages.Any(s => s.Name == dependency.Name))
Shared\TargetFrameworkHelper.cs (2)
112if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out var frameworkInfo) && frameworkInfo.IsDnx && frameworkInfo.Name != FrameworkInfo.Netstandard) 166if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out var frameworkInfo) && !frameworkInfo.IsDnx)
Tool.cs (1)
275var dependencies = TargetFrameworkHelper.GetWcfProjectReferences(project.TargetFrameworks);