Package action addRestExtensions does not work... or ?
I'm trying to build a package where I need to add some /base stuff to restExtensions.config.
Unfortunately I cannot get the addRestExtension package action to work - it simply does not change the file.
After some investigations I found this error in the log:
Error loading package action 'addRestExtension' for package BPGridView: System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\config\restExtensions.config'...
I checked out the StandardPackageActions.cs source, and it seems that the file is loaded using
xdoc.Load("/config/restExtensions.config");
where as the other extensions are handled using xmlHelper:
Package action addRestExtensions does not work... or ?
I'm trying to build a package where I need to add some /base stuff to restExtensions.config.
Unfortunately I cannot get the addRestExtension package action to work - it simply does not change the file.
After some investigations I found this error in the log:
I checked out the StandardPackageActions.cs source, and it seems that the file is loaded using
where as the other extensions are handled using xmlHelper:
Is it actually a bug in the package action source, or am I simply doing something wrong?
>Tommy
Filed an issue on codeplex about it.
Note to self: remember to use latest patch (seems to be fixed in 4.0.3 - I was using 4.0.2.1)
Now updated to 4.0.3 but the issue is still there (same log error). Bummer. Wonder if I found the right 4.0.3 sources...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.