mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-03 01:01:07 +00:00
Attempted workaround for MonoDevelop signing issue with csproj files generated by Prebuild (workaround not yet complete).
This commit is contained in:
parent
ae9639bfcd
commit
1039f9af95
|
@ -217,6 +217,9 @@ Assembly signing:
|
||||||
File.Delete(opentk);
|
File.Delete(opentk);
|
||||||
File.Delete(quickstart);
|
File.Delete(quickstart);
|
||||||
|
|
||||||
|
foreach (string file in Directory.GetFiles("Source", "*.csproj", SearchOption.AllDirectories))
|
||||||
|
ApplyMonoDevelopWorkarounds(file);
|
||||||
|
|
||||||
if (Debugger.IsAttached)
|
if (Debugger.IsAttached)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Press any key to continue...");
|
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)
|
static void DeleteDirectories(string root_path, string search)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Deleting {0} directories", search);
|
Console.WriteLine("Deleting {0} directories", search);
|
||||||
|
|
Loading…
Reference in a new issue