Remove unused option

This commit is contained in:
Paul Pacheco 2020-04-15 09:14:11 -05:00
parent d8c121695c
commit c483047486

View File

@ -156,19 +156,7 @@ public static void Clear()
DeleteOutputOnClear = false;
}
// build synchronously
public static void Build()
{
BuildAssembly(true);
}
// build asynchronously - this isn't currently used
public static void BuildAsync()
{
BuildAssembly(false);
}
static void BuildAssembly(bool wait)
{
AssemblyBuilder assemblyBuilder = new AssemblyBuilder(OutputDirectory + OutputFile, SourceFiles.ToArray());
assemblyBuilder.additionalReferences = ReferenceAssemblies.ToArray();
@ -206,13 +194,10 @@ static void BuildAssembly(bool wait)
return;
}
if (wait)
while (assemblyBuilder.status != AssemblyBuilderStatus.Finished)
{
while (assemblyBuilder.status != AssemblyBuilderStatus.Finished)
{
System.Threading.Thread.Sleep(10);
}
}
System.Threading.Thread.Sleep(10);
}
}
}
}