Skip to content

Error while running TfsTestPlansAndSuitesMigrationProcessor #2381

Answered by MrHinsh
xci-mrt asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like IsWellFormedUriString doe not like your URL.

Ive updated to:

 if (options.Collection == null)
 {
     errors.Add("The Collection property must not be null.");
 }
 else
 {
     Uri output;
     if (!Uri.TryCreate(options.Collection.ToString(), UriKind.Absolute, out output))
     {
         errors.Add("The Collection property must be a valid URL.");
     }

 }

Which should work for your URL as well...

Should be in v16.0.4-Preview.5

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@xci-mrt
Comment options

@MrHinsh
Comment options

@MrHinsh
Comment options

@MrHinsh
Comment options

Answer selected by xci-mrt
@xci-mrt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants