F
farseer
Hi,
i am using the following to return the path to my executable:
Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName);
the problem is, this is always return //Program Files/<AppFolder>
It doesn't appear to be driven off where the executable is located, but
rather, what settings you use in VS for Project
Properties->Device->Output path Folder.
so when i am testing/debugging, it is returning the wrong directory,
since my executable is located in /bin/release at that time.
any ideas what is going on here or how to solve?
i am using the following to return the path to my executable:
Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName);
the problem is, this is always return //Program Files/<AppFolder>
It doesn't appear to be driven off where the executable is located, but
rather, what settings you use in VS for Project
Properties->Device->Output path Folder.
so when i am testing/debugging, it is returning the wrong directory,
since my executable is located in /bin/release at that time.
any ideas what is going on here or how to solve?