Intellisense for MSBuild Community Tasks doesn't work

怎甘沉沦 提交于 2019-12-03 12:16:46

You need to add the following line to C:\program files\Microsoft Visual Studio 10.0\Xml\Schemas\1033\Microsoft.Build.xsd

<xs:include schemaLocation="MSBuild\MSBuild.Community.Tasks.xsd"/>

It should be put at the end of the file, before the </xs:schema>

I am using VS2008 and I manually copied the MSBuild Community Tasks schema file (.xsd) into the proper Visual Studio directory. However that wasn't enough for my community tasks to register with Intellisense.

I had to open the .csproj file within Visual Studio and then go to the 'XML' menu and select 'Schemas...'. The MSBuild Community Schema file was not on the list anywhere, so I clicked 'Add' and then added the file. Once I did that and closed the dialog, viola! I had intellisense for the community tasks.

I was inspired by this posting on MDSN

I had the same issue when I first started using VS 2010 RC1. I re-installed and it worked for a bit and stopped.

I have since downloaded and installed the trial version of VS 2010 Pro Download Here

I have not had any issues since.

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