WPF错误 [英] WPF bug

查看:99
本文介绍了WPF错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好, 


提前,对不起我的英语


我是WPF的初学者。


我正在研究一个wpf应用程序,我遇到了一个问题。我有错误消息"名称myclass在名称空间YYYYY中不存在"。


我在网上搜索了一个解决方案,但没有解决我的问题。 


我正在使用MVVM灯。


这里是我在App.xaml中放置的各种语句的片段。


< pre class ="prettyprint">< Application x:Class =" MK58_PL.App"
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x =" http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d =" http://schemas.microsoft.com/expression/blend/2008"
xmlns:local =" clr-namespace:MK58_PL"
xmlns:mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm =" clr-namespace:MK58_PL.ViewModel"
StartupUri =" MainWindow.xaml"
mc:Ignorable =" d">
< Application.Resources>
< vm:ViewModelLocator x:Key =" Locator" />
< local:Navigator x:Key =" Navigator" />
< /Application.Resources>
< / Application>

"导航器"类在我的项目的根目录中。命名空间是MK58_PL。


我尝试重新生成所有解决方案,但错误消息仍然存在。我也尝试这样引用: 

 xmlns:local =" clr-namespace:MK58_PL;  assembly  = MK58_PL" 

我指定使用visual studio 2012,我的项目工作正常,但我可以看到视觉设计师。我只看到xaml代码


感谢您的帮助! 

解决方案

此论坛不适用于错误。 


报告需要联系Microsoft connect的错误。


http://connect.microsoft.com/


如果当然可以你做错了什么。但是告诉而不是直接告诉微软程序员是一个错误。 



Hello, 

In advance, sorry for my english

I'm a beginner with WPF.

I'm working on a wpf application and I'm encountering a problem. I have the error message "The name myclass doesn't exists into the namespace YYYYY".

I searched on the web about a solution, but none solved my problem. 

I'm working with MVVM light.

Here a snippet of my various statements placed in App.xaml.

<Application x:Class="MK58_PL.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:MK58_PL"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:vm="clr-namespace:MK58_PL.ViewModel"
             StartupUri="MainWindow.xaml"
             mc:Ignorable="d">
    <Application.Resources>
        <vm:ViewModelLocator x:Key="Locator" />
        <local:Navigator x:Key="Navigator" />
    </Application.Resources>
</Application>

The "Navigator" Class is in the root of my project. The namespace is MK58_PL.

I try to regenerate all solution but the error message is still present. I also try to reference like this : 

xmlns:local="clr-namespace:MK58_PL;assembly=MK58_PL"

I specify that I use visual studio 2012 and my project works fine but I can see the visual designer. I just see the xaml code

Thank you for your help ! 

解决方案

This forum is not for bugs. 

To report bugs you need to contact Microsoft connect.

http://connect.microsoft.com/

If can of course be that you did something wrong. But telling than direct it is a bug is offending Microsoft programmers. 


这篇关于WPF错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆