Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mikkel Johannsen 32 posts 185 karma points
    Apr 06, 2016 @ 08:49
    Mikkel Johannsen
    0

    Can not use extension DLL's in class files?

    Hello,

    I've been trying to figure this out for a while now, I'm simply unable to actually use the extensions API's in class-files through Visual Studio. I'm trying to add the using-statements, but it's just not working. My Visual Studio won't even recognize it.

    The extensions for some reason work just fine in Views, just not in class-files.

    I hope you can help me!

    Thanks in advance :)

  • Mikkel Johannsen 32 posts 185 karma points
    Apr 06, 2016 @ 09:27
    Mikkel Johannsen
    0

    The extensions I was unable to use in my class files through Visual Studio were installed through Umbraco's Package Installer. After installing them through NuGet Package Manager in Visual Studio, they work completely fine with a "using directive".

Please Sign in or register to post replies

Write your reply to:

Draft