tobania / VSTS.Extension.SqlReportingServices

VSTS Extension for uploading SSRS Reports
MIT License
14 stars 20 forks source link

Include Resource files option failing #12

Closed DevSlick closed 7 years ago

DevSlick commented 7 years ago

When choosing the Include Resource files option and setting it up as the tooltip describes, the following error always occurs:

2017-06-07T17:23:36.1946565Z ##[error]System.Management.Automation.ParameterBindingException: A positional parameter cannot be found that accepts argument '+'.

capture

DevSlick commented 7 years ago

I believe line 233 should be:

$props = New-Object "System.Collections.Generic.List[$type.Property]";

anton-kirschhock commented 7 years ago

We take a look tomorrow. Might be indeed line 233.

Op 7 jun. 2017 8:10 p.m. schreef "Nick" notifications@github.com:

I believe line 233 should be:

$props = New-Object "System.Collections.Generic.List[$type.Property]";

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tobania/VSTS.Extension.SqlReportingServices/issues/12#issuecomment-306878885, or mute the thread https://github.com/notifications/unsubscribe-auth/AEcni9nNRBMX8jv3yv5JOcZIaFkhVpMdks5sBuelgaJpZM4NzCby .

anton-kirschhock commented 7 years ago

@DevSlick Can you verify that the last change did resolve this? I have changed all the new-objects where i use the $type variable as you stated (which was correct by the way) :)

DevSlick commented 7 years ago

Yes. I can verify that the fix does work.

anton-kirschhock commented 7 years ago

Lovely :) thanks!