简体   繁体   中英

Microsoft.Build.Task missing

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;

如果您使用VS 2010和.net Framework 3.5或4.0,请确保拥有最新的Microsoft.Build.Task,Microsoft.Build.Tasks.v4.0。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM