VS2008 develops WinCE program compilation speed solution (transfer)

When using C# and .NET Compact Framework to develop WinCE and Windows Mobile programs in the VS2008 environment, the compilation of the project is very slow, sometimes it takes several minutes or even ten minutes. If this happens, in addition to excluding the machine configuration problem, you can modify the VS This modification can greatly improve your compiling speed. It is possible that your compiling time will only take a few seconds.

1. Find the following files

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

2. Open the file with Notepad, find the following node, follow the bold and bright part, and save it after modification.

<Target Name="PlatformVerificationTask" Condition="'$(SkipPlatformVerification)' == 'true'" >
  <PlatformVerificationTask
    PlatformFamilyName="$(PlatformFamilyName)"
     PlatformID = "$ (PlatformID)"
     SourceAssembly="@(IntermediateAssembly)"
     ReferencePath="@(ReferencePath)"
     TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
     PlatformVersion="$(TargetFrameworkVersion)"/>
</Target>

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326357702&siteId=291194637