Print Page | Close Window

NuGet issue

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2012
Forum Discription: For .NET 4.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=4119
Printed Date: 10-Apr-2025 at 6:29pm


Topic: NuGet issue
Posted By: smi-mark
Subject: NuGet issue
Date Posted: 18-Apr-2013 at 10:27am
When I open the package manager console, or usually anything to do with NuGet, I get messages saying DevForce 2012 tools are already installed. The installer tries to start and then fails saying it is already installed. This has been happening for a while now.

Does anyone else have this issue or have a fix for it? It's not a huge deal but it's very annoying.

This is the output from opening the console:

Each package is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.

Package Manager Console Host Version 2.2.40116.9051

Type 'get-help NuGet' to see all available NuGet commands.


Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName                                                                                                                                                                                                 
-------  ------    -----      ----- -----   ------     -- -----------                                                                                                                                                                                                 
    228      17     3728      10380    98     0.03  21892 setup                                                                                                                                                                                                       


 "DevForce 2012 Tools are already installed."

*************************************************************************************
 INSTRUCTIONS
*************************************************************************************
 - To enable building a package from a project use the Enable-PackageBuild command
 - To enable restoring packages on build use the Enable-PackageRestore command.
 - When using one of the above commands, a .nuget folder will been added to your
   solution root. Make sure you check it in!
 - For for information, see https://github.com/davidfowl/NuGetPowerTools
*************************************************************************************

 "DevForce 2012 Tools are already installed."
PM>



Replies:
Posted By: kimj
Date Posted: 18-Apr-2013 at 10:38am
The init.ps1 script used by the DevForce.Core package will run every time the solution is opened and it's expected to see that "already installed" message.

What are you seeing when you say the "installer tries to start"? Do you see the setup program launched? Which version of the NuGet packages do you have installed? If you check in "Programs and Features", which version do you see for DevForce 2012? And finally, which version do you see for the two DevForce extensions?


Posted By: smi-mark
Date Posted: 18-Apr-2013 at 10:48am
Interestingly enough in programs and features it shows 7.0.1. I'm currently developing with 7.1.1 using NuGet of course.

The extensions both show 7.1.0. Should they have been updated to 7.1.1 with the NuGet update package?







Posted By: kimj
Date Posted: 18-Apr-2013 at 11:56am
Maybe this was a hazard of being a beta user. Sorry. :)

We don't reinstall the license (the setup.exe) and the extensions with every release, but at a minimum you should have a 7.0.2 "install" and 7.1.0 extensions.

I would uninstall from Programs and Features, uninstall the packages from you solution, and then re-install. That should force a new setup.exe run (you'll need to re-enter your license key) and re-install the extensions. Once everything is current you shouldn't see installer prompts like you have been.



Print Page | Close Window