2016-07-14 17 views
0

私たちは、cordovaプロジェクトのPackage.appxmanifestにiot機能を追加しようとしています。ビジュアルスタジオは、使用しようとしている機能が見つからないか、ファンデーションの名前空間の子ではないことを訴えています。Windows 10 IOT Foundationネームスペースがありません。IOT

下線付きIOT:能力をホバーするときは、次を示しています。名前空間の 要素「BackgroundTasks」「http://schemas.microsoft.com/appx/manifest/foundation/winows10は」名前空間「http://schemas.microsoft.com/appx/manifest/iot/windows10」に無効な子要素の能力」を持っています。可能な要素のリスト: '...

私はこれを新しいプロジェクトとして作成しましたが、すべての作業をvsできますが、作成中のエントリは解決できません。これは、VSが生成した新しいC#プロジェクトとJSプロジェクトの両方で確認できます。誰でも助けてくれますか? (はい、「UWP用のWindows IoT拡張機能」10.0.10586.0もプロジェクトに追加しました)。 FYI追加時にも同じエラーが発生します。

<?xml version='1.0' encoding='utf-8'?> 
<Package IgnorableNamespaces="uap mp iot" xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:iot="http://schemas.microsoft.com/appx/manifest/iot/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"> 
    <Identity Name="com.project.syndication.sitepad" Publisher="CN=$username$" Version="2.0.0.0" /> 
    <mp:PhoneIdentity PhoneProductId="a885d1d0-453e-11e6-a59d-550bfa336405" PhonePublisherId="00000000-0000-0000-0000-000000000000" /> 
    <Properties> 
     <DisplayName>SitePad App</DisplayName> 
     <PublisherDisplayName>ERT</PublisherDisplayName> 
     <Logo>images\StoreLogo.png</Logo> 
    </Properties> 
    <Dependencies> 
     <TargetDeviceFamily MaxVersionTested="10.0.10586.0" MinVersion="10.0.10586.0" Name="Windows.Universal" /> 
    </Dependencies> 
    <Resources> 
     <Resource Language="x-generate" /> 
    </Resources> 
    <Applications> 
     <Application Id="com.project.syndication.sitepad" StartPage="ms-appx-web:///www/index.html"> 
      <uap:VisualElements BackgroundColor="#464646" Description="CordovaApp" DisplayName="SitePad App" Square150x150Logo="images\Square150x150Logo.png" Square44x44Logo="images\Square44x44Logo.png"> 
       <uap:SplashScreen Image="images\splashscreen.png" /> 
       <uap:DefaultTile ShortName="SitePad App" Square310x310Logo="images\Square310x310Logo.png" Square71x71Logo="images\Square71x71Logo.png" Wide310x150Logo="images\Wide310x150Logo.png" /> 
      </uap:VisualElements> 
      <uap:ApplicationContentUriRules> 
       <uap:Rule Match="ms-appx-web:///" Type="include" WindowsRuntimeAccess="all" /> 
      </uap:ApplicationContentUriRules> 
     </Application> 
    </Applications> 
    <Capabilities> 
     <Capability Name="internetClient" /> 
     <uap:Capability Name="picturesLibrary" /> 
     <iot:Capability Name="systemManagement" /> 
    </Capabilities> 
</Package> 
+0

コードはコンパイルされ、正常に実行されますか? – Jackie

答えて

0

ホバリングエラーが何か(?VS)、私が見ているとバグのように見え、それを複数回、まだ私のコードはまだコンパイルし、[OK]を実行します:

はここでpackage.appxmanifestです。

これに心配はありません。

関連する問題