Browse Source

Fix: Setting correct ManagedAddIn.InstallationSource for NuGet installs in AddInSetup.

pull/32/head
Andreas Weizel 13 years ago
parent
commit
79a8504b49
  1. 1
      src/AddIns/Misc/AddInManager2/Project/Src/Model/AddInSetup.cs

1
src/AddIns/Misc/AddInManager2/Project/Src/Model/AddInSetup.cs

@ -310,6 +310,7 @@ namespace ICSharpCode.AddInManager2.Model @@ -310,6 +310,7 @@ namespace ICSharpCode.AddInManager2.Model
// Mark this AddIn
ManagedAddIn markedAddIn = new ManagedAddIn(addIn)
{
InstallationSource = AddInInstallationSource.NuGetRepository,
IsTemporary = true,
IsUpdate = (foundAddIn != null),
OldVersion = (foundAddIn != null) ? foundAddIn.Version : null

Loading…
Cancel
Save