Pre loader

Namespace "Charting" is not available within Subfolder

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

Answered
0
0

Hello all,

I have a problem with the assembly reference. Whenever I use Scichart (XAML) in a subfolder (Microlevel\Controls\SciChart\UserControlScichartFIFO.xaml) I get the following error:
The Type or Namespace “Charting” is not available in the Namespace “Mircolevel.Controls.SciChart”. (Maybe a assembly reference is missing)
If I use Scichart directly under the WPF Project I don’t get this error.
I have added the following Scichart assemblies:
Scichart.Charting
Scichart.Core
Scichart.Data
Scichart.Drawing

In the XAML editor I added the following reference:
xmlns:s=”http://schemas.abtsoftware.co.uk/scichart”

I don’t have any idea what I’am doing wrong, because the reference to other assemblies I have added are available in the subfolders.

Thanks in advanced.

Version
v4.0
Images
  • You must to post comments
Best Answer
0
0

It sounds to me like a namespace conflict between Mircolevel.Controls.SciChart and SciChart.Charting.*

If you simply rename your namespace to Mircolevel.Controls.SciCharts does the problem go away?

If YES then look for areas where the namespaces might be conflicting and resolve.

Best regards,
Andrew

  • You must to post comments
0
0

Hi Andrew,

you got the point. I renamed the subfolder to “Charts” and that solved my problem.

Thanks for you comment!!

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies