CapDetect is a recently added Windows Phone 7 Developer Tool; it is in the Developer Tools January 2011 Patch.What does it do?It edits your WMManifest.xml file according to your application's needs.CapDetect is a rule-based command line utility that uses an XML file as a "rule file" and takes output of your project or XAP file as a "file path" parameter. If you provide an output folder then it automatically finds the XAP file.Use of this utility is as:
CapabilityDetection <rules path> <file path>
CapabilityDetection Rules.xml "C:\Users\iersoy\Desktop\WindowsPhoneGame2\WindowsPhoneGame2\WindowsPhoneGame2\bin\WindowsPhone\Debug"
<?xml version="1.0" encoding="utf-8" ?><Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment"AppPlatformVersion="7.0"> <App xmlns="" ProductID="{bfd638f3-4ca0-4043-9871-d34bc559eeb6}" Title="WindowsPhoneGame2" RuntimeType="XNA" Version="1.0.0.0" Genre="Apps.Normal" Author="" Description="" Publisher=""> <IconPath IsRelative="true" IsResource="false"></IconPath> <Capabilities> <Capability Name="ID_CAP_NETWORKING" /> <Capability Name="ID_CAP_LOCATION" /> <Capability Name="ID_CAP_SENSORS" /> <Capability Name="ID_CAP_PUSH_NOTIFICATION" /> <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" /> <Capability Name="ID_CAP_IDENTITY_USER" /> <Capability Name="ID_CAP_IDENTITY_DEVICE" /> </Capabilities> <Tasks> <DefaultTask Name="_default"/> </Tasks> <Tokens><PrimaryToken TokenID="WindowsPhoneGame2Token" TaskName="_default"> <TemplateType5> <BackgroundImageURI IsRelative="true" IsResource="false"></BackgroundImageURI> <Count>0</Count> <Title></Title> </TemplateType5> </PrimaryToken> </Tokens> </App></Deployment>
<?xml version="1.0" encoding="utf-8"?><Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.0"> <App xmlns="" ProductID="{bfd638f3-4ca0-4043-9871-d34bc559eeb6}" Title="WindowsPhoneGame2" RuntimeType="XNA" Version="1.0.0.0" Genre="Apps.Normal" Author="" Description="" Publisher=""><IconPath IsRelative="true" IsResource="false">GameThumbnail.png</IconPath> <Capabilities> <Capability Name="ID_CAP_NETWORKING" /> <Capability Name="ID_CAP_LOCATION" /> <Capability Name="ID_CAP_SENSORS" /> <Capability Name="ID_CAP_MICROPHONE" /> <Capability Name="ID_CAP_MEDIALIB" /> <Capability Name="ID_CAP_GAMERSERVICES" /> <Capability Name="ID_CAP_PHONEDIALER" /> <Capability Name="ID_CAP_PUSH_NOTIFICATION" /> <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" /> <Capability Name="ID_CAP_IDENTITY_USER" /> <Capability Name="ID_CAP_IDENTITY_DEVICE" /> </Capabilities> <Tasks> <DefaultTask Name="_default" /> </Tasks> <Tokens> <PrimaryToken TokenID="WindowsPhoneGame2Token" TaskName="_default"> <TemplateType5> <BackgroundImageURI IsRelative="true" IsResource="false"> Background.png</BackgroundImageURI> <Count>0</Count> <Title>WindowsPhoneGame2</Title> </TemplateType5> </PrimaryToken> </Tokens> </App></Deployment>
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: