10 references to Utils
Microsoft.NET.Sdk.WebAssembly.Pack.Tasks (10)
BootJsonBuilderHelper.cs (1)
80
bootConfig.resources.hash =
Utils
.ComputeTextIntegrity(sb.ToString());
ComputeWasmPublishAssets.cs (1)
619
if (string.Equals(extension, ".dll", StringComparison.Ordinal) || string.Equals(extension,
Utils
.WebcilInWasmExtension, StringComparison.Ordinal))
ConvertDllsToWebCil.cs (5)
82
var webcilFileName = Path.GetFileNameWithoutExtension(dllFilePath) +
Utils
.WebcilInWasmExtension;
89
if (
Utils
.IsNewerThan(dllFilePath, finalWebcil))
99
if (
Utils
.CopyIfDifferent(tmpWebcil, finalWebcil, useHash: true))
112
webcilItem.SetMetadata("RelativePath", Path.ChangeExtension(candidate.GetMetadata("RelativePath"),
Utils
.WebcilInWasmExtension));
118
relatedAsset = Path.ChangeExtension(relatedAsset,
Utils
.WebcilInWasmExtension);
GenerateWasmBootJson.cs (1)
208
if (TryGetLazyLoadedAssembly($"{fileName}.dll", out _) || TryGetLazyLoadedAssembly($"{fileName}{
Utils
.WebcilInWasmExtension}", out _))
src\tasks\Common\Utils.cs (2)
41
using Stream stream = typeof(
Utils
).Assembly
42
.GetManifestResourceStream($"{typeof(
Utils
).Assembly.GetName().Name}.Templates.{file}")!;