Oct 13, 2016, 3:51 AM
An 'a not known element' error occured when I use 'CartesianChart'
I’m using visual studio 2015 in Chinese , so maybe I translate some hints wrong.
1.I add 'CartesianChart' to a website project(.net 3.5) created by my colleague , it showed 'CartesianChart' is not known element.I change the environment to .net 4.0 and use ext .net 4.1, but the same error.
2.I created a new website project, set the environment to .net 4.0 and ext .net 4.1 and test 'CartesianChart', it worked perfectly.
3.So I think the error caused by some configuration. Then I copy the code in packages.configã€Web.config from the new project to the old, the same error.
4.I also try to copy the files from the old project to the new, some error occurred:
â‘*CS1061:'Ext.Net.ColumnBase' does not include the define of 'Header', and can't find any method 'Header' which takes 'Ext.Net.ColumnBase' type as the first parameter(is not lack of using or reference of assembly?)
â‘¡'ComboBox' does not include the define of 'SelectedIndex', and can't find any method 'SelectedIndex' which takes 'ComboBox' type as the first parameter(is not lack of using or reference of assembly?)
â‘¢And there is a another problem, theme = 'Triton' worked perfectly in the new project, but is showed theme hasn't this element in the old project(same .net 4.0, same ext .net 4.1, same web.config and package.config). I just can't figure it out!!!
I couldn't find any discussion about this problem on google, so help me please!
1.I add 'CartesianChart' to a website project(.net 3.5) created by my colleague , it showed 'CartesianChart' is not known element.I change the environment to .net 4.0 and use ext .net 4.1, but the same error.
2.I created a new website project, set the environment to .net 4.0 and ext .net 4.1 and test 'CartesianChart', it worked perfectly.
3.So I think the error caused by some configuration. Then I copy the code in packages.configã€Web.config from the new project to the old, the same error.
4.I also try to copy the files from the old project to the new, some error occurred:
â‘*CS1061:'Ext.Net.ColumnBase' does not include the define of 'Header', and can't find any method 'Header' which takes 'Ext.Net.ColumnBase' type as the first parameter(is not lack of using or reference of assembly?)
â‘¡'ComboBox' does not include the define of 'SelectedIndex', and can't find any method 'SelectedIndex' which takes 'ComboBox' type as the first parameter(is not lack of using or reference of assembly?)
â‘¢And there is a another problem, theme = 'Triton' worked perfectly in the new project, but is showed theme hasn't this element in the old project(same .net 4.0, same ext .net 4.1, same web.config and package.config). I just can't figure it out!!!
I couldn't find any discussion about this problem on google, so help me please!
Last edited by eko; Oct 13, 2016 at 6:27 AM.