CompileScore icon indicating copy to clipboard operation
CompileScore copied to clipboard

Score file is written out without expanding/interpolating environment variable

Open missmah opened this issue 2 years ago • 5 comments

image

image

image

missmah avatar Jun 20 '22 19:06 missmah

Actually, to be specific, it seems like it's expanding it and then adding it to the path unexpanded!

missmah avatar Jun 20 '22 19:06 missmah

(I also ended up having to specify an absolute path for my custom file to get it read properly)

missmah avatar Jun 20 '22 19:06 missmah

Sadly, at this point of time, the macros supported are limited and hardcoded

I will can have a look and try to update this so it can borrow a more extensive macro list.

Viladoman avatar Jun 21 '22 18:06 Viladoman

Ah, thanks for the references to the code and documentation, very helpful!

Seems like I could hard-code ours in a fork :-)

Maybe one day if I get time, I can add a PR to query and support all of them dynamically?

missmah avatar Jun 21 '22 20:06 missmah

I second the interest into expansion of all env variable and not the existing limited set ! Also, a bug currently in the implementation on opening a solution, the compile score tab resolve a $(Platform) macro as "x64", while in our case, the platform is actually "somethingelse". If I change the active platform to an other and back, the macro is resolved to "somethingelse" properly again

galop1n avatar Jul 14 '22 16:07 galop1n