问题
Similar to my question here I am able to build on my machine but the devops build is failing.
The Desktop Bridge Package project targets
Windows 10 , Version 1803, Build 17134
回答1:
Looking at the Windows reference in my project it uses
C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0\Windows.winmd
I corrected it to use
C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17134.0\Windows.winmd
The particular build error in Devops disappeared
来源:https://stackoverflow.com/questions/53807130/devops-error-cs0103-the-name-windows-does-not-exist-in-the-current-context