This project has moved and is read-only. For the latest updates, please go here.

assembly reference not sticking

Jul 16, 2013 at 3:53 PM
I'm digging the embedded assemblies. I'm having a compilation problem though now in an ASP.NET web site project. Do you think I need to convert to a web project? When I reference the assembly (x64), the reference doesn't "stick" and I end up with a build error:
The type or namespace name 'ImageMagick' could not be found (are you missing a using directive or an assembly reference?)
However it runs just fine. It's just a compilation time issue that I need to get past for my builds to succeed. Any help would be appreciated. Thanks.
Jul 16, 2013 at 7:07 PM
You probably have to add the assembly to the web.config You should edit your web.config and add the folllowing:
<system.web>
    <compilation>
        <assemblies>
            <add assembly="Magick.NET-x64"/>
        </assemblies>
    </compilation>
</system.web>