I'm developing my first Workbooks integration and I'd like to know what's the easiest pipeline to develop and debug. Publishing every package version to NuGet is prohibitive and a local package source is still cumbersome.
I'm currently having problems and the log only shows that the package was successfully loaded.
Is it possible to use breakpoints while debugging?
Suggestions are welcome...
Posts
I believe that as of Workbooks 1.3 you can just
#r /path/to/your/integration.dll
, and each time you rerun the#r
cell it will be reloaded. So you could point directly to your build output.I'll ask somebody more familiar with the SDK stuff to take a look tomorrow.
(This was mentioned briefly in https://developer.xamarin.com/releases/interactive/interactive-1.3/#SDK_and_Integrations)
Sandy is correct! As of 1.3, you can reference your integration via
#r
and have it be loaded, though it will not reload every time you run the cell, unfortunately--you'll have to close and reopen your workbook.My recommendation for debugging right now would be the following:
Debug
andVerbose
levels.Unfortunately, using breakpoints is not possible at this point. We'll definitely be looking at improving this experience in the future--some sort of debugger integration is definitely on our radar.
Thanks for the tips. These are very helpful.