External Tool (macro) not working

Answered

Following simple configuration not working:

Program: explorer.exe

Arguments: $SolutionDir$

Working directory: $ProjectFileDir$

 

Issue: running this tool opens the explorer with the 'My Documents' folder displayed. (not the the correct $SolutionDir$ path)

However the console output prints the command correctly (with the correct argument value)

 

Tool works fine if I hard code the path under arguments, without using the macro.

 

3 comments

Unfortunately, run configurations don't support MSBuild properties yet. Please upvote the corresponding feature request: https://youtrack.jetbrains.com/issue/RIDER-19344

0

@Julia, thanks.

 

But this is not the feature/section i was refraining to, by External Tool I meant following

 

The highlighted is whats seems to be not working (?)

0

Ah, thanks! Sorry for my misunderstanding. That one looks like a bug: https://youtrack.jetbrains.com/issue/RIDER-22480

The workaround is to use $ProjectFileDir$ instead of $ProjectFileDir$

1

Please sign in to leave a comment.