VS2008开发WinCE程序编译速度慢的解决办法

1、找到以下文件

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

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

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

 3、重启VS,再次编译

转自: https://blog.csdn.net/wl076/article/details/43303629

posted @ 2021-03-16 10:36  后跳  阅读(180)  评论(0编辑  收藏  举报