Devops:错误CS0103:名称"Windows"在当前上下文中不存在 [英] Devops: Error CS0103: The name 'Windows' does not exist in the current context

查看:48
本文介绍了Devops:错误CS0103:名称"Windows"在当前上下文中不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

类似于我的问题在这里我可以在我的机器上构建,但是devops构建失败.

Similar to my question here I am able to build on my machine but the devops build is failing.

Desktop Bridge Package项目目标

The Desktop Bridge Package project targets

Windows 10 , Version 1803, Build 17134

推荐答案

在我使用的项目中查看Windows参考

Looking at the Windows reference in my project it uses

C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0\Windows.winmd

我已将其更正为

C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17134.0\Windows.winmd

Devops中的特定构建错误消失了

The particular build error in Devops disappeared

这篇关于Devops:错误CS0103:名称"Windows"在当前上下文中不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆