On page 275 of your book, you said a path element in the files section of the .DNN manifest "could specify a path value of ./, which refers to the parent directory". However, I cannot get this to work, and after studying the DNN source code, I do not believe it is possible to put a file anywhere outside of the DesktopModules directory, unless one uses the special [app_code] token, which of course will put it in the App_Code directory.
I hope you can prove me wrong. :-)
The main problem is that DNN builds up a destination path that looks something like this:
D:\dev\DNN\DesktopModules\GSP\././App_GlobalResources\GSP.resx
This does not place the file where I want it, which is:
D:\dev\DNN\App_GlobalResources\GSP.resx
I tried using ..\, which *does* work when saving:
D:\dev\DNN\DesktopModules\GSP\..\..\App_GlobalReso urces\GSP.resx
However, DNN never gets to the code that saves it because the temp directory that the source file is copied to from the ZIP package is identified as an invalid path:
D:\dev\DNN\Install\Temp\gv1nws1m\..\..\App_GlobalR esources\GSP.resx
Since no source file is found at the above path, the installation fails.
My goal is to place a .resx file in the App_GlobalResources directory. (I am using a
custom build provider.) Is this possible?
Thanks,
Roger Martin