24 references to Utils
WasmAppBuilder (24)
EmccCompile.cs (2)
204(int exitCode, string output) = Utils.RunShellCommand( 221if (!Utils.CopyIfDifferent(tmpObjFile, objFile, useHash: true))
IcallTableGenerator.cs (1)
54if (Utils.CopyIfDifferent(tmpFileName.Path, outputPath, useHash: false))
InterpToNativeGenerator.cs (1)
36if (Utils.CopyIfDifferent(tmpFileName.Path, outputPath, useHash: false))
ManagedToNativeGenerator.cs (2)
109fixedName = Utils.FixupSymbolName(name); 180if (!Utils.IsManagedAssembly(asmPath))
PInvokeTableGenerator.cs (1)
54if (Utils.CopyIfDifferent(tmpFileName.Path, outputPath, useHash: false))
src\tasks\Common\Utils.cs (2)
41using Stream stream = typeof(Utils).Assembly 42.GetManifestResourceStream($"{typeof(Utils).Assembly.GetName().Name}.Templates.{file}")!;
src\tasks\Microsoft.NET.Sdk.WebAssembly.Pack.Tasks\BootJsonBuilderHelper.cs (1)
80bootConfig.resources.hash = Utils.ComputeTextIntegrity(sb.ToString());
WasmAppBuilder.cs (14)
143var finalWebcil = Path.Combine(runtimeAssetsPath, Path.ChangeExtension(Path.GetFileName(assembly), Utils.WebcilInWasmExtension)); 144if (Utils.CopyIfDifferent(tmpWebcil.Path, finalWebcil, useHash: true)) 182var itemHash = Utils.ComputeIntegrity(item.ItemSpec); 201if (!Utils.IsManagedAssembly(bytes)) 209assemblyPath = Path.Combine(runtimeAssetsPath, Path.ChangeExtension(Path.GetFileName(assembly), Utils.WebcilInWasmExtension)); 218assemblyList[assemblyName] = Utils.ComputeIntegrity(bytes); 237pdbList[Path.GetFileName(pdb)] = Utils.ComputeIntegrity(pdb); 258var finalWebcil = Path.Combine(cultureDirectory, Path.ChangeExtension(name, Utils.WebcilInWasmExtension)); 259if (Utils.CopyIfDifferent(tmpWebcil.Path, finalWebcil, useHash: true)) 268cultureSatelliteResources[Path.GetFileName(finalWebcil)] = Utils.ComputeIntegrity(finalWebcil); 278cultureSatelliteResources[name] = Utils.ComputeIntegrity(satellitePath); 331[$"supportFiles/{generatedFileName}"] = Utils.ComputeIntegrity(vfsPath) 354bootConfig.resources.icu[Path.GetFileName(idfn)] = Utils.ComputeIntegrity(idfn); 428Utils.CopyIfDifferent(tmpMonoConfigPath.Path, monoConfigPath, useHash: false);