Print Page | Close Window

NuGet update

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=4096
Printed Date: 10-Apr-2025 at 4:06pm


Topic: NuGet update
Posted By: smi-mark
Subject: NuGet update
Date Posted: 04-Apr-2013 at 6:56am
After updating from 7.1.0 to 7.1.1 I noticed the targets in the .csproj file didn't get updated they still showed 7.1.0

<Import Project="..\..\..\..\..\..\packages\IdeaBlade.DevForce.Aop.7.1.0\tools\IdeaBlade.DevForce.Common.targets" Condition="Exists('..\..\..\..\..\..\packages\IdeaBlade.DevForce.Aop.7.1.0\tools\IdeaBlade.DevForce.Common.targets')" />

Is it possible to have the NuGet update correct this or will this be a manual process when updating?



Replies:
Posted By: sbelini
Date Posted: 04-Apr-2013 at 10:57am
NuGet should update the .csproj files properly.

I've just tried and found no issues.

Have you cleaned/rebuilt the projects?


Posted By: smi-mark
Date Posted: 04-Apr-2013 at 2:38pm
Yes, a few times, maybe the update didn't complete right. I'll keep an eye on it the next time we update


Posted By: kdev
Date Posted: 05-Apr-2013 at 12:03am
i had the same issue


Posted By: sbelini
Date Posted: 05-Apr-2013 at 9:34am
kdev and smi-mark,

A few additional things that might help us reproduce the problem:

What version of NuGet are you using?
How are you upgrading the NuGet packages? (i.e. via UI or Package Manager Console)

I'm using NuGet 2.2.40116.9051 and in both UI and Console the .csproj files are updated properly.

One more question: If you uninstall the package, is the .csproj file updated properly? Or does the issue happen in this case too?


Posted By: kdev
Date Posted: 20-May-2013 at 3:55pm
Hi sbelini,

Sorry for not answering, I missed your reply.

I am currently upgrading to DF 7.1.2 and Cocktail 2.3 and I just got the same issue, the imports are in 7.1.1 instead of 7.1.2.
I am using Nuget UI 2.5.40416.9020 and I started to update the cocktail package, if that matters.





Posted By: smi-mark
Date Posted: 21-May-2013 at 6:33am
I upgraded to 7.1.2 and my imports appeared to have updated to 7.1.2.

I am wondering if it had something to do with my previous issue when I had the beta version installed still? Since fixing that I haven't had any issues.

http://www.ideablade.com/forum/forum_posts.asp?TID=4119&KW=&title=nuget-issue




Print Page | Close Window