C
C#5mo ago
Hox

'scriptcs' is not recognized as an internal or external command

I get this error even when I just want to print a hello world. This has not happened before.
No description
17 Replies
Angius
Angius5mo ago
Don't use scriptcs
Pobiega
Pobiega5mo ago
your folder is called "unity projects" yet you are... not using unity? or rather, trying to run something that is meant for unity outside of unity?
Hox
Hox5mo ago
yes i just want to test something by runnign it using the play button
Pobiega
Pobiega5mo ago
well - dont do that :p C# isnt python or javascript you dont run random .cs files
Hox
Hox5mo ago
although it does not work on any other folder either
Angius
Angius5mo ago
To the surprise of nobody, Unity is required for a Unity project to run
Hox
Hox5mo ago
im following a tutorial and it seems to run on their end fine
Pobiega
Pobiega5mo ago
robbing a bank is technically possible, but not recommended
Hox
Hox5mo ago
where can i fidn and delete it
Angius
Angius5mo ago
? The error tells you scriptcs doesn't exist... and you want to delete it? Whuh? "How do I throw away the apple I don't have?"
Hox
Hox5mo ago
it says it doesn't know what "scriptcs" is meaning that it's there
Pobiega
Pobiega5mo ago
... no that error literally means it cant find scriptcs
Angius
Angius5mo ago
"Give me your apple" "What apple, I don't have an apple!" "Ha! That means you have it!" What..?
Pobiega
Pobiega5mo ago
No description
Pobiega
Pobiega5mo ago
I can assure you asdgfjbingsdafbjhiadgs is not a valid file or command on my computer
Angius
Angius5mo ago
* If you want to run a clear C# project without Unity, make it with dotnet new console and run it with dotnet run * If you want to run code dependent on Unity... run Unity
Hox
Hox5mo ago
yeah this i use to run the basic stuff on visual studio and now im wondering why it doesn't work in vs code i will close this thread now .