Microsoft.Build.Task missing

你说的曾经没有我的故事 提交于 2019-12-25 12:37:10

问题


I am trying to use .Net to load reports into SSRS. When I looked up example code they used the Warning class which, after futher research, seems to be in the Microsoft.Build.Task namespace. My problemis that this library doesn't show up when I try to reference it and when I try to add references it doesn't Microsoft.Build doesn't show in the list of .Net references. What am I doing wrong? The compiler does not recognize the class in the following:

Warning[] warnings = Null;


回答1:


If your using VS 2010 and .net framework 3.5 or 4.0, make sure you have the latest Microsoft.Build.Task, Microsoft.Build.Tasks.v4.0.



来源:https://stackoverflow.com/questions/7908757/microsoft-build-task-missing

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