Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I tried to install this on umbraco but its not creating the dll file automatically.
I put server name on output machinename inside the config file, everything else is default like this
<?xml version="1.0"?><autoExport2DotNet mode="abs" datacontextname="MyUmbraco" namespace="MyUmbraco"> <output machinename="APP2" outputdir="~/../Lib" format="dll" /></autoExport2DotNet>
Im a newbie, sorry if this question too simple. Thanks.
Does exporting work if you do it manually? (right clicking on a doc type and exporting)
I tried export the doctype, the code showed on the browser. But I didn't see it create a file anywhere in the Umbraco folders. Should I just save it as .cs filename? Thanks
ok it create .txt and .cs files in media/exported-doctypes/ folder, but I didn't see any dll file.
Exporting by hand doesn't create DLL's as that is something built into my AutoExport2Net package, but if the exporting is working, then it shouldn't be a problem that.
Is APP2 your computer name as displayed when you right click on your computers "Computer" icon, and select properties? as this is how it works out which machine that rule applies to (it does this to allow different configs for different users if you have multiple developers working on a project).
Failing that, I'd try some alternatives to the outputdir attribute, and also make sure the ASP.NET process has permission to write to that directory.
Give these a go, and let me know how you get on.
It works now, it created a file under inetpub/Lib folder, i thought it will be under root/Lib. But I cannot change the config path, i try to move to root (/) and media/exported-file, but it still create the dll file under inetpub/lib folder.
OK I got it works to the folder I want thanks.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted