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