Solve the problem of slow generation of Windows Mobile Project VS2008 Development

Source: Internet
Author: User

The recent development of Windows Mobile programs with VS2008, using the C #,. NET Compact Framework, found that project generation was slow. After opening the project with VS2008, start a period of time to build speed can endure, a long time, the compilation speed is very slow, the slowest up to 5 minutes long, it is unbearable.

Decide what time-consuming work is done to find out what VS2008 generates. From the tools à option into the Options dialog box

When you compile with "MSBuild Project build output Details" for "diagnostics", you will output how much time has elapsed to perform those tasks specifically.

It turns out that the most time-consuming

Platform Verification Task

Http://blogs.msdn.com/vsdteam/archive/2006/09/15/756400.aspx has platform verification Task

The specific description

Refer to the instructions above to modify the file

C:/windows/microsoft.net/framework/v3.5/microsoft.compactframework.common.targets

In

<target

Name= "Platformverificationtask" condition= "' $ (skipplatformverification) ' = = ' true '" >

<platformverificationtask

Platformfamilyname= "$ (platformfamilyname)"

Platformid= "$ (platformid)"

Sourceassembly= "@ (intermediateassembly)"

Referencepath= "@ (ReferencePath)"

Treatwarningsaserrors= "$ (treatwarningsaserrors)"

Platformversion= "$ (targetframeworkversion)"/>

</Target>

section, the red text is the newly added part. At the same time adding "skipplatformverification" to the system environment variable, after assigning its value to true, after reopening the VS2008 and the project, the debugging speed becomes significantly faster and the problem is resolved.

Solve the problem of slow generation of Windows Mobile projects VS2008 Development (RPM)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.