VS 2008 开发WinCE程序 编译部署速度慢的解决办法

时间:2021-07-18 17:56:57

  1、找到以下文件

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

2、用记事本打开该文件,找到以下节点,按照加粗亮底的部分,修改后保存。

1 <Target Name="PlatformVerificationTask" Condition="'$(SkipPlatformVerification)' == 'true'" >
2   <PlatformVerificationTask
3     PlatformFamilyName="$(PlatformFamilyName)"
4     PlatformID="$(PlatformID)"
5     SourceAssembly="@(IntermediateAssembly)"
6     ReferencePath="@(ReferencePath)"
7     TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
8     PlatformVersion="$(TargetFrameworkVersion)"/>
9 </Target>

 

3、重启VS,再次编译,速度是不是提高了很多呢?


 

 来源于此大神的博客:http://blog.csdn.net/wl076/article/details/43303629