Can't find a way to attach source code to the pre-build assemblies in my c#/mono project in xamarin ide.
I want to read the source code/implementation of some open-source NuGet assemblies(source files are available on github).
In Visual Studio there is a feature called "attach source" so you can attach source code to any pre-build assembly and read the implementation of any open-source Nuget package easily.
Is there a workaround to make it possible in Xamarin studio ?
thank you
View Source:
If you have a Method/Property from a 3rd-party package highlighted in XS/MD and 'Goto to Declaration' (right-click/select, cmd-D, ...), the Assembly Viewer will open since you do not have the source. Change the dropdown in the upper right of the window from Summary to C#.
Debugging:
Will Xamarin Studio will support the feature to optionally debug third library frameworks (via PDB) via 'http://www.symbolsource.org' for example?
June 2014 : We don't currently have any plans for this, but please suggest it on UserVoice.
Note: I can not find the UserVoice discussion @ http://forums.xamarin.com/discussion/17934/support-for-source-server-support
Add a new one @ Xamarin Product Suggestions
You can do this manually:
Grab the PDBs that you need from symbolsource.org (or another symbol providing service such as Microsoft's reference source PDB, etc..) and manually convert the PDB to MDBs
Personally I have done it, but PDB to MSB via Cecil is not always(?) perfect and you have to make sure the correct version of PDBs are being used otherwise this is going to fail. At this point if I am really tracing a bug, I will just overlay the open source into my project as an submodule and configure/build/reference it...