.NET CF 3.5 mobile app building slowly in VS 2008

2020-05-29 05:42发布

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?

2条回答
smile是对你的礼貌
2楼-- · 2020-05-29 06:31

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!

Configuration Manager

查看更多
forever°为你锁心
3楼-- · 2020-05-29 06:40

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

查看更多
登录 后发表回答