Showing posts with label compact framework. Show all posts
Showing posts with label compact framework. Show all posts

Thursday, January 28, 2016

Embedded Dev - Long builds with Platform Verification Task

If you are experiencing an extremely long build time on a windows mobile C# project with Visual Studio 2008, you can try to disable Platform Verification Task.
Platform Verification Task (PVT) is a post-build validation step to catch the unsupported PMEs before they can result in a runtime exception.
Go to file: C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.Common.targets

Search the following element:
<Target
        Name="PlatformVerificationTask">
        <PlatformVerificationTask
            PlatformFamilyName="$(PlatformFamilyName)"
            PlatformID="$(PlatformID)"
            SourceAssembly="@(IntermediateAssembly)"
            ReferencePath="@(ReferencePath)"
            TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
            PlatformVersion="$(TargetFrameworkVersion)"/>
</Target>

and add the bold line:

<Target
        Name="PlatformVerificationTask">
        <PlatformVerificationTask
   Condition="'$(DoPlatformVerificationTask)'=='true'"
           PlatformFamilyName="$(PlatformFamilyName)"
           PlatformID="$(PlatformID)"
           SourceAssembly="@(IntermediateAssembly)"
           ReferencePath="@(ReferencePath)"
           TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
           PlatformVersion="$(TargetFrameworkVersion)"/>
</Target>
Finally restart Visual Studio, rebuild your project and the problem should be  fixed.

Wednesday, January 20, 2010

4 IN A ROW submitted on Marketplace!


Last weeks me and Giorgio developed a simple game to submit on Marketplace: now it is online and you can download! http://marketplace.windowsphone.com/details.aspx?appSKU=e4dbe42d-73f0-4116-aca0-f953373ea132&retURL=/categories.aspx%3FcategoryId%3D50101%26pid%3D50069
The name of the game is "4 IN A ROW" and you fight against the artificial intelligence of the phone, trying to get four of your colored checkers in a row either horizontally, vertically or diagonally.
It has been developed with NETCF and can run over Windows Mobile 6.0 Professional and 6.5.
Follow the link and try it!