public static void SetPackageInFolder(string packageFolderPath, Utility_PackageJson package) { File.WriteAllText(GetPackagePath(packageFolderPath), package.ToJson()); }
public static void SetPackageFile(string packageFilePath, Utility_PackageJson package) { File.Delete(packageFilePath); File.WriteAllText(packageFilePath, package.ToJson()); }