.linq file using NugetReference from private/on-premise package repository?

edited July 2018
Is it possible to embed private package repository paths in a .linq file?

I'm trying to create a portable .linq file that contains embedded links to a private repository set up in our company. Many people in the company use LINQPad4 but do not have our relatively new NuGet repository listed in their %AppData%\LINQPad\NuGetSources.xml. As such when they open a .linq file with something like this at the top:

MyCompany.OurPackageName MyCompany.OurPackageName

and they open it to run they then see the following sequence:
"This query requires the following NuGet packages: MyCompany.OurPackageName Download?"

and clicking "yes":
"Error downloading 'MyCompany.OurPackageName' - Unable to find package 'MyCompany.OurPackageName' OK"

I'm imagining something like this would be helpful here:
\\mycompany\NuGet\packages MyCompany.OurPackageName MyCompany.OurPackageName
Sign In or Register to comment.