Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

WPF Designer - missing assemblies.

$
0
0

This problem occurs whan I create from a template and try to use the desing window( I am using SharpDevelop v5.0.4): how to reference to System.xaml (or indeed any other assemblies), please?

"The type 'System.Windows.Markup.IQueryAmbient' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. (CS0012) - C:\Users\David Hyde\Documents\SharpDevelop Projects\Practice Administrator\Practice Administrator\obj\Debug\Page1.g.cs:39,22

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.RegisterAssembly(Assembly assembly)
   at ICSharpCode.WpfDesign.Designer.Xaml.XamlDesignContext..ctor(XmlReader xamlReader, XamlLoadSettings loadSettings)
   at ICSharpCode.WpfDesign.Designer.DesignSurface.LoadDesigner(XmlReader xamlReader, XamlLoadSettings loadSettings)
   at ICSharpCode.WpfDesign.AddIn.WpfViewContent.LoadInternal(OpenedFile file, Stream stream))"

Thanks,

David Hyde


Viewing all articles
Browse latest Browse all 1764

Trending Articles