Devops: Error CS0103: The name 'Windows' does not exist in the current context

*爱你&永不变心* 提交于 2019-12-13 03:58:12

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!