Skip to content

Specify environment variable in .runsettings PathExtension #357

@ix07

Description

@ix07

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions