コード例 #1
0
        private static void GenerateReference(string moduleName, IFolder rootFolder, IFolder outputFolder)
        {
            var isCore = string.IsNullOrEmpty(moduleName);

            foreach (var file in rootFolder.GetFolder("bin").GetFolder("Win64_Shipping_Client").GetModuleFiles(isCore))
            {
                var outputFile = Path.Combine(outputFolder.Path, file.Name);
                ProcessHelpers.Run("refasmer", $"{file.Path} -o {outputFile} -c");
            }
        }
コード例 #2
0
 private static string?GetAssembliesVersion(string path) =>
 ProcessHelpers.Run("getblmeta", $"getchangeset -f {path}", out var versionStr) != 0
         ? null
         : versionStr.Replace("\r", "").Replace("\n", "");