how to run 'dub upgrade' from within VisualD?

mw mingwu at gmail.com
Mon Aug 24 21:51:30 UTC 2020


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?


More information about the Digitalmars-d-learn mailing list