Thread overview
Visual C++ project for Visual D doesn't allow d files
May 19, 2019
Alex
May 19, 2019
Alex
May 19, 2019
Alex
May 20, 2019
Rainer Schuetze
May 20, 2019
Rainer Schuetze
May 20, 2019
Rainer Schuetze
May 19, 2019
When using "new file" in the a mixed project, only C files are shown(in VS2019). While one can change the extension to .d, in D projects it allows one creating a d file.
May 19, 2019
On Sunday, 19 May 2019 at 10:06:19 UTC, Alex wrote:
> When using "new file" in the a mixed project, only C files are shown(in VS2019). While one can change the extension to .d, in D projects it allows one creating a d file.

Also, cannot drag or add folders(when going to add then new folder, it is grayed out). This is for a brand new mixed project.

May 19, 2019
On Sunday, 19 May 2019 at 12:40:28 UTC, Alex wrote:
> On Sunday, 19 May 2019 at 10:06:19 UTC, Alex wrote:
>> When using "new file" in the a mixed project, only C files are shown(in VS2019). While one can change the extension to .d, in D projects it allows one creating a d file.
>
> Also, cannot drag or add folders(when going to add then new folder, it is grayed out). This is for a brand new mixed project.

and build time and reason are not shown even when checked in the tools/options.
May 20, 2019

On 19/05/2019 12:06, Alex wrote:
> When using "new file" in the a mixed project, only C files are shown(in VS2019). While one can change the extension to .d, in D projects it allows one creating a d file.

You can create a new D file without associating it with a project (Ctrl+N), and then move it into the project.

But I'd like to add it to the "Add New item" dialog, too. It might have to invade the C++ branch of the selector, though.
May 20, 2019

On 19/05/2019 14:40, Alex wrote:
> On Sunday, 19 May 2019 at 10:06:19 UTC, Alex wrote:
>> When using "new file" in the a mixed project, only C files are shown(in VS2019). While one can change the extension to .d, in D projects it allows one creating a d file.
> 
> Also, cannot drag or add folders(when going to add then new folder, it is grayed out). This is for a brand new mixed project.
> 

As this is a VC project you will have to ask Microsoft why they don't support this functionality.

Having to setup all filters for a subdirectory structure manually can be quite some pain (and doesn't work with wildcards).
May 20, 2019

On 19/05/2019 14:42, Alex wrote:
> On Sunday, 19 May 2019 at 12:40:28 UTC, Alex wrote:
>> On Sunday, 19 May 2019 at 10:06:19 UTC, Alex wrote:
>>> When using "new file" in the a mixed project, only C files are shown(in VS2019). While one can change the extension to .d, in D projects it allows one creating a d file.
>>
>> Also, cannot drag or add folders(when going to add then new folder, it is grayed out). This is for a brand new mixed project.
> 
> and build time and reason are not shown even when checked in the tools/options.

Again, this is a VC/msbuild project (that's why the options are in a
".visualdproj" section).

You can enable verbose msbuild output in the global "Projects and Solution->Build and Run" options and try to decipher the logfile, but it can be pretty nasty.