I have a custom report item which works fine with VS2010 and MSSQL2012.
But, when i created new report project (Business Intelligence Wizard), im unable to add my custom report item to toolbox.
I, as usually, selected Choose Items, selected my dll, and in the grid i dont see my report item. My attributes for CustomReportItem are:
[CustomReportItem("MyName"),
DefaultProperty("CodeText"),
LocalizedName("MyCompany MyName"),
Editor(typeof (CustomEditor), typeof (ComponentEditor)),
Description("MyName description")]
[ToolboxBitmap(typeof (MyName ReportItemDesigner), "MyName Designer.bmp")]
[System.CLSCompliant(false)]
public class MyNameReportItemDesigner : CustomReportItemDesigner, IReportPropertyProvide
I just replaced some text with NAME wording.
So why my report item is absent ? Maybe need another attributes in VS2012?
----
Need to say this custom report item already works for SQL2000 / SQL2005 / SQL2008 / SQL2008R2 / SQL2012 (VS2010).
So its a multiversion project (for sure i use some #if statements when required).
And this custom report item works fine in VS2010 and MSSQL2012 Reporting Services.
But only in VS2012 i'm unable to add report item to toolbox from my dll (any other VSs versions allow).
Moreover i even can open VS2010 test report project in VS2012, and able to see my report item (inside report) and even it works fine.
But unable to add my item to toolbox.
So its seems like a problem with toolbox in VS2012.
Or (for VS2012) i need to set more / another attributes for my report designer class ?
No comments:
Post a Comment