Does Visual D support wildcards in build events?

evawillms evawillms183 at gmail.com
Wed Jan 10 01:03:36 UTC 2024


On Thursday, 18 February 2021 at 08:04:48 UTC, Jedi wrote:
> I'm having to hard code names and this is causing problems when 
> I move the projects since they refer to the wrong locations. 
> Basically the same stuff that C++/C#/VB/etc supports. I mainly 
> just need the output exe as a special token that changes with 
> the project type.

One solution is to use relative file paths instead of absolute 
paths. With relative paths, you specify the file or directory 
location relative to the current working directory. This allows 
the  [Run 3](https://run3online.pro) project to be moved without 
breaking the references. Most programming languages, including 
C++, C#, VB.NET, etc., support relative file paths.


More information about the Digitalmars-d-ide mailing list