# How do I add PublicAdditionalLibraries?

**URL:** <https://forums.unrealengine.com/t/how-do-i-add-publicadditionallibraries/408330>\
**Category:** Community & Industry Discussion\
**Tags:** dll, library, unreal-engine, linking, question\
**Created:** [October 30, 2017, 4:41pm UTC](https://forums.unrealengine.com/t/how-do-i-add-publicadditionallibraries/408330 "2017-10-30T16:41:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kochab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kochab](https://forums.unrealengine.com/u/Kochab)\
**Post date:** [October 30, 2017, 4:41pm UTC](https://forums.unrealengine.com/t/how-do-i-add-publicadditionallibraries/408330/1 "2017-10-30T16:41:23Z")

</div>

I’m following this tutorial by Rama to link a library:  
[https://wiki.unrealengine.com/How\_to\_Link\_External\_C\_Libraries\_.dll\_.lib\_With\_Your\_Project\_%26\_Package\_With\_Game,\_Fast\_And\_Easy](https://wiki.unrealengine.com/How_to_Link_External_C_Libraries_.dll_.lib_With_Your_Project_%26_Package_With_Game,_Fast_And_Easy)

When I get to step 2, I cannot find a `build.cs` file. I have `MyGame.Target.cs` and `MyGameEditor.Target.cs`, so I’m not surprised that trying to add the next line of code didn’t work. I get this error:

> The name ‘PublicAdditionalLibraries’  
> does not exist in the current context

I also added `using System.IO` as per another tutorial. What is the updated way of adding `PublicAdditionalLibraries`? Thanks.

---

<div class="post-metadata">

**Author:** ![Kochab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kochab](https://forums.unrealengine.com/u/Kochab)\
**Post date:** [October 31, 2017, 6:31am UTC](https://forums.unrealengine.com/t/how-do-i-add-publicadditionallibraries/408330/2 "2017-10-31T06:31:25Z")

</div>

Oops, I actually did have `build.cs` in the source directory.
