Windows Phone Deployment Error - "Deployment optimization failed due to an invalid assembly"
来源:互联网 发布:联合国全球贸易数据库 编辑:程序博客网 时间:2024/06/02 16:35
my solution structure is below:
-UI Project (ARM)
- reference to http://www.nuget.org/packages/microsoft.bcl.compression (so need to target ARM or x86 only, no AnyCPU)
-PCL Project (AnyCpu)
solution build is OK but got below error when deploy app to device:
"Deployment optimization failed due to an invalid assembly"
After checked a sample project with same project structure, I found there was one line highlighted below redundant in my UI project .csproj file, remove that line then fixed!
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|ARM' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Bin\ARM\Debug</OutputPath>
<DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TargetPlatform>ARM</TargetPlatform>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|ARM' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>Bin\ARM\Release</OutputPath>
<DefineConstants>TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TargetPlatform>ARM</TargetPlatform>
</PropertyGroup>
<ItemGroup>
- Windows Phone Deployment Error - "Deployment optimization failed due to an invalid assembly"
- Deployment failed due to an error in FastDev assembly synchronization.
- deployment assembly
- Deployment Assembly
- Deployment failed because of an internal error: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
- JBOSS报错:Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException
- An internal error occurred during: "Add Deployment". Invalid Subscription Level - Discontinuing this
- Deployment Assembly The currently displayed page contains invalid values.
- An internal error occurred during: "Add Deployment".
- An internal error occurred during: "Add Deployment".
- An internal error occurred during: "Add Deployment".
- An internal error occurred during: "Add Deployment"
- An internal error occurred during: "Add Deployment".
- An internal error occurred during: "Add Deployment".
- An internal error occurred during: "Add Deployment".
- An internal error occurred during: "Add Deployment".
- An internal error occurred during: "Add Deployment"
- An internal error occurred during: "Add Deployment".
- 【Url编码问题】命名空间“System.Web”中不存在类型或命名空间名称“HttpUtility”。是否缺少程序集引用?
- libcmt.lib和msvcrt.lib冲突
- AIX jfs 和jfs2 文件系统
- js中的hasOwnProperty和isPrototypeOf方法
- MySQL中type=MyISAM出错解决方法
- Windows Phone Deployment Error - "Deployment optimization failed due to an invalid assembly"
- 缓存之memcache-1
- 2014专业知识学习---be strong
- 某个人,告诉你,失去你的那一刻我哭了!
- LINUX下的串口学习
- 辗转相除法求两个数的最大公约数
- 索尼经典机型回顾
- Winform开发框架主界面设计展示
- 该如何加载google-analytics(或其他第三方)的JS