ASP.NET MVC 4 app and WinForms app in same solution - setting breakpoints and stepping through code in both projects

I have an MVC 4 web application and a WinForms application in the same solution. My mvc 4 app creates an Excel file, then it needs to pass the path to the generated excel file to the WinForms app to further process it. I am starting at a breakpoint in the MVC web app in the debugger, and after creating the excel file, I want to step into the WinForms app via the debugger to test what command line arguments are being passed to the WinForms app. Is it possible to use the vs debugger and step from the mvc app into the winforms app in the solution? If yes, how?

thanks for any help!

Answers


You can select multiple start-up projects from the solution's properties (set the Action to: Start with debugging) in order to use the debugger in both projects. As Ashley Medway pointed out, if the MVC applications starts the winforms app, the debugger won't handle the winforms app.


Need Your Help

Average Time to Reply to Message

mysql database time average

Is it possible to calculate the average time to reply to a message just with the following columns:

php convert european datetime to mysql datetime

php sql datetime

I've got an datetime string like this: 28-06-14 11:01:00

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.