# Noob Question - C# Wrapper

**URL:** <https://qa.fmod.com/t/noob-question-c-wrapper/22491>\
**Category:** FMOD Engine\
**Tags:** windows, csharp\
**Created:** [January 9, 2025, 10:01pm UTC](https://qa.fmod.com/t/noob-question-c-wrapper/22491 "2025-01-09T22:01:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AvanMadisen](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@AvanMadisen](https://qa.fmod.com/u/AvanMadisen)\
**Post date:** [January 9, 2025, 10:01pm UTC](https://qa.fmod.com/t/noob-question-c-wrapper/22491/1 "2025-01-09T22:01:29Z")

</div>

Hi,

Trying to find an alternative audio management system for a Monogame project (Monogame’s built in audio is the barest of barebones you can get) and FMOD came highly recommended but I’m having trouble getting started.

I’ve copied the ‘fmod.cs’ file into my project folder along with the ‘fmod.dll’ and that’s as far as I’ve been able to get.

The .cs file is giving me 21 compile errors for missing type or namespace, all ‘DSP\_’ names, I’m assuming that’s because it’s not reading the dll.

Attempting to add the dll as a reference gives me a ‘reference is invalid or unsupported’ error.

I’m using Visual Studio 2022 in case that affects things.

Any help or suggestions would be appreciated.

Thanks.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [January 12, 2025, 11:21pm UTC](https://qa.fmod.com/t/noob-question-c-wrapper/22491/2 "2025-01-12T23:21:57Z")

</div>

Hi,

You need to copy everything form the `api/core/inc` and the `api/core/lib` files to the `Program.cs` dir:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/f/f535dce9ddbba9283626d43ee77013db27e4b7fe.png)  
And make sure you mark the `fmod.dll` as `Copy always` in its properties option:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/c/c37302ac4788e5f4dd99e20d266916de0bbf7188.png).  
If you need an outline of initializing the FMOD system, you can reference any of the examples scripts included with the FMOD engine download: `C:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\examples`

Hope this helps!

---

<div class="post-metadata">

**Author:** ![AvanMadisen](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@AvanMadisen](https://qa.fmod.com/u/AvanMadisen)\
**Post date:** [January 13, 2025, 7:14pm UTC](https://qa.fmod.com/t/noob-question-c-wrapper/22491/3 "2025-01-13T19:14:08Z")

</div>

Thank you, that was exactly what I needed!
