VS 2008 開發WinCE程序 編譯部署速度慢的解決辦法

1、找到以下文件

C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.Common.targets

2、用記事本打開該文件,找到以下節點,按照加粗亮底的部分,修改後保存。

1 <Target Name="PlatformVerificationTask" **Condition="'$(SkipPlatformVerification)' == 'true'"** >
2   <PlatformVerificationTask
3     PlatformFamilyName="$(PlatformFamilyName)"
4     PlatformID="$(PlatformID)"
5     SourceAssembly="@(IntermediateAssembly)"
6     ReferencePath="@(ReferencePath)"
7     TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
8     PlatformVersion="$(TargetFrameworkVersion)"/>
9 </Target>

3、重啓VS,再次編譯,速度是不是提高了很多呢?

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章