❔ error CS1529 how do I fix this im brand new just trying to learn the basics

🥹
11 Replies
TheHappyCapy
TheHappyCapyOP2y ago
error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations
Buddy
Buddy2y ago
$details
MODiX
MODiX2y ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
TheHappyCapy
TheHappyCapyOP2y ago
Buddy
Buddy2y ago
Buddy
Buddy2y ago
Remember what the comment syntax looks like Also, to solve the intellisense not working please follow this instruction $unitybug
MODiX
MODiX2y ago
If intellisense is not working for VSCode / Visual Studio, follow these steps.
Go into Unity Editor -> Preferences -> External Tools -> Set Visual Studio (or Visual Studio Code) as your preferred editor.
Go into Unity Editor -> Preferences -> External Tools -> Set Visual Studio (or Visual Studio Code) as your preferred editor.
Close the editor and re-open it again by double-clicking a script file.
Buddy
Buddy2y ago
And the last thing, I do not recommend learning C# through Unity. But learn by making console applications so you learn the basics of C# first. $helloworld will help you at that
TheHappyCapy
TheHappyCapyOP2y ago
okie dokie thank you for the information I will try doing this course I appreciate it allot
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server