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