Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
namespace name 'Styles' does not exist
Martyn Ball
Nov 14 2015 9:15 AM
497
Reply
Getting a weird issue here, my project is working fine with NO errors until I create a new Window. I have got a folder in my project named "Views", which I add the Window to.
This is the error:
[quote]
The type or namespace name 'Styles' does not exist in the namespace 'Test_Project' (are you missing an assembly reference?)
[/quote]
The error is being caused by the line I have marked below in my new window (Window1.g.cs)
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using Test_Project.Converters;
using Test_Project.Styles;
using Test_Project.Views;
namespace Test_Project.Views {
/// <summary>
/// Window1
/// </summary>
public partial class Window1 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
private bool _contentLoaded;
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
The process cannot access the file because it is
how to query for all members didn't pay Subscription fees