# Can't run basic audio plugin code with Visual Studio

**URL:** <https://forum.juce.com/t/cant-run-basic-audio-plugin-code-with-visual-studio/52999>\
**Category:** Audio Plugins\
**Created:** [September 13, 2022, 6:39pm UTC](https://forum.juce.com/t/cant-run-basic-audio-plugin-code-with-visual-studio/52999 "2022-09-13T18:39:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexgpy](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alexgpy/32/15998_2.png) [@alexgpy](https://forum.juce.com/u/alexgpy)\
**Post date:** [September 13, 2022, 6:39pm UTC](https://forum.juce.com/t/cant-run-basic-audio-plugin-code-with-visual-studio/52999/1 "2022-09-13T18:39:38Z")

</div>

Hey everyone,

Do you know why I get these errors on visual studio? I’ve been checking my module paths but can’t figure it out. Hope someone can help me here 🙂

 ![tmp](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/f/fee292ad9f4c2875ed48fc9220c6b7012329fb71.png)

Alex

---

<div class="post-metadata">

**Author:** ![ImJimmi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/imjimmi/32/10843_2.png) [@ImJimmi](https://forum.juce.com/u/ImJimmi)\
**Post date:** [September 13, 2022, 7:25pm UTC](https://forum.juce.com/t/cant-run-basic-audio-plugin-code-with-visual-studio/52999/2 "2022-09-13T19:25:56Z")

</div>

You’re trying to use things from the `juce::` namespace but haven’t specified the namespace when you’ve used them.

Simply add `juce::` in front of any of the JUCE types you’re using.

---

<div class="post-metadata">

**Author:** ![alexgpy](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alexgpy/32/15998_2.png) [@alexgpy](https://forum.juce.com/u/alexgpy)\
**Post date:** [September 14, 2022, 12:20pm UTC](https://forum.juce.com/t/cant-run-basic-audio-plugin-code-with-visual-studio/52999/3 "2022-09-14T12:20:51Z")

</div>

The errors remain even when I specify juce:: (line 26)

---

<div class="post-metadata">

**Author:** ![alexgpy](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alexgpy/32/15998_2.png) [@alexgpy](https://forum.juce.com/u/alexgpy)\
**Post date:** [September 14, 2022, 1:25pm UTC](https://forum.juce.com/t/cant-run-basic-audio-plugin-code-with-visual-studio/52999/4 "2022-09-14T13:25:32Z")

</div>

Solved. I set the paths correctly but had to add the modules to projucer by simply clicking on them in the modules section.
