2016-07-14 3 views
0

우리는 cordova 프로젝트의 Package.appxmanifest에 iot 기능을 추가하려고합니다. Visual Studio는 우리가 사용하려고하는 기능을 찾을 수 없거나 기초 이름 공간의 하위 요소라고 불평합니다.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 Extensions"10.0.10586.0도 프로젝트에 추가했습니다.) 참고로 추가 할 때도 동일한 오류가 발생합니다.

<?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), 제가 보는 버그처럼 보이는 여러 번, 아직 내 코드는 여전히 컴파일하고 확인을 실행합니다

다음은 package.appxmanifest입니다.

걱정할 필요가 없습니다.