ค้นหาบทความ

โพสต์แนะนำ

ย้าย Blog ไปที่ TechDiary

วันพฤหัสบดีที่ 22 พฤศจิกายน พ.ศ. 2555

ทำให้ VS2008 build Smart Device Project ให้เร็วขึ้น

1) เปิดไฟล์ C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.Common.targets for editing.

2) เปลี่ยนตรงนี้:

  <Target

    Name="PlatformVerificationTask">

    <PlatformVerificationTask

      PlatformFamilyName="$(PlatformFamilyName)"

      PlatformID="$(PlatformID)"

      SourceAssembly="@(IntermediateAssembly)"

      ReferencePath="@(ReferencePath)"

      TreatWarningsAsErrors="$(TreatWarningsAsErrors)"

      PlatformVersion="$(TargetFrameworkVersion)"/>

  </Target>


ให้เป็นแบบนี้:


  <Target

    Name="PlatformVerificationTask">

    <PlatformVerificationTask

      Condition="'$(DoPlatformVerificationTask)'=='true'"

      PlatformFamilyName="$(PlatformFamilyName)"

      PlatformID="$(PlatformID)"

      SourceAssembly="@(IntermediateAssembly)"

      ReferencePath="@(ReferencePath)"

      TreatWarningsAsErrors="$(TreatWarningsAsErrors)"

      PlatformVersion="$(TargetFrameworkVersion)"/>

  </Target>

ไม่มีความคิดเห็น:

แสดงความคิดเห็น