|
-
September 3rd, 2011, 01:21 PM
#1
.NET4.0/VS 2010>>Named Pipes & FileNames
Hello,
I'm working on a Windows Forms Control Library project (2 items) where 1 connects with the other via Named Pipes. In the 1st or Server app, I use the .StartInfo.FileName = the name of the 2nd app. The file name consists of path info as well. The problem is I need the Pipe Server to attach to the project (2nd) that I'm creating so I can troubleshoot the code in both projects. I have loaded them both under the same Solution, but can't figure out how to point the Pipe Server in App1 to App2 in the solution as opposed to the .exe in a different sub-directory.
I hope this is clear, if not, I'll try a re-post, just let me know.
Thanks for your help!
KKW
-
September 3rd, 2011, 01:49 PM
#2
Re: .NET4.0/VS 2010>>Named Pipes & FileNames
Start two instances of visual studio and load the solution into each solution.
Set the start up project to the 1st project in one sln and the 2nd project in the other sln.
In the properties\debug tab of the 2nd project, set the name of the file as the debug startup params.
Press F5 on each sln to start debugging both apps.
P.S. You may have to temporarily comment out the code in app1 that launches app2.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|