4 using System.Collections.Generic;
5 using System.ServiceModel;
7 using Microsoft.VisualStudio;
8 using Microsoft.VisualStudio.Shell.Interop;
9 using SiliconStudio.Assets.CompilerApp;
10 using SiliconStudio.BuildEngine;
11 using SiliconStudio.Core.Diagnostics;
14 namespace SiliconStudio.Paradox.VisualStudio.BuildEngine
16 [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
19 private string logPipeUrl;
24 this.buildMonitorCallback = buildMonitorCallback;
25 this.logPipeUrl = logPipeUrl;
28 var host =
new ServiceHost(
this);
29 host.AddServiceEndpoint(typeof(
IForwardSerializableLogRemote),
new NetNamedPipeBinding(NetNamedPipeSecurityMode.None) { MaxReceivedMessageSize = int.MaxValue }, this.logPipeUrl);
35 buildMonitorCallback.Message(message.Type.ToString(), message.
Module, message.
Text);
string Text
Gets or sets the text.
PackageBuildMonitorRemote(IBuildMonitorCallback buildMonitorCallback, string logPipeUrl)
A class that represents a copy of a LogMessage that can be serialized.
void ForwardSerializableLog(SerializableLogMessage message)
string Module
Gets or sets the module.