A
Andreas
Hi
When creating a windows application you get a specific file and folder
structure when you compilte your code. I was wondering what sort of control
(perhaps not using VS.NET but other tools and command line) I have to
influence the way the output is made? At the moment I would get something
like this
App
bin
Release (contains .exe file & .dll files)
Images
Resources
Would it be possible to get the output to
App
Images
Resources
.exe and .dll files
?? If so, then how would it be solved with files pathes? Atm you have to use
something like Path.Combine(Environment.CurrentDirectory, "../../Resources")
to step up in the folder hierarchy to get from your exe to your files..
would be much nicer if I could use root relative paths such as
Path.Combine(Environment.CurrentDirectory, "/Resources")
Then a bit more advanced.I think I've seen this in an article before but is
it possible to compile all the dll files into my exe file? So I only have
App
Images
Resources
myapplication.exe
instead of
App
Images
Resources
myapplication.exe
somedll.dll
someotherdll.dll
yetanotherdll.dll
???
Thanks!
When creating a windows application you get a specific file and folder
structure when you compilte your code. I was wondering what sort of control
(perhaps not using VS.NET but other tools and command line) I have to
influence the way the output is made? At the moment I would get something
like this
App
bin
Release (contains .exe file & .dll files)
Images
Resources
Would it be possible to get the output to
App
Images
Resources
.exe and .dll files
?? If so, then how would it be solved with files pathes? Atm you have to use
something like Path.Combine(Environment.CurrentDirectory, "../../Resources")
to step up in the folder hierarchy to get from your exe to your files..
would be much nicer if I could use root relative paths such as
Path.Combine(Environment.CurrentDirectory, "/Resources")
Then a bit more advanced.I think I've seen this in an article before but is
it possible to compile all the dll files into my exe file? So I only have
App
Images
Resources
myapplication.exe
instead of
App
Images
Resources
myapplication.exe
somedll.dll
someotherdll.dll
yetanotherdll.dll
???
Thanks!