1 write to _target
Microsoft.NET.HostModel (1)
Bundle\Bundler.cs (1)
60
_target
= new TargetInfo(targetOS, targetArch, targetFrameworkVersion);
16 references to _target
Microsoft.NET.HostModel (16)
Bundle\Bundler.cs (16)
62
if (
_target
.BundleMajorVersion < 6 &&
68
appAssemblyName ??=
_target
.GetAssemblyName(hostName);
73
BundleManifest = new Manifest(
_target
.BundleMajorVersion, netcoreapp3CompatMode: options.HasFlag(BundleOptions.BundleAllContent));
74
_options =
_target
.DefaultOptions | options;
132
long misalignment = (bundle.Position %
_target
.AssemblyAlignment);
136
long padding =
_target
.AssemblyAlignment - misalignment;
168
return !_options.HasFlag(BundleOptions.BundleNativeBinaries) ||
_target
.ShouldExclude(relativePath);
227
bool isNativeBinary =
_target
.IsWindows ? isPE :
_target
.IsNativeBinary(fileSpec.SourcePath);
292
_tracer.Log($"Target Runtime: {
_target
}");
311
bundledFilesSize +=
_target
.AssemblyAlignment;
329
if (
_target
.IsOSX && _macosCodesign)
349
if (
_target
.IsOSX)
367
FileType targetType =
_target
.TargetSpecificFileType(type);
369
FileEntry entry = BundleManifest.AddEntry(targetType, file, relativePath, startOffset, compressedSize,
_target
.BundleMajorVersion);
389
if (
_target
.IsOSX && machFile is not null)