Attempted workaround for MonoDevelop signing issue with csproj files generated by Prebuild (workaround not yet complete).

This commit is contained in:
the_fiddler 2009-09-05 21:18:37 +00:00
parent 543d255482
commit 52f9c09b70
2 changed files with 10 additions and 0 deletions

BIN
Build.exe

Binary file not shown.

View file

@ -217,6 +217,9 @@ Assembly signing:
File.Delete(opentk);
File.Delete(quickstart);
foreach (string file in Directory.GetFiles("Source", "*.csproj", SearchOption.AllDirectories))
ApplyMonoDevelopWorkarounds(file);
if (Debugger.IsAttached)
{
Console.WriteLine("Press any key to continue...");
@ -224,6 +227,13 @@ Assembly signing:
}
}
static void ApplyMonoDevelopWorkarounds(string solution)
{
File.WriteAllText(solution, File.ReadAllText(solution)
.Replace("AssemblyOriginatorKeyFile", "AssemblyKeyFile")
.Replace(@"..\", @"../"));
}
static void DeleteDirectories(string root_path, string search)
{
Console.WriteLine("Deleting {0} directories", search);