Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8648599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:21:02+00:00 2026-06-12T13:21:02+00:00

I am having problems with Namespaces, I seem to be chasing the error around

  • 0

I am having problems with Namespaces, I seem to be chasing the error around and now I am down to one left that I don’t understand. All my files have the same namespace, I don’t really think I need more then one for a small program.

Example.xaml
<UserControl x:Class="Example"
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
         xmlns:chart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Chart"
         xmlns:chartView="clr-namespace:Telerik.Windows.Controls.ChartView;assembly=Telerik.Windows.Controls.Chart"
         xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls"
         xmlns:local="clr-namespace:Example.ExampleViewModel"
         xmlns:System="clr-namespace:System;assembly=mscorlib">
<telerikQuickStart:QuickStart.ExampleHeader>
    <TextBlock Text="Atlanta Sales Dashboard" Margin="8" />
</telerikQuickStart:QuickStart.ExampleHeader>
<UserControl.DataContext>
    <local:ExampleViewModel />
</UserControl.DataContext> /


ExampleViewModel.cs

using System;
using System.Collections.ObjectModel;
using System.Linq;
using Telerik.Windows.Controls;
using Telerik.Windows.Controls.Map;
using System.Collections.Generic;
using System.Globalization;
using System.Windows;
using System.Windows.Resources;
using System.Xml;



namespace Example.ExampleViewModel
{
public class ExampleViewModel : ViewModelBase

The ExampleViewModel is still giving me the following errors.

 Error  1   The name "ExampleViewModel" does not exist in the namespace "clr-namespace:Example.ExampleViewModel".   D:\visual studio 12\Projects\Map1\Map1\Example.xaml 14  9   Map1
    Error   2   The namespace '<global namespace>' already contains a definition for 'Example'  D:\visual studio 12\Projects\Map1\Map1\obj\x86\Debug\Example.g.cs   62  22  Map1
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:21:04+00:00Added an answer on June 12, 2026 at 1:21 pm

    After searching this out I finally cleaned that error out with the help from the following: http://windowsclient.net/learn/video.aspx?v=31429

    But this moved me to another error that i am going to contact Telerik on. It seems they are using a control which is in another namespace.

    Thanks

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im having problems starting a codeigniter project, the problem is that when i do
I seem to be having problems doing some basic parsing of an XML document
I'm just starting using the Log4Net library and having problems configuring it. I don't
I come from a Rails background and I'm having problems wrapping my head around
My question is similar to this one but I'm having some problems with the
Having problems with a small awk script, Im trying to choose the newest of
Having problems iterating. Problem has to do with const correctness, I think. I assume
Having problems with the combining of two statements in a controller. Both statements work
Im having problems with displaying ONLY some elements ONLY on print page. For example
Im having problems with a method in a class file: public static function getPageLeft($pid)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.