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

风格不统一 提交于 2019-12-04 14:57:34

问题


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.


回答1:


Just press F4.

This will pop up the Add Reference dialog.





回答2:


You can also use the menu option to access the popup window to add references.

  • Notice the >> arrows in menu bar. Click on it.

  • Go to Query menu. Find References and Properties. Click on it.

Following is example image from LINQPad 5:




回答3:


I had to do fn and F4 at the same time.



来源:https://stackoverflow.com/questions/11432642/how-to-add-a-reference-to-an-assembly-in-linqpad-to-access-custom-types

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!