When I try to deploy the application using the Microsoft Band SDK, I get the following error. The assembly configuration is RELEASE, and the target output is ARM. If the DEBUG config is used, it works.
Error : DEP6810 : MdilXapCompile.exe failed with error code 2001.
I studied the MDILXapCompileLog and the following: compilation failed:
CrossGen failed Error processing assembly [projectpath]...\obj\ARM\Release\MSIL\Microsoft.Band.dll Raw error code: 2148733978
NOTE. The optional part of this situation is that if I only pack the application without deployment, I can download it to the device and work as expected.
Here are the sections of csproj - Debug / ARM:
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'"> <DebugSymbols>true</DebugSymbols> <OutputPath>bin\ARM\Debug\</OutputPath> <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP</DefineConstants> <NoWarn>;2008</NoWarn> <DebugType>full</DebugType> <PlatformTarget>ARM</PlatformTarget> <UseVSHostingProcess>false</UseVSHostingProcess> <ErrorReport>prompt</ErrorReport> <Prefer32Bit>false</Prefer32Bit>
Release / ARM
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'"> <OutputPath>bin\ARM\Release\</OutputPath> <DefineConstants>TRACE;NETFX_CORE;WINDOWS_PHONE_APP</DefineConstants> <Optimize>true</Optimize> <NoWarn>;2008</NoWarn> <DebugType>pdbonly</DebugType> <PlatformTarget>ARM</PlatformTarget> <UseVSHostingProcess>false</UseVSHostingProcess> <ErrorReport>prompt</ErrorReport> <Prefer32Bit>false</Prefer32Bit>
The only difference that I see is debugging symbols, can Microsoft.Band.dll not have public symbols? Shouldn't Visual Studio create them?
source share