Visual Studio 2010 中的 Intellisense 出现问题

发布于 2024-08-26 05:20:17 字数 368 浏览 1 评论 0原文

我将 MSBuild Community Tasks 源代码中的 MSBuild.Community.Tasks.xsd 文件复制到 Visual Studio 的 C:\Program Files\Microsoft Visual Studio 10.0\Xml\Schemas\1033\MSBuild\ 文件夹中,以获取任务的 Intellisense,但是它不起作用!

我确实尝试在编辑 .proj 文件时使用属性窗格添加架构,但每当我添加 .xsd 文件时,Intellisense 将立即停止工作。我尝试将其关闭(通过从属性窗格中的架构中将其删除),我的脚本与 MSBuild Community Tasks 的任务运行文件,但没有 Intellisense。

有人可以帮我吗?

I copy the MSBuild.Community.Tasks.xsd file in MSBuild Commnunity Tasks source code to the C:\Program Files\Microsoft Visual Studio 10.0\Xml\Schemas\1033\MSBuild\ folder of Visual Studio to get the Intellisense for the tasks but it doesn't work!

I did try to add the schema using the property pane when editing the .proj files but whenever I add the .xsd file, the Intellisense will stop working immediately. I tryied to turn it off (by removing it from the schemas in the property pane), my script with MSBuild Community Tasks 's tasks run files but no Intellisense then.

Can anyone help me please?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文