Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify environment variable in .runsettings PathExtension #357

Open
ix07 opened this issue Apr 4, 2024 · 0 comments
Open

Specify environment variable in .runsettings PathExtension #357

ix07 opened this issue Apr 4, 2024 · 0 comments

Comments

@ix07
Copy link

ix07 commented Apr 4, 2024

How can I use an environment variable in the "PathExtension"-property in a "runsettings"-file?

This works:

    <GoogleTestAdapterSettings>
		<SolutionSettings>
			<Settings>
				<PathExtension>D:\LIB\QT\5.15.2\msvc2019\bin</PathExtension>
			</Settings>
		</SolutionSettings>
	</GoogleTestAdapterSettings>

This doesn't:

	<GoogleTestAdapterSettings>
		<SolutionSettings>
			<Settings>
				<PathExtension>%QTDIR%\bin</PathExtension>
			</Settings>
		</SolutionSettings>
	</GoogleTestAdapterSettings>

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant