© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
4y ago
•
5 replies
Thinker
❔ Predefined type is not defined when using dotnet-script
I
'm getting an error for
System.Object
System.Object
and
System.String
System.String
that they
're not imported when creating a new
.csx file when using dotnet
-script
. Any ideas
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
✅ Predefined type 'System.ValueTuple2' is not defined or imported
C
C# / help
3y ago
❔ Unity Predefined type 'System.IAsyncDisposable' is not defined or import
C
C# / help
3y ago
❔ Specify working directory when using dotnet watch
C
C# / help
3y ago