.NET CF 3.5 mobile app building slowly in VS 2008

纵然是瞬间 提交于 2019-12-20 15:32:50

问题


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!



来源:https://stackoverflow.com/questions/9779850/net-cf-3-5-mobile-app-building-slowly-in-vs-2008

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!