Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a reference to an assembly in LINQPad to access custom types?

Tags:

.net

linqpad

Is there a posibility to add a reference to an assembly in LINQPad?

I have some types in my assembly and I would like to use them in my LINQPad queries.

like image 756
miron Avatar asked Jul 11 '12 12:07

miron


People also ask

How to add assembly Reference in LINQPad?

In Additional References tab, click on the Browse button. This will open up a dialog box from where you can browse to the required assembly. Select the assembly file and click on the Open button to add the assembly reference.

How to add namespace in LINQPad?

One way to add it on LinqPad is pressing F4 > Namespace Imports tabs and adding at the bottom of the list System. Threading. Tasks then press Ok .

How does LINQPad work?

LINQPad automatically patches itself by downloading updates into its Application Data folder. It then checks that the new assembly has a valid signature, and if so, forwards to that executable, which then writes itself back to the original file.


1 Answers

Just press F4.

This will pop up the Add Reference dialog.


Add reference to linqpad

like image 140
sloth Avatar answered Sep 24 '22 02:09

sloth