Author Topic: Completely cleaning a Solution when VS gives problems  (Read 3900 times)

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Completely cleaning a Solution when VS gives problems
« on: November 21, 2015, 04:11:26 PM »
Since AdvancedHMI is an open source project that uses it's own components, Visual Studio can get problematic from time to time. When it does, the best solution is to fully clean you AdvancedHMI project.

- Open your AdvancedHMI project in Visual Studio
- Window->Close All Documents
- File->Save All
- Exit Visual Studio
- Using Windows Explorer, go to the folder with your AdvancedHMI project
- Delete the 6 following folders:
   \AdvancedHMI\bin
   \AdvancedHMI\obj
   \AdvancedHMIControls\bin
   \AdvancedHMIControls\obj
   \AdvancedHMIDrivers\bin
   \AdvancedHMIDrivers\obj

- If your PC is setup to show hidden files, also delete AdvancedHMI.sou
- Re-Open your project in Visual Studio
- Build->Clean Solution
- Build->Rebuild Solution
- Open MainForm from Solution Explorer