Main Site Documentation

Can not deploy to Fez Cobra : Microsoft.SPOT.Debugger.CorDebug


#1

I have only seen two other web references on this, for Netduino NETMF, relating to mixed client frameworks and references. But problem is not yet resolved on these forums.

Problem seems to relate to references.

I’ve checked my references, and can’t see a problem (the project was working and deploying find until yesterday (but my Auto backup failed, so can’t check the Diff)

Any Ideas?

project file below:

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <AssemblyName>NETMF</AssemblyName>
    <OutputType>Exe</OutputType>
    <RootNamespace>TW_Application</RootNamespace>
    <ProjectTypeGuids>{b69e3092-b931-443c-abe7-7e7b65f2a37f};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <ProductVersion>9.0.21022</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{B6918C4B-652A-4F85-BE70-618E8790B847}</ProjectGuid>
    <TargetFrameworkVersion>v4.1</TargetFrameworkVersion>
    <NetMfTargetsBaseDir Condition="'$(NetMfTargetsBaseDir)'==''">$(MSBuildExtensionsPath32)\Microsoft\.NET Micro Framework\</NetMfTargetsBaseDir>
    <TargetFrameworkProfile />
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;NOT_MICROSOFT_EMULATION, TARGET_FEZ_COBRA,TRACE,MF_FRAMEWORK_VERSION_V4_1</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <DocumentationFile>
    </DocumentationFile>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup>
    <StartupObject>TW_Application.Program</StartupObject>
  </PropertyGroup>
  <Import Project="$(NetMfTargetsBaseDir)$(TargetFrameworkVersion)\CSharp.Targets" />
  <ItemGroup>
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Program.cs" />
    <Compile Include="Resources\Resource.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resource.resx</DependentUpon>
    </Compile>
    <Compile Include="src.Application\Lib_CONFIG_XML.cs" />
    <Compile Include="src.Application\Pages_XML.cs" />
    <Compile Include="src.M2M\MODULE\MODEM\Lib_M2M_Parser.cs" />
    <Compile Include="src.M2M\MODULE\GPS\Lib_M2M_GPS.cs" />
    <Compile Include="src.M2M\MODULE\MODEM\Lib_M2M_Blank.cs" />
    <Compile Include="src.M2M\MODULE\MODEM\Lib_M2M_GPRS.cs" />
    <Compile Include="src.M2M\MODULE\MODEM\Lib_M2M_FTP.cs" />
    <Compile Include="src.M2M\MODULE\Lib_M2M_Blank.cs" />
    <Compile Include="src.M2M\MODULE\Lib_M2M_Parameters.cs" />
    <Compile Include="src.M2M\MODULE\Lib_M2M_Timeout.cs" />
    <Compile Include="src.Utilities\Lib_EventLog.cs" />
    <Compile Include="src.Graphics\FEZ_COBRA_TFT.cs" />
    <Compile Include="src.Graphics\ImageLoader.cs" />
    <Compile Include="src.Graphics\Windows_OptionsMenu.cs" />
    <Compile Include="src.Graphics\Window_Application.cs" />
    <Compile Include="src.Graphics\Window_Base.cs" />
    <Compile Include="src.Graphics\Window_Base_Body.cs" />
    <Compile Include="src.Graphics\Window_Base_Status.cs" />
    <Compile Include="src.Graphics\Window_Base_Title.cs" />
    <Compile Include="src.Graphics\Window_CheckDaily.cs" />
    <Compile Include="src.Graphics\Window_CheckWeekly.cs" />
    <Compile Include="src.Graphics\Window_DelayList.cs" />
    <Compile Include="src.Graphics\Window_Input.cs" />
    <Compile Include="src.Graphics\Window_Keyboard.cs" />
    <Compile Include="src.Graphics\Window_Login.cs" />
    <Compile Include="src.Graphics\Window_Menu.cs" />
    <Compile Include="src.Graphics\Window_MsgBox.cs" />
    <Compile Include="src.Graphics\Window_Question_MultipleButton.cs" />
    <Compile Include="src.Graphics\Window_Question_OKCancel.cs" />
    <Compile Include="src.Graphics\Window_Question_YesNoCancel.cs" />
    <Compile Include="src.Graphics\Window_Repair.cs" />
    <Compile Include="src.Graphics\Window_Splash.cs" />
    <Compile Include="src.Graphics\Window_Startup.cs" />
    <Compile Include="src.Graphics\Window_Thread_MsgBox.cs" />
    <Compile Include="src.Graphics\Window_Touch.cs" />
    <Compile Include="src.Graphics\Window_User.cs" />
    <Compile Include="src.Hardware\Lib_AI.cs" />
    <Compile Include="src.Hardware\Lib_BUZZER.cs" />
    <Compile Include="src.Utilities\Lib_Debug.cs" />
    <Compile Include="src.Utilities\Lib_HTTP_URI_Parser.cs" />
    <Compile Include="src.Hardware\Lib_SD.cs" />
    <Compile Include="src.Hardware\Lib_SERIAL.cs" />
    <Compile Include="src.Utilities\Lib_TIMEDATE.cs" />
    <Compile Include="src.Application\Thread_APPL.cs" />
    <Compile Include="src.Graphics\Thread_GUI.cs" />
    <Compile Include="src.Hardware\Thread_HARDWARE.cs" />
    <Compile Include="src.M2M\Thread_M2M.cs" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="Data\consumables.xml" />
    <Content Include="Data\readings.xml" />
    <None Include="Fonts\NinaB.tinyfnt" />
    <None Include="Fonts\small.tinyfnt" />
    <None Include="Images\CUSTOM\logo_80x25.gif" />
    <None Include="Images\KEYBOARD\Keyboard_480x272_Down_Lowercase.gif" />
    <None Include="Images\KEYBOARD\Keyboard_480x272_Down_Numbers.gif" />
    <None Include="Images\KEYBOARD\Keyboard_480x272_Down_Symbols.gif" />
    <None Include="Images\KEYBOARD\Keyboard_480x272_Down_Uppercase.gif" />
    <None Include="Images\KEYBOARD\Keyboard_480x272_Up_Lowercase.gif" />
    <None Include="Images\KEYBOARD\Keyboard_480x272_Up_Numbers.gif" />
    <None Include="Images\KEYBOARD\Keyboard_480x272_Up_Symbols.gif" />
    <None Include="Images\KEYBOARD\Keyboard_480x272_Up_Uppercase.gif" />
    <None Include="Images\KEYBOARD\Keyboard_480x272_Down_Uppercase1.gif" />
    <None Include="Images\KEYBOARD\Keyboard_480x272_Up_Uppercase1.gif" />
    <None Include="Images\SIGNAL\Signal0.jpg" />
    <None Include="Images\SIGNAL\Signal1.jpg" />
    <None Include="Images\SIGNAL\Signal2.jpg" />
    <None Include="Images\SIGNAL\Signal3.jpg" />
    <None Include="Images\SIGNAL\Signal4.jpg" />
    <None Include="Images\SIGNAL\Signal5.jpg" />
    <Content Include="Notes\feature_http_file_download.txt" />
    <Content Include="Notes\feature_nonvolatile_storage.txt" />
    <Content Include="Notes\note_String Formating.txt" />
    <Content Include="Notes\note_Example Code.txt" />
    <Content Include="Notes\note_firmware_upgrade.txt" />
    <Content Include="Notes\note_GHI_Glide_Graphics.txt" />
    <Content Include="Notes\note_Telit_GM862 AT Command Set.txt" />
    <Content Include="Notes\note_housing case.txt" />
    <Content Include="Notes\note_HTML Standard.txt" />
    <Content Include="Notes\note_readme.txt" />
    <Content Include="Notes\note_Netduino Pin Assignment Map .txt" />
    <Content Include="Notes\note_project hardware purchases.txt" />
    <Content Include="Notes\note_Telit_GE863_Glyn_GR1.txt" />
    <Content Include="Notes\note_Thread_Interface_Definition.txt" />
    <Content Include="Diary\_Diary.txt" />
  </ItemGroup>
  <ItemGroup>
    <Reference Include="FEZCobra_GHIElectronics.NETMF.FEZ">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI NETMF\Assemblies\FEZCobra_GHIElectronics.NETMF.FEZ.dll</HintPath>
    </Reference>
    <Reference Include="GHIElectronics.NETMF.Glide, Version=0.1.0.2, Culture=neutral, processorArchitecture=MSIL" />
    <Reference Include="GHIElectronics.NETMF.Hardware">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI NETMF\Assemblies\GHIElectronics.NETMF.Hardware.dll</HintPath>
    </Reference>
    <Reference Include="GHIElectronics.NETMF.IO">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI NETMF\Assemblies\GHIElectronics.NETMF.IO.dll</HintPath>
    </Reference>
    <Reference Include="GHIElectronics.NETMF.Native">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI NETMF\Assemblies\GHIElectronics.NETMF.Native.dll</HintPath>
    </Reference>
    <Reference Include="GHIElectronics.NETMF.Net">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI NETMF\Assemblies\GHIElectronics.NETMF.Net.dll</HintPath>
    </Reference>
    <Reference Include="GHIElectronics.NETMF.System">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI NETMF\Assemblies\GHIElectronics.NETMF.System.dll</HintPath>
    </Reference>
    <Reference Include="GHIElectronics.NETMF.USBClient">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI NETMF\Assemblies\GHIElectronics.NETMF.USBClient.dll</HintPath>
    </Reference>
    <Reference Include="GHIElectronics.NETMF.USBHost">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI NETMF\Assemblies\GHIElectronics.NETMF.USBHost.dll</HintPath>
    </Reference>
    <Reference Include="GHIElectronics.NETMF.W5100">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI NETMF\Assemblies\GHIElectronics.NETMF.W5100.dll</HintPath>
    </Reference>
    <Reference Include="GHIElectronics.NETMF.W5100.Dhcp">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI NETMF\Assemblies\GHIElectronics.NETMF.W5100.Dhcp.dll</HintPath>
    </Reference>
    <Reference Include="GHIElectronics.NETMF.W5100.Http">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI NETMF\Assemblies\GHIElectronics.NETMF.W5100.Http.dll</HintPath>
    </Reference>
    <Reference Include="MFDpwsExtensions" />
    <Reference Include="Microsoft.SPOT.Graphics" />
    <Reference Include="Microsoft.SPOT.Hardware" />
    <Reference Include="Microsoft.SPOT.Hardware.SerialPort" />
    <Reference Include="Microsoft.SPOT.IO" />
    <Reference Include="Microsoft.SPOT.Native" />
    <Reference Include="Microsoft.SPOT.Net" />
    <Reference Include="Microsoft.SPOT.Time" />
    <Reference Include="Microsoft.SPOT.TinyCore" />
    <Reference Include="Microsoft.SPOT.Touch" />
    <Reference Include="System" />
    <Reference Include="System.IO" />
    <Reference Include="System.Xml.Legacy" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="Data\checks.xml" />
    <Content Include="Data\delay.xml" />
    <Content Include="Data\config.xml">
      <SubType>Designer</SubType>
    </Content>
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Resources\Resource.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resource.Designer.cs</LastGenOutput>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup />
</Project>


#2

Leaning towards Glide as src of problem:

 <Reference Include="GHIElectronics.NETMF.Glide, Version=0.1.0.2, Culture=neutral, processorArchitecture=MSIL" />

#3

FYI: I was running in Debug mode,

and after manually modifying the project file in notepad it finally deployed, I had tried to remove and add the glide dll a couple of times using VS2010 but had no effect

changes made below:

    <Reference Include="GHIElectronics.NETMF.Glide">
      <HintPath>..\..\ALL.ASSEMBLIES\GHI Electronics Glide v0.1.0.3\GHIElectronics.NETMF.Glide.dll</HintPath>
    </Reference>

I also upgraded to Glide 1.0.3 at the same time as this fix!

Now working after a half day of baldness inducing frustration!


#4

not sure how “processorArchitecture=MSIL” got introduced