views:

13

answers:

0

Hi, so I have a WPF web application which runs fine when run from Visual Studio. However, when I publish it and load appName.xbap (in a directory like C:\myApp) that in turn loads files located in \Documents and Settings\ ... \myApp. So what is happening is all the actual .deploy files I need are shoved in a place I don't want them.

The reason I can't have them in Documents and Settings is because 1) I need to distribute this application and 2) I have a data folder which needs to be located in the same directory as the running WPF application, which should be C:\myApp\ and not \Documents and Settings\ ... \myApp.

I hope this makes sense. In visual studio project options I have the publish location as C:\myApp\, it sticks the .xbap in there fine but a lot of other stuff I need is put elsewhere. The .manifest doesn't seem to have anything I can usefully edit (so I can move the other files) and the .deploy files aren't in text.

I am using Visual Studio 2010.