I can make it deploy sometimes, by changing the build configuration to Release, rebuild all and deploy, then change the build configuration to Debug, rebuild all,and deploy. But this does not always work. See below a successful deploy. Glide is included and there are not linker errors, they all go away by magic! Is this a bug in VS 2012? I did a google search “VISUAL STUDIO REBUILD ALL DOES NOT WORK” and some people say this is a bug.
Found debugger!
Create TS.
Loading start at 202d6660, end 20305af4
Assembly: mscorlib (4.3.1.0) Assembly: Microsoft.SPOT.Native (4.3.1.0) Assembly: Microsoft.SPOT.Security.PKCS11 (4.3
.1.0) Assembly: System.Security (4.3.1.0) Assembly: Microsoft.SPOT.Hardware (4.3.1.0)
Assembly: Microsoft.SPOT.Graphics (4.3.1.0) Assembly: Microsoft.SPOT.TinyCore (4.3.1.0)
Assembly: Microsoft.SPOT.IO (4.3.1.0) Assembly: System.IO (4.3.1.0) Assembly: Microsoft.SPOT.Hardware.Usb (4.3.1.0)
Assembly: Microsoft.SPOT.Hardware.SerialPort (4.3.1.0) Assembly: Microsoft.SPOT.Touch (4.3.1.0)
Assembly: Microsoft.SPOT.Ink (4.3.1.0) Assembly: Microsoft.SPOT.Hardware.PWM (4.3.1.0)
Loading Deployment Assemblies.
Attaching deployed file.
Assembly: Gadgeteer.WebServer (2.43.1.0) Attaching deployed file.
Assembly: DeviceHiveMF (1.2.0.0) Attaching deployed file.
Assembly: GTM.GHIElectronics.RS232 (4.3.4.0) Attaching deployed file.
Assembly: TemperatureSensor (1.0.0.0) Attaching deployed file.
Assembly: Microsoft.SPOT.Net.Security (4.3.1.0) Attaching deployed file.
Assembly: System.Xml (4.3.1.0) Attaching deployed file.
Assembly: GHIElectronics.Gadgeteer.FEZRaptor (4.3.4.0) Attaching deployed file.
Assembly: GTM.GHIElectronics.KeypadKP16 (4.3.4.0) Attaching deployed file.
Assembly: GHI.Glide (4.3.0.0) Attaching deployed file.
Assembly: GTM.GHIElectronics.SDCard (4.3.4.0) Attaching deployed file.
Assembly: PingClient (1.0.0.0) Attaching deployed file.
Assembly: Configuration (1.0.0.0) Attaching deployed file.
Assembly: Microsoft.SPOT.Net (4.3.1.0) Attaching deployed file.
Assembly: GTM.GHIElectronics.EthernetENC28 (4.3.4.0) Attaching deployed file.
Assembly: System.Net.Security (4.3.1.0) Attaching deployed file.
Assembly: GTM.GHIElectronics.DisplayT43 (4.3.4.0) Attaching deployed file.
Assembly: GHI.Pins (4.3.4.0) Attaching deployed file.
Assembly: GTM.GHIElectronics.RS485 (4.3.4.0) Attaching deployed file.
Assembly: ProgrammableLogicControllers (1.0.0.0) Attaching deployed file.
Assembly: GHI.Networking (4.3.4.0) Attaching deployed file.
Assembly: GHI.Usb (4.3.4.0) Attaching deployed file.
Assembly: System.Text.RegularExpressions (4.3.1.0) Attaching deployed file.
Assembly: Keyboards (1.0.0.0) Attaching deployed file.
Assembly: RFIDReaders (1.0.0.0) Attaching deployed file.
Assembly: XGadgeteer.WebServer (2.43.0.0) Attaching deployed file.
Assembly: GHI.Hardware (4.3.4.0) Attaching deployed file.
Assembly: Gadgeteer.SPI (2.43.1.0) Attaching deployed file.
Assembly: HttpClient (1.0.0.0) Attaching deployed file.
Assembly: SDCardReaders (1.0.0.0) Attaching deployed file.
Assembly: Logger (1.0.0.0) Attaching deployed file.
Assembly: System.Http (4.3.1.0) Attaching deployed file.
Assembly: Gadgeteer.Serial (2.43.1.0) Attaching deployed file.
Assembly: GTM.GHIElectronics.USBClientDP (4.3.4.0) Attaching deployed file.
Assembly: SmartTruckRaptor (1.0.31.29160) Attaching deployed file.
Assembly: CWC.SmartKiosk.WebInterface (1.0.0.0) Attaching deployed file.
Assembly: GTM.GHIElectronics.TempHumidity (4.3.4.0) Attaching deployed file.
Assembly: KioskUtility (1.0.0.0) Attaching deployed file.
Assembly: JsonSerializer (1.0.0.0) Attaching deployed file.
Assembly: SocketServer (1.0.0.0) Attaching deployed file.
Assembly: GTM.GHIElectronics.RelayX1 (4.3.4.0) Attaching deployed file.
Assembly: Gadgeteer.WebClient (2.43.1.0) Attaching deployed file.
Assembly: TouchScreenInterface (1.0.0.0) Attaching deployed file.
Assembly: System (4.3.1.0) Attaching deployed file.
Assembly: SmartView (1.0.0.0) Attaching deployed file.
Assembly: GadgeteerNetworking (0.2.1.0) Attaching deployed file.
Assembly: Gadgeteer (2.43.1.0) Attaching deployed file.
Assembly: Displays (1.0.0.0) Resolving.
GC: 1msec 1670328 bytes used, 65435436 bytes available
Type 0F (STRING ): 24 bytes
Type 15 (FREEBLOCK ): 65435436 bytes
Type 17 (ASSEMBLY ): 70620 bytes
Type 18 (WEAKCLASS ): 144 bytes
Type 1E (BINARY_BLOB_HEAD ): 1599468 bytes
Type 34 (APPDOMAIN_HEAD ): 72 bytes
GC: performing heap compaction...
The debugging target runtime is loading the application assemblies and starting execution.
Ready.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\mscorlib.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Native.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Security.PKCS11.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.Security.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Graphics.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.TinyCore.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.IO.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.IO.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.Usb.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.SerialPort.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Touch.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Ink.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.PWM.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Net.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Gadgeteer\Core\Assemblies\.NET Micro Framework 4.3\le\Gadgeteer.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Gadgeteer\Core\Assemblies\.NET Micro Framework 4.3\le\Gadgeteer.WebServer.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Net.Security.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.Net.Security.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.Http.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\Logger\bin\Release\le\Logger.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\DeviceHive\DeviceHiveMF\bin\Release\le\DeviceHiveMF.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Gadgeteer\Core\Assemblies\.NET Micro Framework 4.3\le\Gadgeteer.Serial.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Modules\RS232\NETMF 4.3\le\GTM.GHIElectronics.RS232.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI .NET Discontinued Gadgeteer Modules SDK\Modules\TempHumidity\NETMF 4.3\le\GTM.GHIElectronics.TempHumidity.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Modules\SDCard\NETMF 4.3\le\GTM.GHIElectronics.SDCard.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI NETMF v4.3 SDK\Libraries\le\GHI.Hardware.dll'
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\SDCardReader\bin\Release\le\SDCardReaders.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI NETMF v4.3 SDK\Libraries\le\GHI.Usb.dll'
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Mainboards\FEZRaptor\NETMF 4.3\le\GHIElectronics.Gadgeteer.FEZRaptor.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\Utility\bin\Release\le\KioskUtility.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\Configuration\bin\Release\le\Configuration.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\TemperatureSensor\bin\Release\le\TemperatureSensor.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.Xml.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI .NET Discontinued Gadgeteer Modules SDK\Modules\KeypadKP16\NETMF 4.3\le\GTM.GHIElectronics.KeypadKP16.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\TouchScreenInterface\bin\Release\le\..\GHI.Glide.dll'
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI NETMF v4.3 SDK\Libraries\le\GHI.Networking.dll'
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\PingClient\bin\Release\le\PingClient.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Gadgeteer\Core\Assemblies\.NET Micro Framework 4.3\le\Gadgeteer.SPI.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Modules\EthernetENC28\NETMF 4.3\le\GTM.GHIElectronics.EthernetENC28.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Modules\DisplayT43\NETMF 4.3\le\GTM.GHIElectronics.DisplayT43.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI NETMF v4.3 SDK\Libraries\le\GHI.Pins.dll'
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Modules\RS485\NETMF 4.3\le\GTM.GHIElectronics.RS485.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\ProgrammableLogicControllers\bin\Release\le\ProgrammableLogicControllers.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.Text.RegularExpressions.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\Keyboards\bin\Release\le\Keyboards.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\RFIDReaders\bin\Release\le\RFIDReaders.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\WebInterface\bin\Release\le\..\XGadgeteer.WebServer.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\DeviceHive\HttpClient\bin\Release\le\..\JsonSerializer.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\DeviceHive\HttpClient\bin\Release\le\HttpClient.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Modules\USBClientDP\NETMF 4.3\le\GTM.GHIElectronics.USBClientDP.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\SmartView\bin\Release\le\SmartView.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\SocketServer\bin\Release\le\SocketServer.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\WebInterface\bin\Release\le\CWC.SmartKiosk.WebInterface.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\Displays\bin\Release\le\Displays.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\TouchScreenInterface\bin\Release\le\TouchScreenInterface.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Modules\RelayX1\NETMF 4.3\le\GTM.GHIElectronics.RelayX1.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\GadgeteerNetworking\bin\Release\le\GadgeteerNetworking.dll', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\CwcProjects\SmartTruck_tools\SmartTruckRaptor\bin\Release\le\SmartTruckRaptor.exe', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Gadgeteer\Core\Assemblies\.NET Micro Framework 4.3\le\Gadgeteer.WebClient.dll', Symbols loaded.
The thread '<No Name>' (0x2) has exited with code 0 (0x0).
Using mainboard GHI Electronics FEZ Raptor version 1.0
2014/10/08 07:22:29.001 Program started at 2014/10/08 07:22:29
GC: 2msec 2370228 bytes used, 64735536 bytes available
Type 0F (STRING ): 3132 bytes
Type 11 (CLASS ): 23040 bytes
Type 12 (VALUETYPE ): 4884 bytes
Type 13 (SZARRAY ): 11592 bytes
Type 01 (BOOLEAN ): 84 bytes
Type 03 (U1 ): 1224 bytes
Type 04 (CHAR ): 1404 bytes
Type 07 (I4 ): 2100 bytes
Type 0F (STRING ): 2040 bytes
Type 11 (CLASS ): 4236 bytes
Type 12 (VALUETYPE ): 504 bytes
Type 15 (FREEBLOCK ): 64735536 bytes
Type 16 (CACHEDBLOCK ): 24 bytes
Type 17 (ASSEMBLY ): 70620 bytes
Type 18 (WEAKCLASS ): 240 bytes
Type 19 (REFLECTION ): 192 bytes
Type 1B (DELEGATE_HEAD ): 1080 bytes
Type 1C (DELEGATELIST_HEAD ): 48 bytes
Type 1D (OBJECT_TO_EVENT ): 528 bytes
Type 1E (BINARY_BLOB_HEAD ): 2243160 bytes
Type 1F (THREAD ): 1152 bytes
Type 20 (SUBTHREAD ): 144 bytes
Type 21 (STACK_FRAME ): 1836 bytes
Type 22 (TIMER_HEAD ): 144 bytes
Type 26 (WAIT_FOR_OBJECT_HEAD): 48 bytes
Type 27 (FINALIZER_HEAD ): 528 bytes
Type 31 (IO_PORT ): 504 bytes
Type 34 (APPDOMAIN_HEAD ): 72 bytes
Type 36 (APPDOMAIN_ASSEMBLY ): 7260 bytes
2014/10/08 07:22:29.024 Free memory = 64735536
2014/10/08 07:22:29.027 Debugger is attached, Watchdog circuit is disabled
2014/10/08 07:22:29.030 Initializing Glide GUI Framework