digitalmars.D.ide - Open dub project?
- Jason Jeffory (4/4) Dec 31 2015 How can I open a dub generated project in VS with VD? Is there
- ZombineDev (8/12) Dec 31 2015 The Dub support in VisualD actually works backwards - you need to
- Jason Jeffory (4/16) Jan 01 2016 Cool! But once the project is created, what maintains the
- ZombineDev (16/35) Jan 01 2016 Dub is the only source of truth, so yes, you will need to
- Jason Jeffory (4/12) Jan 01 2016 What is your opinion between VS/VD and MonoD? I used MonoD a
How can I open a dub generated project in VS with VD? Is there any support or do I have to create a side project and manage it separately, more or less? If so, it would be really cool if VD could understand dub projects!
Dec 31 2015
On Thursday, 31 December 2015 at 23:46:21 UTC, Jason Jeffory wrote:How can I open a dub generated project in VS with VD? Is there any support or do I have to create a side project and manage it separately, more or less? If so, it would be really cool if VD could understand dub projects!The Dub support in VisualD actually works backwards - you need to use Dub to get VisualD project files: cd my_project dub generate visuald The above command will produce a my_project.sln file that you can now open in Visual Studio.
Dec 31 2015
On Friday, 1 January 2016 at 02:46:55 UTC, ZombineDev wrote:On Thursday, 31 December 2015 at 23:46:21 UTC, Jason Jeffory wrote:Cool! But once the project is created, what maintains the progress? If you add files through dub(a dependency), do you have to regenerate the project again?How can I open a dub generated project in VS with VD? Is there any support or do I have to create a side project and manage it separately, more or less? If so, it would be really cool if VD could understand dub projects!The Dub support in VisualD actually works backwards - you need to use Dub to get VisualD project files: cd my_project dub generate visuald The above command will produce a my_project.sln file that you can now open in Visual Studio.
Jan 01 2016
On Saturday, 2 January 2016 at 01:39:32 UTC, Jason Jeffory wrote:On Friday, 1 January 2016 at 02:46:55 UTC, ZombineDev wrote:Dub is the only source of truth, so yes, you will need to regenerate the project files if you add/remove/modify a dependency. However, if you are only adding/removing/modifying a file in your project, it may work fine. Because this easily becomes tedious, I mainly use the D language binding (called Mono-D) for Xamarin Studio/MonoDevelop for development (on Windows and Linux) and debugging (only on Linux). I use VisualD only for debugging on Windows (i.e. relatively rare). Mono-D has really good support for Dub - it natively underdtands dub.json files (so there's no need to use dub generate to create project files) and automatically updates it self if you change dub.json through the editor. The autocompletion mostly works well enough and the integration between dub and the solution explorer makes it very pleasant to use.On Thursday, 31 December 2015 at 23:46:21 UTC, Jason Jeffory wrote:Cool! But once the project is created, what maintains the progress? If you add files through dub(a dependency), do you have to regenerate the project again?How can I open a dub generated project in VS with VD? Is there any support or do I have to create a side project and manage it separately, more or less? If so, it would be really cool if VD could understand dub projects!The Dub support in VisualD actually works backwards - you need to use Dub to get VisualD project files: cd my_project dub generate visuald The above command will produce a my_project.sln file that you can now open in Visual Studio.
Jan 01 2016
On Saturday, 2 January 2016 at 04:36:48 UTC, ZombineDev wrote:On Saturday, 2 January 2016 at 01:39:32 UTC, Jason Jeffory wrote:What is your opinion between VS/VD and MonoD? I used MonoD a little but it seemed a bit whimpy compared to VS... but it could be that I'm just used to VS.[...]Dub is the only source of truth, so yes, you will need to regenerate the project files if you add/remove/modify a dependency. However, if you are only adding/removing/modifying a file in your project, it may work fine. [...]
Jan 01 2016