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
