解决windows mobile项目编译时间很长的方法

以前找到的,在vs2008编译windows mobile的项目经常要花1分钟以上的时间,严重影响效率.

主要是PlatformVerificationTask这个任务花时间,所以在配置的时候把这个任务跳过就好了

C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.Common.targets

<Target
Name="PlatformVerificationTask" Condition="'$(SkipPlatformVerification)' == 'true'" >
<PlatformVerificationTask
PlatformFamilyName="$(PlatformFamilyName)"
PlatformID="$(PlatformID)"
SourceAssembly="@(IntermediateAssembly)"
ReferencePath="@(ReferencePath)"
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
PlatformVersion="$(TargetFrameworkVersion)"/>
</Target>

原文地址:https://www.cnblogs.com/lancky/p/2355262.html