# Error CS0117: 'VERSION' does not contain a definition for 'dll'

**URL:** <https://qa.fmod.com/t/error-cs0117-version-does-not-contain-a-definition-for-dll/16217>\
**Category:** Unity\
**Created:** [September 23, 2020, 10:59pm UTC](https://qa.fmod.com/t/error-cs0117-version-does-not-contain-a-definition-for-dll/16217 "2020-09-23T22:59:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ikriz](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/ikriz/32/1549_2.png) [@ikriz](https://qa.fmod.com/u/ikriz)\
**Post date:** [September 23, 2020, 10:59pm UTC](https://qa.fmod.com/t/error-cs0117-version-does-not-contain-a-definition-for-dll/16217/1 "2020-09-23T22:59:24Z")

</div>

I’m getting the following errors in unity trying to create a build. (using version 2.01.04 with Unity 2019.2.21  
I’ve given the Runtime and Editor folders of the FMOD unity integration their own assembly definitions  
For some reason I get this weird error, it seems it wont resolve the VERSION number to a dll file name?

```
Assets\Plugins\FMOD\src\Runtime\wrapper\fmod.cs(1867,28): error CS0117: 'VERSION' does not contain a definition for 'dll'
Assets\Plugins\FMOD\src\Runtime\wrapper\fmod_studio.cs(375,35): error CS0117: 'STUDIO_VERSION' does not contain a definition for 'dll'

```

Any ideas?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [September 29, 2020, 3:50am UTC](https://qa.fmod.com/t/error-cs0117-version-does-not-contain-a-definition-for-dll/16217/2 "2020-09-29T03:50:43Z")

</div>

In release 2.01 there are source files under `Assets/Plugins/FMOD/platforms` that need to be part of the FMODUnity assembly, otherwise player builds fail with lots of errors about FMOD.VERSION and FMOD.Studio.STUDIO\_VERSION missing a definition for ‘dll’.

The docs are being updated with this information in the next release.

---

<div class="post-metadata">

**Author:** ![abjiasteamwork](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@abjiasteamwork](https://qa.fmod.com/u/abjiasteamwork)\
**Post date:** [February 27, 2024, 11:16am UTC](https://qa.fmod.com/t/error-cs0117-version-does-not-contain-a-definition-for-dll/16217/3 "2024-02-27T11:16:19Z")

</div>

I would like to ask how to solve this problem

---

<div class="post-metadata">

**Author:** ![abjiasteamwork](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@abjiasteamwork](https://qa.fmod.com/u/abjiasteamwork)\
**Post date:** [February 28, 2024, 1:32pm UTC](https://qa.fmod.com/t/error-cs0117-version-does-not-contain-a-definition-for-dll/16217/4 "2024-02-28T13:32:15Z")

</div>

I also encountered this issue when building the switch platform. How can I solve this version issue

---

<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:** [March 1, 2024, 6:07am UTC](https://qa.fmod.com/t/error-cs0117-version-does-not-contain-a-definition-for-dll/16217/5 "2024-03-01T06:07:20Z")

</div>

Solution shared here: [Unity Build Switch Error - #6 by abjiasteamwork](https://qa.fmod.com/t/unity-build-switch-error/21288/6)

---

<div class="post-metadata">

**Author:** ![megaleon](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/megaleon/32/5502_2.png) [@megaleon](https://qa.fmod.com/u/megaleon)\
**Post date:** [February 25, 2026, 11:46am UTC](https://qa.fmod.com/t/error-cs0117-version-does-not-contain-a-definition-for-dll/16217/6 "2026-02-25T11:46:59Z")

</div>

Hi I’m having this issue with Nintendo SDK 20.5.28 and Unity 6000.3.7f1 using FMOD 20.2.28

The issue only happens with Switch 2 as a target, any idea of what might be wrong? I tried to follow this an other ticket but they did not lead me to the solution.

```auto
Error CS0117: 'VERSION' does not contain a definition for 'dll'
Error CS0117: 'STUDIO_VERSION' does not contain a definition for 'dll'

```

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [February 27, 2026, 3:20am UTC](https://qa.fmod.com/t/error-cs0117-version-does-not-contain-a-definition-for-dll/16217/7 "2026-02-27T03:20:11Z")

</div>

FMOD 2.02.28 does not have a version for Switch 2 available, you will have to upgrade to a newer version that supports the platform.
