XNA Creators Club Online
Page 1 of 1 (3 items)
Sort Posts: Previous Next

Xml: problem continues..

Last post 05-12-2008 11:39 AM by c64days. 2 replies.
  • 05-11-2008 5:04 PM

    Xml: problem continues..

    Since i don't need Content Pipeline for loading my "Level" class, and since i couldn't find a way to direct the <Assert type> in the xml to my Level class if it's in the same project as the Content (in my case the main game), I used a project library in wich i put the Level class in it.

    this way the <Assert type="MyLibrary.Level"> and i don't get an error that say it can't "find" the class. but strangly i get this error:

    "Error    14    Unsupported type. Cannot find a ContentTypeWriter implementation for LevelLib.Level. "

    how come it looks for ContentTypeWriter in a Library project? how do i bypass it? the only reason the Library project is there is to have a way to have the Xml <Assert type> to reconize it.

    Need help please.
  • 05-11-2008 8:13 PM In reply to

    Re: Xml: problem continues..

    Please help.
  • 05-12-2008 11:39 AM In reply to

    Re: Xml: problem continues..

    Answer
    Solved the problem.

    The problem is probebly was related to the fact that i Created ContentReader and ContentWriter without actually write the code in it , and the Class was set to String and in this case it conflict with the default ContentPipline for that class (i think)
Page 1 of 1 (3 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG