PDA编译慢的解决方法
修改PDA生成太慢的方法
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.common.targets 这是死路径
PlatformVerificationTask 在这个节点后面添加 下面代码
添加代码:
Condition="'$(SkipPlatformVerification)' == 'true'"
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>
Name="PlatformVerificationTask" Condition="'$(SkipPlatformVerification)' == 'true'">
<PlatformVerificationTask
PlatformFamilyName="$(PlatformFamilyName)"
PlatformID="$(PlatformID)"
SourceAssembly="@(IntermediateAssembly)"
ReferencePath="@(ReferencePath)"
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
PlatformVersion="$(TargetFrameworkVersion)"/>
</Target>