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