SOSCSRPG icon indicating copy to clipboard operation
SOSCSRPG copied to clipboard

16.2 Breaking Game, 'Not Defined in Current Scope'

Open g0lder opened this issue 1 year ago • 2 comments

Describe the bug When I followed the instructions in lesson 16.2, it kept giving "Not defined in current scope" errors on basically every piece of UI, only East, West, and South worked for some reason.

To Reproduce Steps to reproduce the behavior: Paste the "new" SuperAdventure.cs code into your file.

Expected behavior The code to not give errors ig.

Additional context I am on JetBrains Rider on the .NET9 SDK rather than VSC.

g0lder avatar Jan 26 '25 03:01 g0lder

BTW here is my code: https://github.com/g0lder/C-Super-Adventure/tree/main

g0lder avatar Jan 26 '25 03:01 g0lder

@g0lder Do you have the .sln and .csproj files? I don't know how Rider handles those, but I need them to build the project in Visual Studio.

ScottLilly avatar Jan 26 '25 16:01 ScottLilly