VS 生成 慢 (智能设备 mobile )
1、打开 C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.Common.targets
2、找到PlatformVerificationTask 添加红色部分
<Target
Name="PlatformVerificationTask" Condition="'$(SkipPlatformVerification)' == 'true'">
<PlatformVerificationTask
PlatformFamilyName="$(PlatformFamilyName)"
PlatformID="$(PlatformID)"
SourceAssembly="@(IntermediateAssembly)"
ReferencePath="@(ReferencePath)"
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
PlatformVersion="$(TargetFrameworkVersion)"/>
</Target>
3、重启VS 即可解决