How to add dependency to exists visuald project?

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Wed Jun 8 14:46:57 PDT 2016



On 08.06.2016 14:41, Dmitry wrote:
> Hi. I'm trying do my next project using D. Previously I used Xamarin
> Studio, but for serious work I need a debugger. So, I try Visual Studio
> + VisualD.
>
> I create a new project:
>
>     dub init projectname
>
> Add a dependency to dub.sdl, then generate solution for Visual Studio:
>
>     dub generate visuald
>
> Open it in Visual Studio and do some changes (create new folders, new
> modules, etc).
> Then I need add new dependency. I edit dub.sdl, but what then? If I
> generate project again
>
>     dub generate visuald
>
> then I'll lose all changes which I did (new folders, new modules, etc).
>
> How I can add new dependency and continue work?
>

I'm not using dub myself, but doesn't it automatically pick up all new 
files when generating the project again? You'll still lose project 
configuration settings, these should be added to dub.sdl to begin with.

Maybe some dub experts can shed more light on this...


More information about the Digitalmars-d-ide mailing list