Copied to clipboard

Flag this post as spam?

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


  • javier 59 posts 79 karma points
    Jun 11, 2010 @ 23:48
    javier
    0

    Imports umbraco.xxxx

    Hi,

     

    Ok, I know this is a really basic question, but I have been 2 day looking for it and can't find it.

    I want to use the umbraco api in a .net user control. When importing the api (eg. Imports umbraco.library)  it shows

     

    Warning: Namespace or type specified in the Imports 'umbraco.library' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.....

    So, from where (how) I fix that?

     

    Thanks.

     

    Javier

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jun 12, 2010 @ 01:01
    Aaron Powell
    0

    Have you got a reference to umbraco.dll in your .NET project?

  • javier 59 posts 79 karma points
    Jun 12, 2010 @ 01:11
    javier
    0

    Hi Salce, that was exactly my question. Thanks!!!

    For the record.

    In Visual Studio, with the project created, go to menu project, add reference, browse, and select the file umbraco.dll (C:\inetpub\wwwroot\bin)

     

Please Sign in or register to post replies

Write your reply to:

Draft