Menu

#29 Assembly wont load into .net 4 project

open
nobody
None
5
2010-06-16
2010-06-16
Anonymous
No

Hi Guys,

Im haivng an issue getting the assembly to load into a .net 4 project, i can add the toolbox items with no issues and add the objects to the forms and it creates the reference entry but when i attempt to build its failing to associate with the class

The following lines all show errors because the XPTable class is not defined, this problem is occuring in release 1.2.0.23719

Dim DataSourceColumnBinder1 As XPTable.Models.DataSourceColumnBinder = New XPTable.Models.DataSourceColumnBinder()
Dim DragDropRenderer1 As XPTable.Renderers.DragDropRenderer = New XPTable.Renderers.DragDropRenderer()
Me.Table1 = New XPTable.Models.Table()

Discussion

  • Nobody/Anonymous

    Furthermore the line

    Friend WithEvents Table1 As XPTable.Models.Table

    is also failing because of the same problem and that is the XPTable name space is not visible.

     
  • Bob wei

    Bob wei - 2010-07-06

    It's not a bug. VS2010 creating ".net 4.0 client profile" target application on default, changes project properties - application target to ".net framework 2.0" or ".net framework 4.0".

    Well, checks that, line 2369 in the ColorCellEditor.cs.
    if bug report in here, modifis to
    this.m_lbl_Hue_Symbol.Text = "°";

    that's all.