robocky

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

以前找到的,在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>

posted on 2012-02-17 09:34  robocky  阅读(285)  评论(0编辑  收藏  举报