Compilation of Windows Mobile projects can get extremly slow when deploying with the so called PVT (Platform Verification Task) being enabled. This part of the build process checks whether the executable code may run on the specified platform that is selected in VisualStudio. This process is very time consuming and mostly useless if you don’t work on different platforms and regularly deploy to the device.
You can disable the task in the Common.targets file of your CompactFramework version folder. On my machine it looks like this:
You can disable the task in the Common.targets file of your CompactFramework version folder. On my machine it looks like this:
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.Common.targets
Search for the line that contains
Name="PlatformVerificationTask">
and change it to
Name="PlatformVerificationTask" Condition="'$(SkipPlatformVerification)' != 'true'">
This disables the Platform Verification Task and makes the built process way faster.