Message 1 of 7
Autoloader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to get the autoloader working.
http://download.autodesk.com/media/adn/ADN_DevCast_Episode_6/ADN_DevCast_Episode_6.html
Looks like it's a 'fairly' new addition and dead simple but..
All I need to do is add a single resource folder in the bundle and to the xml file to be able to access the files in the dll.
Does anyone know how to modify the xml file and refer to this folder in the dll?
<?xml version="1.0" encoding="utf-8" ?> <ApplicationPackage SchemaVersion="1.0" > <Components> <ComponentEntry AppName="DOTNETTEST2" ModuleName="./Contents/AutoloaderDotNetSample2.dll" LoadOnCommandInvocation="True" > <Commands GroupName="DevDays2010"> <Command Global="DOTNETTEST2" Local="DOTNETTEST2" /> </Commands> </ComponentEntry> </Components> </ApplicationPackage>
I can't remember where I got the resource files from and I can't find many posts on this.
Here is the DevCast for creating the installer.
http://download.autodesk.com/media/adn/DevCasts/ADN_DevCast_Episode_7.html
Also is there a way to change the path depending on whether or not you are debugging?
In VB6 I used a function
Public Function IsIDE() As Boolean 'Returns boolean value of True if not compiled IsIDE = (App.LogMode = 0) End Function