1 write to IsDnx
dotnet-svcutil-lib (1)
Shared\FrameworkInfo.cs (1)
111
fxInfo.
IsDnx
= name == Netstandard || name == Netcoreapp || version.Major >= 5;
10 references to IsDnx
dotnet-svcutil-lib (10)
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)
611
bool resolveReferences = this.Project != null && this.TargetFramework.
IsDnx
&& this.NoBootstrapping != true && this.TypeReuseMode != Svcutil.TypeReuseMode.None &&
Shared\MSBuildProj.cs (1)
763
if (_targetFrameworks.Count >= 1 && TargetFrameworkHelper.IsSupportedFramework(this.TargetFramework, out var frameworkInfo) && frameworkInfo.
IsDnx
)
Shared\TargetFrameworkHelper.cs (5)
60
if (!targetFrameworks.Any(targetFramework => IsSupportedFramework(targetFramework, out var frameworkInfo) && frameworkInfo.
IsDnx
))
92
targetFramework = targetFrameworks.FirstOrDefault((framework) => IsSupportedFramework(framework, out fxInfo) && fxInfo.
IsDnx
);
112
if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out var frameworkInfo) && frameworkInfo.
IsDnx
&& frameworkInfo.Name != FrameworkInfo.Netstandard)
153
return frameworkInfo.
IsDnx
166
if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out var frameworkInfo) && !frameworkInfo.
IsDnx
)