值转换器在Intellisense中显示,但可以';编译器在C#WinRT应用程序中找不到?

值转换器在Intellisense中显示,但可以';编译器在C#WinRT应用程序中找不到?,c#,xaml,windows-runtime,ivalueconverter,C#,Xaml,Windows Runtime,Ivalueconverter,我在WinRT应用程序使用的共享项目中有一个值转换器。也就是说,转换器位于使用它的项目/程序集中之外的另一个项目/程序集中。我已将另一个项目的命名空间添加到XAML中,IDE不会将其标记为未解析: <UserControl xmlns:CommonConverters="using:Common_WinStore.Converters"> 真正令人恼火的是,当我键入CommonConverters时:Intellisense会在列表中弹出DebugBindingConverter,

我在WinRT应用程序使用的共享项目中有一个值转换器。也就是说,转换器位于使用它的项目/程序集中之外的另一个项目/程序集中。我已将另一个项目的命名空间添加到XAML中,IDE不会将其标记为未解析:

<UserControl xmlns:CommonConverters="using:Common_WinStore.Converters">
真正令人恼火的是,当我键入CommonConverters时:Intellisense会在列表中弹出DebugBindingConverter,我使用它自动完成资源引用


为什么Intellisense可以找到它而不能找到IDE编辑器或编译器?

我之前遇到过这个问题。有时,当您在项目(解决方案)中添加新文件但不保存项目(解决方案)时,intellisense会对其进行解析,但编译器不会编译,因为它尚未包含在项目文件中。所以保存所有文件应该会有帮助。有时,在重新启动VisualStudio并重建项目/解决方案后,问题会出现

每当我使用转换器时,尤其是在WinRT C应用程序中,我都会遇到这个问题。当你运行应用程序时,它能工作吗??
<UserControl.Resources>
    <CommonConverters:DebugBindingConverter x:Key="DebugBindingConverter"/>
</UserControl.Resources>
The name DebugBindingConverter does not exist in the namespace "using:Common_WinStore.Converters"