Exemplo n.º 1
0
 /// <summary>
 /// Given the full path to the directory containing the compiler exes,
 /// retrieves the name of the pipe for client/server communication on
 /// that instance of the compiler.
 /// </summary>
 protected override string GetSessionKey(BuildPaths buildPaths)
 {
     return(BuildServerConnection.GetPipeNameForPathOpt(buildPaths.ClientDirectory));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new instance of the server process, returning true on success
 /// and false otherwise.
 /// </summary>
 protected virtual bool TryCreateServer(string clientDir, string pipeName)
 {
     return(BuildServerConnection.TryCreateServerCore(clientDir, pipeName));
 }