# Error CS0246: The type or namespace name 'single' could not be found (are you missing a using directive or an assembly reference?)

**URL:** <https://forum.radsystems.io/t/error-cs0246-the-type-or-namespace-name-single-could-not-be-found-are-you-missing-a-using-directive-or-an-assembly-reference/497>\
**Category:** ASPRad Vue\
**Created:** [August 30, 2021, 3:14pm UTC](https://forum.radsystems.io/t/error-cs0246-the-type-or-namespace-name-single-could-not-be-found-are-you-missing-a-using-directive-or-an-assembly-reference/497 "2021-08-30T15:14:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![danh](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/d/a9a28c/32.png) [@danh](https://forum.radsystems.io/u/danh)\
**Post date:** [August 30, 2021, 3:14pm UTC](https://forum.radsystems.io/t/error-cs0246-the-type-or-namespace-name-single-could-not-be-found-are-you-missing-a-using-directive-or-an-assembly-reference/497/1 "2021-08-30T15:14:07Z")

</div>

Hello, I’m getting this error when trying to publish a project. This is a [ASP.NET](http://ASP.NET) Vue project and this is showing in the console. Any idea what could be wrong?  
Thanks, Dan

---

<div class="post-metadata">

**Author:** ![willvin](https://forum.radsystems.io/user_avatar/forum.radsystems.io/willvin/32/7_2.png) [@willvin](https://forum.radsystems.io/u/willvin)\
**Post date:** [August 30, 2021, 4:51pm UTC](https://forum.radsystems.io/t/error-cs0246-the-type-or-namespace-name-single-could-not-be-found-are-you-missing-a-using-directive-or-an-assembly-reference/497/2 "2021-08-30T16:51:02Z")

</div>

@danh what was the last configuration you made before getting the error, and also please provide a screenshot of the error stack.

---

<div class="post-metadata">

**Author:** ![danh](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/d/a9a28c/32.png) [@danh](https://forum.radsystems.io/u/danh)\
**Post date:** [August 30, 2021, 5:13pm UTC](https://forum.radsystems.io/t/error-cs0246-the-type-or-namespace-name-single-could-not-be-found-are-you-missing-a-using-directive-or-an-assembly-reference/497/3 "2021-08-30T17:13:38Z")

</div>

I only connected to the Northwind database and went to publish. I wonder if it has something to do with this error when I connected:  
 ![image](https://forum.radsystems.io/uploads/default/original/1X/9626ddf423dc714a7c84873332ea8c1de352b946.png)

I think there are spaces in some of the table names that’s causing this error and I’m wondering if that could explain the first one?

---

<div class="post-metadata">

**Author:** ![willvin](https://forum.radsystems.io/user_avatar/forum.radsystems.io/willvin/32/7_2.png) [@willvin](https://forum.radsystems.io/u/willvin)\
**Post date:** [August 30, 2021, 7:17pm UTC](https://forum.radsystems.io/t/error-cs0246-the-type-or-namespace-name-single-could-not-be-found-are-you-missing-a-using-directive-or-an-assembly-reference/497/4 "2021-08-30T19:17:32Z")

</div>

@danh that should be the cause, and also make sure you don’t use C# reserved keywords to create your database tables and columns.

---

<div class="post-metadata">

**Author:** ![danh](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/d/a9a28c/32.png) [@danh](https://forum.radsystems.io/u/danh)\
**Post date:** [August 30, 2021, 7:45pm UTC](https://forum.radsystems.io/t/error-cs0246-the-type-or-namespace-name-single-could-not-be-found-are-you-missing-a-using-directive-or-an-assembly-reference/497/5 "2021-08-30T19:45:53Z")

</div>

OK sounds good. I’ll keep that in mind.  
Thanks!
