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

AdditionalResolutionDirectories for console app #48

Open
wants to merge 1 commit into
base: Revit2017
Choose a base branch
from

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

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

@Randy-Ma
Copy link
Contributor

Randy-Ma commented Mar 2, 2016

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

@Randy-Ma Randy-Ma assigned sharadkjaiswal and unassigned Randy-Ma Mar 2, 2016
@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