aBothe / Mono-D

D Add-In for MonoDevelop
http://wiki.dlang.org/Mono-D
Other
113 stars 26 forks source link

Support add additional files to dub project #544

Closed Kozzi11 closed 10 years ago

Kozzi11 commented 10 years ago

When using DUB project. Adding additional source files (diet templates) to project does not work.

D forum thread: http://forum.dlang.org/thread/ffnvwkgaxcmnmwxwkemu@forum.dlang.org

aBothe commented 10 years ago

So..where is your dt-file located at? Within your project directory or somewhere else? It might not be copied physically into the actual directory.

Kozzi11 commented 10 years ago

It is in /views/index.dt

aBothe commented 10 years ago

Ahh right, now I can reproduce it. It's only looking in /source-folders, not in others. That's it. Well okay, let's see then.

aBothe commented 10 years ago

Hmm, well, it gets kinda tricky now. I just won't put in all kinds of files, as there are things like '.dub', '.userprefs', binary files etc. -- I of course could just hardcode common extensions like .dt or images, but this probably won't be enough. You still could put your views into /source although this is probably not preferred by the standard design. Or, as a compromise, I could add things that are located within /views - are there other typical folders?

aBothe commented 10 years ago

Alright, /public as well as /views according to http://vibed.org/docs

Kozzi11 commented 10 years ago

thx