diff --git a/source2/IL2CPU/Cosmos.IL2CPU.Debug/Cosmos.Compiler.Debug.csproj b/source2/IL2CPU/Cosmos.IL2CPU.Debug/Cosmos.Compiler.Debug.csproj
index ab967a1c0..bc8f303ab 100644
--- a/source2/IL2CPU/Cosmos.IL2CPU.Debug/Cosmos.Compiler.Debug.csproj
+++ b/source2/IL2CPU/Cosmos.IL2CPU.Debug/Cosmos.Compiler.Debug.csproj
@@ -66,7 +66,7 @@
-
+
diff --git a/source2/IL2CPU/Cosmos.IL2CPU.Debug/Pipe.cs b/source2/IL2CPU/Cosmos.IL2CPU.Debug/PipeServer.cs
similarity index 95%
rename from source2/IL2CPU/Cosmos.IL2CPU.Debug/Pipe.cs
rename to source2/IL2CPU/Cosmos.IL2CPU.Debug/PipeServer.cs
index ec516dc57..c43691abf 100644
--- a/source2/IL2CPU/Cosmos.IL2CPU.Debug/Pipe.cs
+++ b/source2/IL2CPU/Cosmos.IL2CPU.Debug/PipeServer.cs
@@ -10,13 +10,13 @@ using Cosmos.Compiler.Debug;
using System.Threading;
namespace Cosmos.Compiler.Debug {
- public class Pipe {
+ public class PipeServer {
protected bool KillThread = false;
protected NamedPipeServerStream mPipe;
public event Action DataPacketReceived;
protected string mPipeName;
- public Pipe(string aPipeName) {
+ public PipeServer(string aPipeName) {
mPipeName = aPipeName;
}
diff --git a/source2/VSIP/Cosmos.VS.Windows/Cosmos.VS.WindowsPackage.cs b/source2/VSIP/Cosmos.VS.Windows/Cosmos.VS.WindowsPackage.cs
index 1cefd90e7..7f63404d7 100644
--- a/source2/VSIP/Cosmos.VS.Windows/Cosmos.VS.WindowsPackage.cs
+++ b/source2/VSIP/Cosmos.VS.Windows/Cosmos.VS.WindowsPackage.cs
@@ -1,6 +1,7 @@
using System;
using System.Diagnostics;
using System.Globalization;
+using System.IO.Pipes;
using System.Runtime.InteropServices;
using System.ComponentModel.Design;
using Microsoft.Win32;
@@ -45,15 +46,19 @@ namespace Cosmos.Cosmos_VS_Windows
Queue mCommand;
Queue mMessage;
System.Timers.Timer mTimer = new System.Timers.Timer(100);
- Cosmos.Compiler.Debug.Pipe mPipe;
+ Cosmos.Compiler.Debug.PipeServer mPipeDown;
+ //static public NamedPipeClientStream mPipeUp;
+
+ static Cosmos_VS_WindowsPackage() {
+ //mPipeUp = new NamedPipeClientStream(".", Pipes.UpName, PipeDirection.Out);
+ }
/// Default constructor of the package.
/// Inside this method you can place any initialization code that does not require
/// any Visual Studio service because at this point the package object is created but
/// not sited yet inside Visual Studio environment. The place to do all the other
/// initialization is the Initialize method.
- public Cosmos_VS_WindowsPackage()
- {
+ public Cosmos_VS_WindowsPackage() {
mCommand = new Queue();
mMessage = new Queue();
@@ -63,9 +68,9 @@ namespace Cosmos.Cosmos_VS_Windows
mTimer.Elapsed += new System.Timers.ElapsedEventHandler(ProcessMessage);
mTimer.Start();
- mPipe = new Cosmos.Compiler.Debug.Pipe(Pipes.DownName);
- mPipe.DataPacketReceived += new Action(PipeThread_DataPacketReceived);
- mPipe.Start();
+ mPipeDown = new Cosmos.Compiler.Debug.PipeServer(Pipes.DownName);
+ mPipeDown.DataPacketReceived += new Action(PipeThread_DataPacketReceived);
+ mPipeDown.Start();
Trace.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering constructor for: {0}", this.ToString()));
}