Lucky me!  I just figured out my problem:

In my failing DLL, I put the code inside the following:

namespace Panopto.Data
{
    public static class InstallerCA
    {
        [CustomAction]
        public static ActionResult CheckPID(Session session)
        {
            return ActionResult.Success;
        }

    }
}

It appears that some combination of makesfxca + multi-segment
namespaces are broken.  Bug filed: 3007679.

-john



On Wed, May 26, 2010 at 4:51 PM, John Ketchpaw <jketch...@panopto.com> wrote:
> So I've got a strange nut I can't seem to crack.
>
> If I create a clean DLL with the following, I have no problems:
>
> namespace GarbageLib
> {
>    public class InstallerCA
>    {
>        [CustomAction]
>        public static ActionResult CheckPID(Session session)
>        {
>            return ActionResult.Success;
>        }
>    }
> }
>
> That's fine and dandy, but when I put the exact same code into a DLL
> of ours, I get error 2896.  I've gone so far as to add all the same
> references to both projects, to no avail (I can't figure out how to
> break GarbageLib like our existing DLL).
>
> I'm going to keep plinking away until the diff between the two dlls is
> nothing, but is there a better way to do this than brute force?
>
> -john
>

------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to