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