PDA编译慢的解决方法

修改PDA生成太慢的方法
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.common.targets  这是死路径

PlatformVerificationTask  在这个节点后面添加 下面代码
添加代码:
Condition="'$(SkipPlatformVerification)' == 'true'" 
 
加上以后会变成如下
<Target
        Name="PlatformVerificationTask" Condition="'$(SkipPlatformVerification)' == 'true'">
        <PlatformVerificationTask
            PlatformFamilyName="$(PlatformFamilyName)"
            PlatformID="$(PlatformID)"
            SourceAssembly="@(IntermediateAssembly)"
            ReferencePath="@(ReferencePath)"
            TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
            PlatformVersion="$(TargetFrameworkVersion)"/>
    </Target>
 
 

posted on 2014-06-30 17:21  贤之灵  阅读(525)  评论(0编辑  收藏  举报

导航