7 references to HostModelUtils
Microsoft.NET.HostModel (7)
AppHost\HostWriter.cs (3)
125
long appHostSourceLength =
HostModelUtils
.GetFileLength(appHostSourceFilePath);
163
using (FileStream appHostDestinationStream =
HostModelUtils
.CreateFileStreamForHost(appHostDestinationFilePath, FileAccess.ReadWrite, FileShare.None, bufferSize: 1))
181
HostModelUtils
.SetPermissionsForHost(appHostDestinationFilePath);
Bundle\Bundler.cs (4)
305
bundledFilesSize +=
HostModelUtils
.GetFileLength(spec.SourcePath);
326
var hostLength =
HostModelUtils
.GetFileLength(hostSource);
413
using (FileStream bundleOutputStream =
HostModelUtils
.CreateFileStreamForHost(bundlePath, FileAccess.Write, FileShare.None))
419
HostModelUtils
.SetPermissionsForHost(bundlePath);