debuggingwindows-store-appsvisual-studio-2013class-library

How to debug a Library using Windows Store App


Is it posible to debug a Portable Class Library in Visual Studio 2013 using a Windows Store App?

So far, I had to close the current solution containing the library then I had to open another (containging the app) to debug the library. It is quite annoying.

I tried selecting the executable <Project dir>/bin/Debug/calcualtor.exe in the project settings Project->Properties->Debug->Start External Program but it shows an error Unable to start program... while tying to Start Debugging.

Briefly, what I try to avoid is switching solutions over and over. Thanks in advance.


Solution

  • Add the PCL to your Windows Store App's solution. You will be able to debug it just the same as your Windows Store App.