Adding reference to another project from visual studio code

后端 未结 4 2007
孤独总比滥情好
孤独总比滥情好 2020-12-28 16:12

If a library (eg, on github) doesn\'t distribute itself via a nuget package, I\'d have to manually include it as a reference, correct? I see a lot of reference posts for how

4条回答
  •  温柔的废话
    2020-12-28 17:02

    In visual studio, in the solution explorer, expand the project that will reference this other library. You will see "References", right click and choose "Add". Then choose browse on the left. Find your dll in your file system. If vs can't find the library you may need to unzip it. I've read where you may need to copy the dll into the bin folders, I recommend trying it without doing that, then copying it in to them if it fails without them.

    Btw Googling "visual studio add reference" comes up with A LOT of great results.

提交回复
热议问题