I am working on a Content Builder based off the WintFormsContentLoading sample from Creator's Club.
My builder is building the .xnb files fine, but I can't get them to go in the right directory.
In the project I specify the directory as follows.
| msBuildProject = new Project(msBuildEngine); |
| |
| msBuildProject.FullFileName = projectPath; |
| |
| msBuildProject.SetProperty("XnaPlatform", "Windows"); |
| msBuildProject.SetProperty("XnaFrameworkVersion", "v3.1"); |
| msBuildProject.SetProperty("Configuration", "Release"); |
| msBuildProject.SetProperty("OutputPath", outputPath); |
Where outputPath = "C:\\temp"
It creates the directory "C:\\temp" just fine but then it tacks on "content" to the end, building the files to the "C:\\temp\content" directory.
At no point do I instruct it to do this and when I write the outputPath to the console after the build it still reads "C:\\temp".
I could change my ContentManager to look for the files here, but I am trying to implement a certain directory structure and would rather not do that.
I've been all over google and the forums and have no idea what could be causing this.
Any help would be greatly appreciated as this is holding up the progress of my class' project.
Thank you.