.NET CF 3.5 mobile app building slowly in VS 2008

2020-05-29 06:24发布

问题:

I have been working with a Windows Mobile 6 app that is built with .NET Compact Framework 3.5 in Visual Studio 2008. The application builds incredibly slow, spending a majority of the time doing the PlatformVerificationTask.

How do I speed up the build?

回答1:

The best way to stop the PlatformVerificationTask in a distributed development environment I would suggest adding the following to the mobile app's project file:

<Target Name="PlatformVerificationTask">
</Target>

This will overwrite the PlatformVerificationTask in \Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.Common.targets



回答2:

This may be what IceSlurpy said about 10 hours ago.

For me to understand it, I simply "uncheck" the Build and Deploy projects that are not necessary.

If a Setup.CAB is part of your project, unchecking the Setup project can save a LOT of time!