Visual Studio errors V5

Is there something special that needs to be added to Visual Studio to work with V5. I can open V4 without any errors but I get a ton of them when trying to look at V5. It seems to be the forms it doesn’t like. I’m using the community edition.

When you open the solution explorer, you need to click switch views in the top and then select AgOpenGps. Other than that, I don’t remember needing to download anything further.

Edit: And don’t forget to unblock it before you extract it. Right click, properties, unblock.

Yep I unblocked. “switch views” do you mean “switch between solution and available views” beside the home button? I’ve done that an still the errors.

|Error|CS0246|The type or namespace name ‘System’ could not be found (are you missing a using directive or an assembly reference?)|AgOpenGPS|C:\Users\Ray\Desktop\AgOpenGPS-master\SourceCode\GPS\Forms\Controls.Designer.cs|3|Active|

They all seem to stem from ‘System’. Online help says to:

  • Move the class code so that it is the first class in the file, and then load the designer again.

I open Controls.Designer.cs and System is the first one.

open it, and right away build the solution so the Nuget references are updated.

Thanks, The build did it.

1 Like