System.UriFormatException (Invalid URI: Invalid port specified) adding a nuget package

I'm using Linqpad premium. I have it installed on my home machine and a work machine.

My home machine, adding a nuget package works fine.

On my work machine, when I try to add a nuget package, I get the following


System.UriFormationException

Invalid URI: Invalid port specified.


Using my third machine licence, I tried it on my work laptop - same problem.

Not sure if it's AV/firewall (it's McAfee BTW), but I'm not able to turn it off.

Any hints would be appreciated.

Thanks

Comments

  • There is another dialog titled 'Unhandled thread exception' that appears after the initial error - here's the content...

    System.NullReferenceException: Object reference not set to an instance of an object.

    at LINQPad.UI.NugetManagerForm.Dispose(Boolean disposing)
    at System.ComponentModel.Component.Finalize()
  • That error is from invalid proxy settings. Go to Edit | Preferences | Web proxy and make sure that you've specified a valid URI for the web proxy address.
  • So obvious, and yet I missed it [bangs head on desk].

    Many thanks Joe.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!