13 references to TargetFrameworks
dotnet-svcutil-lib (13)
CodeDomFixup\WcfCodeGenerationExtension.cs (2)
65
if (binding is NetNamedPipeBinding && _options.Project != null && (!_options.Project.
TargetFrameworks
.Any(t => t.ToLower().Contains("windows"))
66
|| !_options.Project.
TargetFrameworks
.Any(t => TargetFrameworkHelper.IsSupportedFramework(t, out FrameworkInfo fxInfo) && fxInfo.Version.Major >= 6)))
Shared\MSBuildProj.cs (7)
139
if (this.
TargetFrameworks
.Count() > 1 && this.
TargetFrameworks
.Any(t => TargetFrameworkHelper.IsSupportedFramework(t, out netfxInfo) && !netfxInfo.IsDnx))
141
var tfx = this.
TargetFrameworks
.FirstOrDefault(t => TargetFrameworkHelper.IsSupportedFramework(t, out dnxInfo) && dnxInfo.IsDnx);
546
string dnxStr = this.
TargetFrameworks
.FirstOrDefault(t => TargetFrameworkHelper.IsSupportedFramework(t, out dnxInfo) && dnxInfo.IsDnx);
547
if (this.
TargetFrameworks
.Count() > 1 && dependency.Name.Equals(TargetFrameworkHelper.FullFrameworkReferences.FirstOrDefault().Name)
550
if (this.
TargetFrameworks
.Any(t => TargetFrameworkHelper.IsSupportedFramework(t, out netfxInfo) && !netfxInfo.IsDnx))
979
this.GlobalProperties["TargetFramework"] = this.
TargetFrameworks
.FirstOrDefault();
Tool.cs (4)
281
if (dep.Name.Contains("NetNamedPipe") && !project.
TargetFrameworks
.Any(t => t.ToLower().Contains("windows")))
289
if (project.
TargetFrameworks
.Count() > 1 && project.
TargetFrameworks
.Any(t => TargetFrameworkHelper.IsSupportedFramework(t, out FrameworkInfo fxInfo) && !fxInfo.IsDnx))
292
var tfx = project.
TargetFrameworks
.FirstOrDefault(t => TargetFrameworkHelper.IsSupportedFramework(t, out fxInfo) && fxInfo.IsDnx);