digitalmars.D.ide - How to add dependency to exists visuald project?
- Dmitry (16/16) Jun 08 2016 Hi. I'm trying do my next project using D. Previously I used
- Rainer Schuetze (5/19) Jun 08 2016 I'm not using dub myself, but doesn't it automatically pick up all new
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?
Jun 08 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...
Jun 08 2016