读书人

VS 生成 慢 (智能装置 mobile )

发布时间: 2012-08-22 09:50:35 作者: rapoo

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 即可解决

读书人网 >VSTS

热点推荐