Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post nuget installation page keeps coming up every time I open Visual Studio #639

Closed
micah-bloomerang opened this issue May 2, 2014 · 8 comments
Labels
Milestone

Comments

@micah-bloomerang
Copy link
Contributor

I'm not sure if this is a Nuget issue or a NEST issue, but every time I open my solution that uses the latest version of NEST, Visual Studio shows me http://nest.azurewebsites.net/nuget-install.html.

I'm using:
NEST version 1.0.0-beta1 (Prerelease)
Visual Studio Ultimate 2013 Version 12.0.21005.1 REL
NuGet Package Manager 2.7.40911.287

@Mpdreamz
Copy link
Member

Mpdreamz commented May 5, 2014

Yuck that's annoying, it should be a merely post nuget install popup.

Is it doing a nuget restore every time you open the solution?

@Mpdreamz Mpdreamz added this to the NEST 1.0-beta2 milestone May 5, 2014
@micah-bloomerang
Copy link
Contributor Author

I don't know how to tell. Here's what I have in my Package Manager Console
window when I fire the solution up. Not sure if it helps:

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.7.40911.287

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

AutoHides : False
Caption : Loading...
Collection :
{Microsoft.VisualStudio.Platform.WindowManagement.DTE.W
indowBase,
Microsoft.VisualStudio.Platform.WindowManage
ment.DTE.WindowBase,
Microsoft.VisualStudio.Platform.Wi
ndowManagement.DTE.WindowBase}
CommandBars : {URL Toolbar, F1 Disambiguation Toolbar}
ContextAttributes : System.__ComObject
DTE : System.__ComObject
Document :
HWnd : 328202
Height : 400
IsFloating : False
Kind : Tool
Left : 0
Linkable : False
LinkedWindowFrame :
Microsoft.VisualStudio.Platform.WindowManagement.DTE.Wi
ndowBase
LinkedWindows :
Object : System.__ComObject
ObjectKind : {E8B06F52-6D01-11D2-AA7D-00C04F990343}
Project :
ProjectItem :
Selection :
Top : 0
Type : vsWindowTypeToolWindow
Visible : True
Width : 400
WindowState : vsWindowStateMaximize
HasBeenDeleted : False
Events :
Microsoft.VisualStudio.Platform.WindowManagement.DTE.Wi
ndowEvents
VisibilityEvents :
Microsoft.VisualStudio.Platform.WindowManagement.DTE.Wi
ndowVisibilityEvents
Rect : 0,0,400,400
OutstandingEventCount : 0

PM>

AutoHides : False
Caption : Nest - Post nuget installation
Collection :
{Microsoft.VisualStudio.Platform.WindowManagement.DTE.W
indowBase,
Microsoft.VisualStudio.Platform.WindowManage
ment.DTE.WindowBase,
Microsoft.VisualStudio.Platform.Wi
ndowManagement.DTE.WindowBase}
CommandBars : {URL Toolbar, F1 Disambiguation Toolbar}
ContextAttributes : System.__ComObject
DTE : System.__ComObject
Document :
HWnd : 328202
Height : 576
IsFloating : False
Kind : Tool
Left : 32
Linkable : False
LinkedWindowFrame :
Microsoft.VisualStudio.Platform.WindowManagement.DTE.Wi
ndowBase
LinkedWindows :
Object : System.__ComObject
ObjectKind : {E8B06F52-6D01-11D2-AA7D-00C04F990343}
Project :
ProjectItem :
Selection :
Top : 106
Type : vsWindowTypeToolWindow
Visible : True
Width : 1455
WindowState : vsWindowStateMaximize
HasBeenDeleted : False
Events :
Microsoft.VisualStudio.Platform.WindowManagement.DTE.Wi
ndowEvents
VisibilityEvents :
Microsoft.VisualStudio.Platform.WindowManagement.DTE.Wi
ndowVisibilityEvents
Rect : 32,106,1455,576
OutstandingEventCount : 0

On Mon, May 5, 2014 at 4:58 AM, Martijn Laarman [email protected]:

Yuck that's annoying, it should be a merely post nuget install popup.

Is it doing a nuget restore every time you open the solution?


Reply to this email directly or view it on GitHubhttps://github.com//issues/639#issuecomment-42169646
.

[image: Description: favicon]Micah Weaver | Senior Product Developer

_E [email protected] [email protected] |
W Bloomerang.co http://www.bloomerang.co/

@micah-bloomerang
Copy link
Contributor Author

I did some investigation into this. The "Automatically Running PowerShell Scripts During Package Installation and Removal" section at http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package makes it sound like you need to be using install.ps1 instead of init.ps1

micah-bloomerang added a commit to Bloomerang/elasticsearch-net that referenced this issue May 23, 2014
Mpdreamz added a commit that referenced this issue May 26, 2014
@ThomasSkyldahl
Copy link

Shouldn't elasticsearch-init.ps1 be renamed to elasticsearch-install.ps1 to avoid confusion in the future?

@micah-bloomerang
Copy link
Contributor Author

Doesn't look like my change fixed it. I still get the pop-up every time I open the solution.

@dwhart
Copy link

dwhart commented Aug 10, 2014

I have this exact same problem. @Mpdreamz I think this should be opened again.

@micah-bloomerang
Copy link
Contributor Author

@dwhart try deleting any old versions of both NEST and ElasticSearch.net from the packages folder.

@minimoe
Copy link

minimoe commented Oct 23, 2014

Thanks @micah-bloomerang. That worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants