mrward/monodevelop-nuget-addin

Updated in dialog

Closed this issue · 13 comments

Even though there is an update (in my prerelease nuget packages), Updated does not show anything. Perhaps there should be a refresh button? I'll try restarting everything.

Just to be clear, in Installed you can see my version 3.0.84, and in Available you can see 3.0.85, but nothing in Updated. The only way I see to redo it is to uninstall manually from Installed and reinstall.

Do you have "Include Prerelease" checked/ticked in the Updates tab?

Yes, I did have include Prerelease checked.

On Tue, Sep 24, 2013 at 8:49 AM, Matt Ward notifications@github.com wrote:

Do you have "Include Prerelease" checked/ticked in the Updates tab?


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

Here's an example. I first create a MonoMac Project.

screen shot 2013-09-24 at 9 24 21 am

I add the package. Note that this is version 3.0.85-unstable, built earlier today.

screen shot 2013-09-24 at 9 25 26 am

Then I rebuild the packages. When I re-open the nuget addin, I can see the new version. It now says 3.0.86-unstable...

screen shot 2013-09-24 at 9 30 20 am

...but nothing is in Updated. :(

screen shot 2013-09-24 at 9 30 59 am

I am on Xamarin Studio 4.0.12 (build 3).

screen shot 2013-09-24 at 9 31 47 am

Same issue whether I go from the solution level or from the project level.

This is reproducible in Xamarin Studio. Seems to be OK in SharpDevelop so I must have broken something.

On a semi-but-more-unrelated note, I'm curious, how do you go about debugging a nuget plugin like this?

I do most of my debugging on Windows using Visual Studio. To check this bug out for example, I have a copy of Xamarin Studio where I deploy the nuget plugin binaries into a subdirectory. Then it is a case of running Xamarin Studio and attach Visual Studio's debugger to it.

I have fixed this bug, which was a missing flag not being passed, in commit 4b6f108

Thanks for reporting it.

I was not planning to push out a new release with this fix straight away. I am going to look at PCL support first. However if you want the updated binaries I can make them available.

If you could make them available that would be really helpful, as I'm doing
very frequent updates (developing on Windows using VS but pushing updated
packages to Xamarin).

On Tue, Sep 24, 2013 at 9:54 AM, Matt Ward notifications@github.com wrote:

I do most of my debugging on Windows using Visual Studio. To check this
bug out for example, I have a copy of Xamarin Studio where I deploy the
nuget plugin binaries into a subdirectory. Then it is a case of running
Xamarin Studio and attach Visual Studio's debugger to it.

I have fixed this bug, which was a missing flag not being passed, in
commit 4b6f1084b6f108

Thanks for reporting it.

I was not planning to push out a new release with this fix straight away.
I am going to look at PCL support first. However if you want the updated
binaries I can make them available.


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

I guess I can also compile my own. Did the changes go into master?

On Tue, Sep 24, 2013 at 9:58 AM, E. Timothy Uy tim@loqu8.com wrote:

If you could make them available that would be really helpful, as I'm
doing very frequent updates (developing on Windows using VS but pushing
updated packages to Xamarin).

On Tue, Sep 24, 2013 at 9:54 AM, Matt Ward notifications@github.comwrote:

I do most of my debugging on Windows using Visual Studio. To check this
bug out for example, I have a copy of Xamarin Studio where I deploy the
nuget plugin binaries into a subdirectory. Then it is a case of running
Xamarin Studio and attach Visual Studio's debugger to it.

I have fixed this bug, which was a missing flag not being passed, in
commit 4b6f1084b6f108

Thanks for reporting it.

I was not planning to push out a new release with this fix straight away.
I am going to look at PCL support first. However if you want the updated
binaries I can make them available.


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

Lol, I compiled it but I actually don't know where to put the binaries! Can you advise?

Yes the changes are in master.

I have built a new addin which you can download from:

http://mrward.github.com/monodevelop-nuget-addin-repository/4.0/PrereleaseUpdateFix/MonoDevelop.PackageManagement_0.6.1.mpack

Download the .mpack and you should be able to install the .mpack from the Addin Manager using the Install from File button. I had to restart Xamarin Studio after installing the addin over the old one before it was picked up.

Probably going to be easier using the .mpack however on a Mac the binaries go in a folder somewhere under:

~/Library/Application Support/XamarinStudio-{version}/LocalInstall

Thanks Matt. it worked perfectly. I guess the "m" in mrward stands for Matt
rather than being Mr. Ward? :)

On Tue, Sep 24, 2013 at 10:17 AM, Matt Ward notifications@github.comwrote:

Probably going to be easier using the .mpack however on a Mac the binaries
go in a folder somewhere under:

~/Library/Application Support/XamarinStudio-{version}/LocalInstall


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