tportz

I created a Media subdirectory in my project for links to content as suggested by many of the content pipeline articles in the documentation. The items in the Media subdirectory linked to files in a MediaFiles folder. The MediaFiles folder was in the same project folder as the Media folder, but I did not add to the project in Visual Studio.

When I built the application, the links in the Media subdirectory were removed and replaced by the actual files in the MediaFiles folder, which was subsequently added to the project. This made my calls to content.Load fail, as they were looking for content in the Media subdirectory. I could of course move the MediaFiles folder somewhere else and it should work, but I still believe this is a bug in the content pipeline



Re: XNA Framework Content Pipeline Bug?

Jim Perry

I'm just wondering what article in the documentation told you to do it this way




Re: XNA Framework Content Pipeline Bug?

tportz

"How to: Render a Model" and "How to: Draw a Texture." Both are in the content pipeline section of the programming guide.





Re: XNA Framework Content Pipeline Bug?

Jim Perry

Hmm, this works fine for me. The links are not replaced by the actual files in the project. The .xnb file is placed in the "media" folder, just as it should be.