I'm trying to get the current location of the Desktop so that I can automate a few things in my game. The current problem though is that following line doesn't work after I publish but it works in visual studios 2010.
Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
I was wondering if there is a way around this.