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