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