In my simplistic test extension, I do not have a compiler, decompiler, or
even source code for that matter.

I will now include my extension in it's entirety:
--------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;

using Microsoft.Tools.WindowsInstallerXml;

namespace SampleWixExtension
{
    public class SampleWixExtension : WixExtension
    {
    }
}
--------------------------------------------------

Additionally, in the AssemblyInfo.cs file, I added the following to the
bottom:
--------------------------------------------------
[assembly:
AssemblyDefaultWixExtension(typeof(SampleWixExtension.SampleWixExtension))]
--------------------------------------------------

That's it.    that's the whole thing.  Seriously.   At this point, I just
want it to load.   This is a standalone extension.  This should be what you
get from following the directions in the blog entry I linked in the OP.

Chris

On Fri, Jul 11, 2008 at 1:14 PM, Brian Rogers <[EMAIL PROTECTED]>
wrote:

> Do you have a compiler class specified? It is going to be a bit difficult
> to
> troubleshoot this without some additional information. Have you also
> specified an XSD? Are you adding the project to the CVS checkout or are you
> building as a stand-alone?
> --
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://www.codeplex.com/wixml/
>
> On Fri, Jul 11, 2008 at 10:09 AM, Christopher Karper <
> [EMAIL PROTECTED]> wrote:
>
> > OK, I'm trying to build a Wix extension to handle some tasks for me.
> > First
> > I tried basing mine off of the code in SqlExtension from the Wix source,
> > but
> > that did not work at all.
> >
> > Then I tried the dumbest simple sample:
> >
> >
> http://blogs.msdn.com/pmarcu/archive/2007/11/02/wix-writing-your-own-wix-extension-part-1.aspx
> >
> > As detailed in that blog post.  An extension that does nothing but load.
> > And that doesn't work.
> > Something is wrong somewhere, and I'm beginning to think it's not me.
> Can
> > someone clue me in to what I'm missing, or which piece is broken?
> >
> >
> > I can build the extension with no issues, but:
> >
> >
> > D:\src\SampleWixExtension\SampleWixExtension\bin\Debug>candle Test.wxs
> -ext
> > SampleWixExtension.dll
> > Microsoft (R) Windows Installer Xml Compiler version 3.0.4207.0
> > Copyright (C) Microsoft Corporation. All rights reserved.
> >
> > candle.exe : error CNDL0144 : The extension 'SampleWixExtension.dll'
> could
> > not be loaded.
> >
> >
> > Every time, I get this error, no matter what changes I make...
> >
> >
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to