With the roslyn build of monodevelop, and the roslyn branch of the addin maker installed, when a reference is added to the project you get a duplicate reference added to the solution pad.
To repro:
Create a C# console app.
Double click the References node in the Solution pad to open the Edit References dialog.
Select System.Xml and OK the dialog.
Expected result:
Single System.Xml node in References in the Solution pad.
Not sure where best to fix this. I guess MonoDevelop could be made more defensive to handle an existing reference. Or maybe the addin maker could only refresh its AddinReferenceFolder, assuming that is all that needs to be refreshed.
With the roslyn build of monodevelop, and the roslyn branch of the addin maker installed, when a reference is added to the project you get a duplicate reference added to the solution pad.
To repro:
Expected result:
Single System.Xml node in References in the Solution pad.
Actual result:
Two System.Xml nodes in References.
Debugging this it looks like the addin maker refreshes all child nodes of the project when any reference is changed. Whilst MonoDevelop is not expecting this and will add a new tree node.
Not sure where best to fix this. I guess MonoDevelop could be made more defensive to handle an existing reference. Or maybe the addin maker could only refresh its AddinReferenceFolder, assuming that is all that needs to be refreshed.