Browse Source

AddIn: Don't show double warning if assembly information is missing while project is loading.

pull/1213/head
Andreas Weizel 8 years ago
parent
commit
c2ccfa0cd0
  1. 3
      ILSpy.AddIn/Commands/OpenCodeItemCommand.cs

3
ILSpy.AddIn/Commands/OpenCodeItemCommand.cs

@ -106,8 +106,7 @@ namespace ICSharpCode.ILSpy.AddIn.Commands @@ -106,8 +106,7 @@ namespace ICSharpCode.ILSpy.AddIn.Commands
owner.ShowMessage(OLEMSGICON.OLEMSGICON_WARNING,
"Symbol can't be opened. This might happen while project is loading.",
Environment.NewLine, invalidSymbolReference.AssemblyFile);
}
if (invalidSymbolReference.IsProjectReference) {
} else if (invalidSymbolReference.IsProjectReference) {
// Some project references don't have assemblies, maybe not compiled yet?
if (owner.ShowMessage(
OLEMSGBUTTON.OLEMSGBUTTON_YESNO, OLEMSGDEFBUTTON.OLEMSGDEFBUTTON_FIRST, OLEMSGICON.OLEMSGICON_WARNING,

Loading…
Cancel
Save