Predefined types not found (or imported)

Joined
Aug 15, 2024
Messages
1
Reaction score
0
Good afternoon,

A bit stumped with this one :

System.void , System.Inptr, System.Object not defined or imported... a bit stumped with this one....
 
Joined
Jul 4, 2023
Messages
503
Reaction score
63
Sometimes the SDK or project files can get corrupted. You could try cleaning and rebuilding your project.
Use the following commands in the terminal/command prompt:
Code:
dotnet clean
dotnet build

If the issue persists, try reinstalling the .NET SDK.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,039
Messages
2,570,376
Members
47,031
Latest member
AndreBucki

Latest Threads

Top