1 write to IsDnx
dotnet-svcutil-lib (1)
Shared\FrameworkInfo.cs (1)
102fxInfo.IsDnx = name == Netstandard || name == Netcoreapp || version.Major >= 5;
16 references to IsDnx
dotnet-svcutil-lib (16)
AppSettings.cs (1)
17if (!frameworkInfo.IsDnx || frameworkInfo.Version >= new Version("2.0"))
Bootstrapper\SvcutilBootstrapper.cs (2)
49return targetFramework.IsDnx && references.Where(r => !r.IsFramework).Except(TargetFrameworkHelper.ServiceModelPackages).Count() > 0; 111Debug.Assert(frameworkInfo.IsDnx, "The bootstrapper has been enabled for a non-DNX platform!");
CommandProcessorOptions.cs (1)
610bool resolveReferences = this.Project != null && this.TargetFramework.IsDnx && this.NoBootstrapping != true && this.TypeReuseMode != Svcutil.TypeReuseMode.None &&
Shared\FrameworkInfo.cs (1)
103fxInfo.IsKnownDnx = fxInfo.IsDnx &&
Shared\MSBuildProj.cs (5)
139if (this.TargetFrameworks.Count() > 1 && this.TargetFrameworks.Any(t => TargetFrameworkHelper.IsSupportedFramework(t, out netfxInfo) && !netfxInfo.IsDnx)) 141var tfx = this.TargetFrameworks.FirstOrDefault(t => TargetFrameworkHelper.IsSupportedFramework(t, out dnxInfo) && dnxInfo.IsDnx); 546string dnxStr = this.TargetFrameworks.FirstOrDefault(t => TargetFrameworkHelper.IsSupportedFramework(t, out dnxInfo) && dnxInfo.IsDnx); 550if (this.TargetFrameworks.Any(t => TargetFrameworkHelper.IsSupportedFramework(t, out netfxInfo) && !netfxInfo.IsDnx)) 780if (_targetFrameworks.Count >= 1 && TargetFrameworkHelper.IsSupportedFramework(this.TargetFramework, out var frameworkInfo) && frameworkInfo.IsDnx)
Shared\TargetFrameworkHelper.cs (4)
127if (frameworkInfo.IsDnx) 160targetFramework = targetFrameworks.FirstOrDefault((framework) => IsSupportedFramework(framework, out fxInfo) && fxInfo.IsDnx); 181if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out var frameworkInfo) && frameworkInfo.IsDnx) 243if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out var frameworkInfo) && !frameworkInfo.IsDnx)
Tool.cs (2)
289if (project.TargetFrameworks.Count() > 1 && project.TargetFrameworks.Any(t => TargetFrameworkHelper.IsSupportedFramework(t, out FrameworkInfo fxInfo) && !fxInfo.IsDnx)) 292var tfx = project.TargetFrameworks.FirstOrDefault(t => TargetFrameworkHelper.IsSupportedFramework(t, out fxInfo) && fxInfo.IsDnx);