C
C#2y ago
Thinker

❔ Predefined type is not defined when using dotnet-script

I'm getting an error for System.Object and System.String that they're not imported when creating a new .csx file when using dotnet-script. Any ideas?
2 Replies
Thinker
ThinkerOP2y ago
This only happens with O# and not when actually running the script using dotnet script. Anyone? I just followed the instructions in the Github readme yet ended up with this This is the omnisharp.json
{
"script": {
"enableScriptNuGetReferences": true,
"defaultTargetFramework": "net6",
"enabled": true
}
}
{
"script": {
"enableScriptNuGetReferences": true,
"defaultTargetFramework": "net6",
"enabled": true
}
}
Accord
Accord2y ago
Looks like nothing has happened here. 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