我在package.appxmanifest
中有如下代码,但是出现了一个错误,说TargetDeviceFamily
是“未识别的XML元素”...
代码:
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="6.3.0" MaxVersionTested="6.3.0" />
</Dependencies>
我在package.appxmanifest
中有如下代码,但是出现了一个错误,说TargetDeviceFamily
是“未识别的XML元素”...
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="6.3.0" MaxVersionTested="6.3.0" />
</Dependencies>
package.appxmanifest
文件中是否包含必需的命名空间http://schemas.microsoft.com/appx/manifest/foundation/windows10
?<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10">
...
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="6.3.0" MaxVersionTested="6.3.0" />
</Dependencies>
</Package>
MinVersion="10.0.x.0" MaxVersionTested="10.0.y.0"