Skip to content

Conversation

@sharadkjaiswal
Copy link
Contributor

Purpose

This PR provides support for AdditionalResolutionDirectories parameter for the console app so that users can provide list of additional path to resolve the test assembly. This option can be accessed using add: parameter to the console app, this was already available on the GUI.

This PR also makes use of AssemblyResolver class implementation to resolve the assembly path as using by the GUI application.

Reviewer

  • @Randy-Ma

if(!string.IsNullOrEmpty(setupData.AdditionalResolutionDirectories))
{
var splits = setupData.AdditionalResolutionDirectories.Split(new[] { ';' }, StringSplitOptions.RemoveEmptyEntries);
if (!splits.Any()) return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is better to throw an exception to let users know there is an error

@User-Zhaoyang
Copy link
Contributor

@sharadkjaiswal
Thanks for the effort! Except that the new setup binary can not verified here and several comments, LGTM!

@QilongTang
Copy link
Contributor

@Randy-Ma @sharadkjaiswal What's the state of this PR? Can we resolve the conflicts and merge this in?

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

Successfully merging this pull request may close these issues.

3 participants