Results 1 to 2 of 2

Thread: Schema Problem

  1. #1
    Join Date
    Sep 2006
    Location
    Wrocław/Poland
    Posts
    172

    Default Schema Problem

    Hi,

    I have a fundamental problem with the schema provided in file spring-wpf.xsd.

    The compiler reports an error as shown on the picture attached ("Imported schema ... was not resolved"). For me it seems that the microsoft schamas are not imported or sbth like that.

    Could anyone fix me? The problem now stops me from continuing working with WPF/Spring. The sources I've found in the CVS (sandbox) and that might be out of date somehow. Also, I am working with VS C# Studio Express 2008, but I don't see a reason why putting the schema to the "%VsInstallDir%\xml\Schemas" location would differ from a full VS version.
    Attached Images Attached Images

  2. #2
    Join Date
    Sep 2006
    Location
    Wrocław/Poland
    Posts
    172

    Default

    [For those who might experience similar problems and could find this information useful]

    It is enough to specify attributes:

    Code:
    [assembly: System.Windows.Markup.XmlnsDefinition("http://www.springframework.net/wpf", "Spring.Context")]
    [assembly: System.Windows.Markup.XmlnsDefinition("http://www.springframework.net/wpf", "Spring.Expressions")]
    Copying of schema into the VS folder does not take effect and instead of this the attributes can be applied to the integration assembly. Everything works perfectly

    What I see, the original Spring.Wpf.2005.Orcas project does that. Well, I didn't mention that I've taken the source code only and have built the assembly project from scratch - that was the reason of my problems...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •