Closed GoogleCodeExporter closed 8 years ago
The exception thrown is:
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: CR_ExtensionMethodsHelper
Target: System.Collections.IEnumerable GetProjectSymbols()
Call Stack:
at CR_ExtensionMethodsHelper.PlugIn1.GetProjectSymbols()
at CR_ExtensionMethodsHelper.PlugIn1.cpAddReference_CheckAvailability(Object sender, CheckContentAvailabilityEventArgs ea)
at DevExpress.CodeRush.Core.ContentProvider.OnCheckAvailability(CheckContentAvailabilityEventArgs ea)
Original comment by mot...@gmail.com
on 17 Jun 2014 at 7:27
I have managed to debug this issue and come up with a fix.
In method CR_ExtensionMethodsHelper.PlugIn1.GetProjectSymbols() there is an
if-statement as follow:
if (reference == null)
continue;
It should be:
if (reference == null || reference.AssemblyModel == null)
continue;
Original comment by mot...@gmail.com
on 17 Jun 2014 at 7:30
This should now be fixed.
Please download v1.1 from this plugin's new home on github @
https://github.com/RoryBecker/CR_ExtensionMethodsHelper/releases/latest
Note: I suggest removing your existing plugin dll before attempting to use this
new version, which does not install in the same location.
Original comment by RoryBec...@gmail.com
on 17 Jun 2014 at 11:41
Original issue reported on code.google.com by
mot...@gmail.com
on 17 Jun 2014 at 7:23Attachments: