www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - how to run 'dub upgrade' from within VisualD?

reply mw <mingwu gmail.com> writes:
Hi,

Just wonder how to run 'dub upgrade' from within VisualD?

on Windows of course.

thanks.
Aug 24 2020
next sibling parent mw <mingwu gmail.com> writes:
On Monday, 24 August 2020 at 21:19:14 UTC, mw wrote:
 Hi,

 Just wonder how to run 'dub upgrade' from within VisualD?

 on Windows of course.
In "Solution Explorer", I right click "asdf" and select "DUB Upgrade", but nothing happened: $ grep asdf ats.sln Project("{0CA079BF-A082-4301-BEDE-EB6FE7D43252}") = "asdf", ".dub/asdf.visualdproj", "{CEC987BE-D5B9-4938-BE49-3FDEF54D1BA0}" and in .dub/asdf.visualdproj <imppath>"..\..\..\..\..\..\Users\zhou\AppData\Local\dub\packages\asdf-0.5.7\asdf\source"</imppath> it's pointing to an old version, while in dub.json: "asdf": "~>0.6.2", Also, are we suppose to right click on each project and run "DUB Upgrade", instead of just do it once on the solution for all its dependency packages?
Aug 24 2020
prev sibling parent mw <mingwu gmail.com> writes:
On Monday, 24 August 2020 at 21:19:14 UTC, mw wrote:
 Hi,

 Just wonder how to run 'dub upgrade' from within VisualD?

 on Windows of course.
As a work around, I just delete the proj.sln, and regenerated it: ``` C:\<you_project_dir>\ dub.exe generate visuald ``` then it have the latest package versions.
Sep 08 2020