Devops: Error CS0234: The type or namespace name 'ApplicationModel' does not exist in the namespace 'Windows'

后端 未结 1 1647
说谎
说谎 2020-12-18 06:04

I am trying to set up a build pipeline for the Windows Universal Sample Application File Access Project.

The pipeline is using the Azure Pipelines Hosted VS2017 Imag

相关标签:
1条回答
  • 2020-12-18 06:52

    The error is due to the fact that your app is targeting the 1809 SDK (v17763), which has not been rolled out on the build agents yet, due to some issues.

    Until it has been rolled out on the agents, you have two options to get unblocked:

    1. Target the 1803 SDK (v17134) if you don't actually need any APIs from the 1809 SDK - or
    2. Use this script to explicitely install the 17763 SDK dependency

    I will update the answer once there is an update regarding the SDK rollout to build agents.

    0 讨论(0)
提交回复
热议问题