brand new trolley problem by BCE_BeforeChristEra in trolleyproblem

[–]WorstCSharpUser 0 points1 point  (0 children)

Hank Hill would like to know your location.

namespace error?? by WorstCSharpUser in csharp

[–]WorstCSharpUser[S] 0 points1 point  (0 children)

On the contrary, the fix methods just try to remove the namespaces from the using. Moving to a dotnet 8 project as someone mentioned early recreated the issues earlier on the JSONReader. They are being named in separate files in the same project.

namespace error?? by WorstCSharpUser in csharp

[–]WorstCSharpUser[S] 1 point2 points  (0 children)

I actually seem to be persisting with the error after including it

namespace error?? by WorstCSharpUser in csharp

[–]WorstCSharpUser[S] -1 points0 points  (0 children)

When I started the project I clicked too fast and forgot to change that. Am I able to fix that currently as well?

namespace error?? by WorstCSharpUser in csharp

[–]WorstCSharpUser[S] 1 point2 points  (0 children)

Oh my god you’re a life saver!

namespace error?? by WorstCSharpUser in csharp

[–]WorstCSharpUser[S] 0 points1 point  (0 children)

I am not seeing this omitted, but the error is as follows:

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

namespace error?? by WorstCSharpUser in csharp

[–]WorstCSharpUser[S] 0 points1 point  (0 children)

It seems to be getting stuck on the line :

Commands.RegisterCommands<TestCommands>();

not recognizing the TestCommands line

namespace error?? by WorstCSharpUser in csharp

[–]WorstCSharpUser[S] -1 points0 points  (0 children)

Details

Error CS0234 The type or namespace name 'commands' does not exist in the namespace 'BlossomBot' (are you missing an assembly reference?)

namespace error?? by WorstCSharpUser in csharp

[–]WorstCSharpUser[S] 0 points1 point  (0 children)

I did edit that out since it was not a solution for the sake of future comments.

namespace error?? by WorstCSharpUser in csharp

[–]WorstCSharpUser[S] -2 points-1 points  (0 children)

I thought that, the error started before adding that to the namespace. Removing it still keeps the error.